Skip to content

Commit

Permalink
Send BungeeCord fork name
Browse files Browse the repository at this point in the history
Due to the version part showing custom versioning like FlameCord's, add support to fork name counting.
  • Loading branch information
linsaftw authored and Bastian committed Mar 28, 2023
1 parent 2edb170 commit 1b630ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bungeecord/src/main/java/org/bstats/bungeecord/Metrics.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ private void appendPlatformData(JsonObjectBuilder builder) {
builder.appendField("managedServers", plugin.getProxy().getServers().size());
builder.appendField("onlineMode", plugin.getProxy().getConfig().isOnlineMode() ? 1 : 0);
builder.appendField("bungeecordVersion", plugin.getProxy().getVersion());
builder.appendField("bungeecordName", plugin.getProxy().getName());

builder.appendField("javaVersion", System.getProperty("java.version"));
builder.appendField("osName", System.getProperty("os.name"));
Expand All @@ -135,4 +136,4 @@ private void appendServiceData(JsonObjectBuilder builder) {
builder.appendField("pluginVersion", plugin.getDescription().getVersion());
}

}
}

0 comments on commit 1b630ef

Please sign in to comment.