public Metrics2 make(int pluginId)
pluginId - The id of the plugin.
It can be found at What is my plugin id?
Not to be confused with Sponge's PluginContainer.getId() method!
The return value can be ignored, when you do not want to register custom charts.
Copyright © 2017–2020. All rights reserved.