Package us.ajg0702.leaderboards.utils
Class Metrics
java.lang.Object
us.ajg0702.leaderboards.utils.Metrics
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classAn extremely simple JSON builder.static classstatic classstatic classstatic classstatic class
- 
Constructor SummaryConstructorsConstructorDescriptionMetrics(LeaderboardPlugin plugin, int serviceId) Creates a new Metrics instance.
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a custom chart.voidshutdown()Shuts down the underlying scheduler service.
- 
Constructor Details- 
MetricsCreates 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- 
shutdownpublic void shutdown()Shuts down the underlying scheduler service.
- 
addCustomChartAdds a custom chart.- Parameters:
- chart- The chart to add.
 
 
-