public class Metrics extends Object
Check out https://bStats.org/ to learn more about bStats!
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
static int |
B_STATS_VERSION |
Constructor and Description |
---|
Metrics(org.bukkit.plugin.java.JavaPlugin plugin)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addCustomChart(Metrics.CustomChart chart)
Adds a custom chart.
|
org.json.simple.JSONObject |
getPluginData()
Gets the plugin specific data.
|
public static final int B_STATS_VERSION
public Metrics(org.bukkit.plugin.java.JavaPlugin plugin)
plugin
- The plugin which stats should be submitted.public void addCustomChart(Metrics.CustomChart chart)
chart
- The chart to add.public org.json.simple.JSONObject getPluginData()
Copyright © 2017. All rights reserved.