Package org.bstats.bukkit
Class Metrics
java.lang.Object
org.bstats.bukkit.Metrics
-
Constructor Summary
ConstructorsConstructorDescriptionMetrics(org.bukkit.plugin.Plugin plugin, int serviceId) Creates a new Metrics instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomChart(org.bstats.charts.CustomChart chart) Adds a custom chart.voidshutdown()Shuts down the underlying scheduler service.
-
Constructor Details
-
Metrics
public Metrics(org.bukkit.plugin.Plugin plugin, int serviceId) Creates a new Metrics instance.- Parameters:
plugin- Your plugin instance.serviceId- The id of the service. It can be found at What is my plugin id?
-
-
Method Details
-
shutdown
public void shutdown()Shuts down the underlying scheduler service. -
addCustomChart
public void addCustomChart(org.bstats.charts.CustomChart chart) Adds a custom chart.- Parameters:
chart- The chart to add.
-