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(Metrics.Plotter plotter); void start();
233234235236237238239240241242243
} // don't start metrics if the user has disabled it if (getConf().getBoolean("pluginMetrics")){ try { metrics = new Metrics(plugin); Graph featureGraph = metrics.createGraph("Feature Statistics"); if (loadedClasses.contains("Init_Home")){ featureGraph.addPlotter(new Metrics.Plotter("Homes Set") { @Override