From 3402e64ba908beb587f5c600fb4d6c15efbcd83c Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 5 Feb 2011 03:10:03 -0500 Subject: [PATCH] Added version output to CraftBukkit that displays on startup. Add a version display to the startup of CraftBukkit so that we have all the information we need for support purposes simply by requesting a server log be pastebinned. I wanted to have it display right after the official Minecraft version is, but that would require modifying the server itself. By: EvilSeph --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 73d4d1d173..73396f1f96 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -32,6 +32,7 @@ public final class CraftServer implements Server { this.serverVersion = CraftServer.class.getPackage().getImplementationVersion(); pluginManager.RegisterInterface(JavaPluginLoader.class); + Logger.getLogger("Minecraft").log(Level.INFO, "This server is running " + getName() + " version " + getVersion()); } public void loadPlugins() {