2015-10-03 05:58:02 +02:00
|
|
|
From a7cb1698f46a168af727798e55ef5116bf8ddde2 Mon Sep 17 00:00:00 2001
|
2015-05-19 02:03:24 +02:00
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
2015-10-03 05:58:02 +02:00
|
|
|
Date: Wed, 18 Mar 2015 22:55:25 -0600
|
2015-05-19 02:03:24 +02:00
|
|
|
Subject: [PATCH] Metrics
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/Metrics.java b/src/main/java/org/spigotmc/Metrics.java
|
|
|
|
index a5fd59d..558989c 100644
|
|
|
|
--- a/src/main/java/org/spigotmc/Metrics.java
|
|
|
|
+++ b/src/main/java/org/spigotmc/Metrics.java
|
|
|
|
@@ -344,7 +344,7 @@ public class Metrics {
|
|
|
|
*/
|
|
|
|
private void postPlugin(final boolean isPing) throws IOException {
|
|
|
|
// Server software specific section
|
|
|
|
- String pluginName = "Spigot";
|
|
|
|
+ String pluginName = "PaperSpigot"; // PaperSpigot - We need some usage data
|
|
|
|
boolean onlineMode = Bukkit.getServer().getOnlineMode(); // TRUE if online mode is enabled
|
|
|
|
String pluginVersion = (Metrics.class.getPackage().getImplementationVersion() != null) ? Metrics.class.getPackage().getImplementationVersion() : "unknown";
|
|
|
|
String serverVersion = Bukkit.getVersion();
|
|
|
|
--
|
2015-10-03 05:58:02 +02:00
|
|
|
2.6.0
|
2015-05-19 02:03:24 +02:00
|
|
|
|