public class Metrics extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Metrics.AdvancedBarChart |
static class |
Metrics.AdvancedPie |
static class |
Metrics.CustomChart |
static class |
Metrics.DrilldownPie |
static class |
Metrics.JsonObjectBuilder
An extremely simple JSON builder.
|
static class |
Metrics.MetricsBase |
static class |
Metrics.MultiLineChart |
static class |
Metrics.SimpleBarChart |
static class |
Metrics.SimplePie |
static class |
Metrics.SingleLineChart |
Constructor and Description |
---|
Metrics(org.bukkit.plugin.java.JavaPlugin plugin,
int serviceId)
Creates a new Metrics instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addCustomChart(Metrics.CustomChart chart)
Adds a custom chart.
|
void |
shutdown()
Shuts down the underlying scheduler service.
|
public Metrics(org.bukkit.plugin.java.JavaPlugin plugin, int serviceId)
plugin
- Your plugin instance.serviceId
- The id of the service. It can be found at What is my plugin id?public void shutdown()
public void addCustomChart(Metrics.CustomChart chart)
chart
- The chart to add.Copyright © 2015–2024 tr7zw. All rights reserved.