Class bStats
java.lang.Object
io.github.lucfr1746.llibrary.metrics.bStats
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classAn extremely simple JSON builder.static classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionbStats(org.bukkit.plugin.Plugin plugin, int serviceId) Creates a new Metrics instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomChart(bStats.CustomChart chart) Adds a custom chart.voidshutdown()Shuts down the underlying scheduler service.
-
Constructor Details
-
bStats
public bStats(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
Adds a custom chart.- Parameters:
chart- The chart to add.
-