Class Metrics.Factory
java.lang.Object
net.ME1312.SubServers.Velocity.Library.Metrics.Factory
- Enclosing class:
- Metrics
A factory to create new Metrics classes.
-
Method Summary
-
Method Details
-
make
Creates a new Metrics class.- Parameters:
plugin
- The plugin instance.serviceId
- The id of the service. It can be found at What is my plugin id?Not to be confused with Velocity's
PluginDescription.getId()
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.
-