public class Metrics extends Object
Check out https://bStats.org/ to learn more about bStats!
限定符和类型 | 类和说明 |
---|---|
static class |
Metrics.AdvancedBarChart
Represents a custom advanced bar chart.
|
static class |
Metrics.AdvancedPie
Represents a custom advanced pie.
|
static class |
Metrics.CustomChart
Represents a custom chart.
|
static class |
Metrics.DrilldownPie
Represents a custom drilldown pie.
|
static class |
Metrics.MultiLineChart
Represents a custom multi line chart.
|
static class |
Metrics.SimpleBarChart
Represents a custom simple bar chart.
|
static class |
Metrics.SimplePie
Represents a custom simple pie.
|
static class |
Metrics.SingleLineChart
Represents a custom single line chart.
|
限定符和类型 | 字段和说明 |
---|---|
static int |
B_STATS_VERSION
The version of this bStats class
|
构造器和说明 |
---|
Metrics(JavaPlugin plugin)
Class constructor.
|
public static final int B_STATS_VERSION
public Metrics(JavaPlugin plugin)
plugin
- The plugin which attribute should be submitted.public void addCustomChart(Metrics.CustomChart chart)
chart
- The chart to add.public org.json.simple.JSONObject getPluginData()