2015-10-17 02:50:04 +00:00
|
|
|
From 98de4059bdb6cc1443c58be63c829dfea29d11cb Mon Sep 17 00:00:00 2001
|
2015-01-29 21:25:50 +00:00
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
2015-03-08 01:16:09 +00:00
|
|
|
Date: Sat, 7 Mar 2015 22:55:25 -0600
|
2014-08-19 19:26:33 +00:00
|
|
|
Subject: [PATCH] Show 'PaperSpigot' in client crashes, server lists, and
|
|
|
|
Mojang stats
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
2015-09-19 01:44:37 +00:00
|
|
|
index 1d29ae7..9fc2cfa 100644
|
2014-08-19 19:26:33 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
2015-09-19 01:44:37 +00:00
|
|
|
@@ -1023,7 +1023,7 @@ public abstract class MinecraftServer implements Runnable, ICommandListener, IAs
|
2014-08-19 19:26:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getServerModName() {
|
|
|
|
- return "Spigot"; // Spigot - Spigot > // CraftBukkit - cb > vanilla!
|
|
|
|
+ return "PaperSpigot"; // PaperSpigot - PaperSpigot > // Spigot - Spigot > // CraftBukkit - cb > vanilla!
|
|
|
|
}
|
|
|
|
|
|
|
|
public CrashReport b(CrashReport crashreport) {
|
2015-10-17 02:50:04 +00:00
|
|
|
diff --git a/src/main/java/org/spigotmc/WatchdogThread.java b/src/main/java/org/spigotmc/WatchdogThread.java
|
|
|
|
index 94a3d42..c8f619a 100644
|
|
|
|
--- a/src/main/java/org/spigotmc/WatchdogThread.java
|
|
|
|
+++ b/src/main/java/org/spigotmc/WatchdogThread.java
|
|
|
|
@@ -19,7 +19,7 @@ public class WatchdogThread extends Thread
|
|
|
|
|
|
|
|
private WatchdogThread(long timeoutTime, boolean restart)
|
|
|
|
{
|
|
|
|
- super( "Spigot Watchdog Thread" );
|
|
|
|
+ super( "PaperSpigot Watchdog Thread" );
|
|
|
|
this.timeoutTime = timeoutTime;
|
|
|
|
this.restart = restart;
|
|
|
|
}
|
|
|
|
@@ -56,9 +56,9 @@ public class WatchdogThread extends Thread
|
|
|
|
{
|
|
|
|
Logger log = Bukkit.getServer().getLogger();
|
|
|
|
log.log( Level.SEVERE, "The server has stopped responding!" );
|
|
|
|
- log.log( Level.SEVERE, "Please report this to http://www.spigotmc.org/" );
|
|
|
|
+ log.log( Level.SEVERE, "Please report this to PaperSpigot directly!" );
|
|
|
|
log.log( Level.SEVERE, "Be sure to include ALL relevant console errors and Minecraft crash reports" );
|
|
|
|
- log.log( Level.SEVERE, "Spigot version: " + Bukkit.getServer().getVersion() );
|
|
|
|
+ log.log( Level.SEVERE, "PaperSpigot version: " + Bukkit.getServer().getVersion() );
|
|
|
|
//
|
|
|
|
if(net.minecraft.server.World.haveWeSilencedAPhysicsCrash)
|
|
|
|
{
|
|
|
|
@@ -68,7 +68,7 @@ public class WatchdogThread extends Thread
|
|
|
|
}
|
|
|
|
//
|
|
|
|
log.log( Level.SEVERE, "------------------------------" );
|
|
|
|
- log.log( Level.SEVERE, "Server thread dump (Look for plugins here before reporting to Spigot!):" );
|
|
|
|
+ log.log( Level.SEVERE, "Server thread dump (Look for plugins here before reporting to PaperSpigot!):" );
|
|
|
|
dumpThread( ManagementFactory.getThreadMXBean().getThreadInfo( MinecraftServer.getServer().primaryThread.getId(), Integer.MAX_VALUE ), log );
|
|
|
|
log.log( Level.SEVERE, "------------------------------" );
|
|
|
|
//
|
2014-08-19 19:26:33 +00:00
|
|
|
--
|
2015-10-17 02:50:04 +00:00
|
|
|
2.6.1.windows.1
|
2014-08-19 19:26:33 +00:00
|
|
|
|