|
|
@ -343,7 +343,7 @@ public class Metrics { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void postPlugin(final boolean isPing) throws IOException { |
|
|
|
private void postPlugin(final boolean isPing) throws IOException { |
|
|
|
// Server software specific section
|
|
|
|
// Server software specific section
|
|
|
|
String pluginName = "Spigot"; |
|
|
|
String pluginName = "KC-Unofficial"; |
|
|
|
boolean onlineMode = Bukkit.getServer().getOnlineMode(); // TRUE if online mode is enabled
|
|
|
|
boolean onlineMode = Bukkit.getServer().getOnlineMode(); // TRUE if online mode is enabled
|
|
|
|
String pluginVersion = (Metrics.class.getPackage().getImplementationVersion() != null) ? Metrics.class.getPackage().getImplementationVersion() : "unknown"; |
|
|
|
String pluginVersion = (Metrics.class.getPackage().getImplementationVersion() != null) ? Metrics.class.getPackage().getImplementationVersion() : "unknown"; |
|
|
|
String serverVersion = Bukkit.getVersion(); |
|
|
|
String serverVersion = Bukkit.getVersion(); |
|
|
|