Skip to content

Commit

Permalink
新增数据库类型bstats统计(匿名)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdeZhang committed Jul 4, 2024
1 parent 4498267 commit a119cf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/cn/lunadeer/dominion/Dominion.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public void onEnable() {
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",
Expand Down

0 comments on commit a119cf7

Please sign in to comment.