Klasse Metrics
java.lang.Object
xyz.haoshoku.nick.metrics.Metrics
bStats collects some data for plugin authors.
Check out https://bStats.org/ to learn more about bStats!
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
Represents a custom advanced bar chart.static class
Represents a custom advanced pie.static class
Represents a custom chart.static class
Represents a custom drilldown pie.static class
Represents a custom multi line chart.static class
Represents a custom simple bar chart.static class
Represents a custom simple pie.static class
Represents a custom single line chart. -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Adds a custom chart.com.google.gson.JsonObject
Gets the plugin specific data.boolean
Checks if bStats is enabled.
-
Felddetails
-
B_STATS_VERSION
public static final int B_STATS_VERSION- Siehe auch:
-
-
Konstruktordetails
-
Metrics
public Metrics(org.bukkit.plugin.Plugin plugin, int pluginId) Class constructor.- Parameter:
plugin
- The plugin which stats should be submitted.pluginId
- The id of the plugin. It can be found at What is my plugin id?
-
-
Methodendetails
-
isEnabled
public boolean isEnabled()Checks if bStats is enabled.- Gibt zurück:
- Whether bStats is enabled or not.
-
addCustomChart
Adds a custom chart.- Parameter:
chart
- The chart to add.
-
getPluginData
public com.google.gson.JsonObject getPluginData()Gets the plugin specific data. This method is called using Reflection.- Gibt zurück:
- The plugin specific data.
-