PDEK/Bstats Kit
The right of the class of this kit is all of bstats.org (https://bstats.org) The class used is: Metric.jar
What is and how to use the BStats kit
Basically, bstats is a method to see the number of player and server use your plugin, very useful to see data about the use of your plugin
With this kit, you can use all the things in bstats.org examples and tutorials (like pies)
all you need is create the "Metrics metrecs = new Metrics(Plugin instance, BStats ID);" in your main plugin class, in your onEnable function, the plugin instance is the core class, the class that extends the JavaPlugin, so the "Plugin instance" is "this", and BStats ID is the stats of your plugin in bstats.org, in the end your main class is like this, obviously not use the "metrics2"
To get the serviceID or BStats ID, you need make a account in bstats.org and add a new plugin in this site
After this you have your Plugin Bstats ID
More about the BStats and the PIES and other graphs in this link: https://bstats.org/help/custom-charts
Comments