mirror of
https://github.com/CarmJos/UltraDepository.git
synced 2026-06-04 16:48:21 +08:00
添加使用统计显示
This commit is contained in:
@@ -99,7 +99,7 @@ public class Main extends JavaPlugin {
|
|||||||
|
|
||||||
if (PluginConfig.METRICS.get()) {
|
if (PluginConfig.METRICS.get()) {
|
||||||
log("启用统计数据...");
|
log("启用统计数据...");
|
||||||
metrics = new Metrics(this, 13776);
|
metrics = new Metrics(this, 13777);
|
||||||
metrics.addCustomChart(new SingleLineChart(
|
metrics.addCustomChart(new SingleLineChart(
|
||||||
"active_depositories",
|
"active_depositories",
|
||||||
() -> getDepositoryManager().getDepositories().size())
|
() -> getDepositoryManager().getDepositories().size())
|
||||||
|
|||||||
Reference in New Issue
Block a user