mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2024-12-30 09:04:35 +08:00
新增数据库类型bstats统计(匿名)
This commit is contained in:
parent
4498267c50
commit
a119cf747f
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>Dominion</artifactId>
|
||||
<version>1.35.0-beta</version>
|
||||
<version>1.35.1-beta</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Dominion</name>
|
||||
|
@ -49,6 +49,8 @@ public final class Dominion extends JavaPlugin {
|
||||
Objects.requireNonNull(Bukkit.getPluginCommand("dominion")).setExecutor(new Commands());
|
||||
|
||||
bStatsMetrics metrics = new bStatsMetrics(this, 21445);
|
||||
metrics.addCustomChart(new bStatsMetrics.SimplePie("database", () -> config.getDbType()));
|
||||
|
||||
if (config.getCheckUpdate()) {
|
||||
giteaReleaseCheck = new GiteaReleaseCheck(this,
|
||||
"https://ssl.lunadeer.cn:14446",
|
||||
|
Loading…
Reference in New Issue
Block a user