Package org.bstats.sponge
Class Metrics.Factory
java.lang.Object
org.bstats.sponge.Metrics.Factory
- Enclosing class:
Metrics
A factory to create new Metrics classes.
-
Method Summary
-
Method Details
-
make
Creates a new Metrics class.- Parameters:
serviceId- The id of the service. It can be found at What is my plugin id?Not to be confused with Sponge's
PluginMetadata.id()method!- Returns:
- A Metrics instance that can be used to register custom charts.
The return value can be ignored, when you do not want to register custom charts.
-