mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-09-17 10:14:10 +02:00
An line chart is better
This commit is contained in:
parent
565316da82
commit
78ef920279
@ -56,10 +56,10 @@ public class LobbyBalancer extends Plugin {
|
|||||||
if (ConfigEntries.SUBMIT_STATS.get()) {
|
if (ConfigEntries.SUBMIT_STATS.get()) {
|
||||||
//Metrics (https://bstats.org/)
|
//Metrics (https://bstats.org/)
|
||||||
Metrics metrics = new Metrics(this);
|
Metrics metrics = new Metrics(this);
|
||||||
metrics.addCustomChart(new Metrics.SimplePie("configured_sections") {
|
metrics.addCustomChart(new Metrics.SingleLineChart("configured_sections") {
|
||||||
@Override
|
@Override
|
||||||
public String getValue() {
|
public int getValue() {
|
||||||
return String.valueOf(sectionManager.getSections().size());
|
return sectionManager.getSections().size();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user