log.info(getDescription().getName() + " (v" + getDescription().getVersion() + ") enabled");
// Enable MCStats Metrics
try {
Metrics metrics = new Metrics(this);
// Setup a graph for keeping track of Permission handler user
Metrics.Graph phGraph = metrics.createGraph("Permission Handler");
phGraph.addPlotter(new Metrics.Plotter(permHandler) {
@Override
public int getValue() {
return 1;
}
});
metrics.start();
} catch (IOException ex) {
// Something went wrong. Owell.
}
}