Package org.strassburger.lifestealz.util
Class Metrics
java.lang.Object
org.strassburger.lifestealz.util.Metrics
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
An extremely simple JSON builder.static class
static class
static class
static class
static class
-
Constructor Summary
ConstructorDescriptionMetrics
(org.bukkit.plugin.java.JavaPlugin plugin, int serviceId) Creates a new Metrics instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a custom chart.void
shutdown()
Shuts down the underlying scheduler service.
-
Constructor Details
-
Metrics
public Metrics(org.bukkit.plugin.java.JavaPlugin 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.
-