The metrics class obtains data about a plugin and submits statistics about it to the metrics backend.
Public methods provided by this class:
Graph createGraph(String name); void addCustomData(BukkitMetrics.Plotter plotter); void start();
259260261262263264265266267268269
AbilityManager.loadCustomAbilities(dir); } private void startMetrics() { try { Metrics m = new Metrics(this); m.start(); } catch (Exception e) { Messenger.warning("y u disable stats :("); } }