mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-08 19:51:05 +00:00
Add metrics chart for creative mode setting
This commit is contained in:
parent
2e31bbc2b5
commit
9df50e8d87
@ -307,6 +307,7 @@ public class ShopChest extends JavaPlugin {
|
|||||||
debug("Initializing Metrics...");
|
debug("Initializing Metrics...");
|
||||||
|
|
||||||
Metrics metrics = new Metrics(this);
|
Metrics metrics = new Metrics(this);
|
||||||
|
metrics.addCustomChart(new Metrics.SimplePie("creative_setting", () -> Config.creativeSelectItem ? "Enabled" : "Disabled"));
|
||||||
metrics.addCustomChart(new Metrics.SimplePie("database_type", () -> Config.databaseType.toString()));
|
metrics.addCustomChart(new Metrics.SimplePie("database_type", () -> Config.databaseType.toString()));
|
||||||
metrics.addCustomChart(new Metrics.AdvancedPie("shop_type", () -> {
|
metrics.addCustomChart(new Metrics.AdvancedPie("shop_type", () -> {
|
||||||
int normal = 0;
|
int normal = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user