summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-02-05 03:10:03 -0500
committerEvilSeph <evilseph@unaligned.org>2011-02-05 03:39:13 -0500
commit767c15369c57a6ad0f0daf0b5528c4ace61e0fda (patch)
treedf7d48c07d0f8812775e67cb0e29ed4a5b4b51c4 /src/main
parent8932430aed21274e03189ae340bd20a9ea8b5761 (diff)
downloadcraftbukkit-767c15369c57a6ad0f0daf0b5528c4ace61e0fda.tar
craftbukkit-767c15369c57a6ad0f0daf0b5528c4ace61e0fda.tar.gz
craftbukkit-767c15369c57a6ad0f0daf0b5528c4ace61e0fda.tar.lz
craftbukkit-767c15369c57a6ad0f0daf0b5528c4ace61e0fda.tar.xz
craftbukkit-767c15369c57a6ad0f0daf0b5528c4ace61e0fda.zip
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.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index 73d4d1d1..73396f1f 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/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() {