Package org.bstats.sponge
Class Metrics
java.lang.Object
org.bstats.sponge.Metrics
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA factory to create new Metrics classes. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomChart(org.bstats.charts.CustomChart chart) Adds a custom chart.voidshutdown()Shuts down the underlying scheduler service.voidstartup(org.spongepowered.api.event.lifecycle.ConstructPluginEvent event)
-
Method Details
-
startup
public void startup(org.spongepowered.api.event.lifecycle.ConstructPluginEvent event) -
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.
-