mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-02 13:12:03 -07:00
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 <evilseph@unaligned.org>
This commit is contained in:
@@ -32,6 +32,7 @@ public final class CraftServer implements Server {
|
|||||||
this.serverVersion = CraftServer.class.getPackage().getImplementationVersion();
|
this.serverVersion = CraftServer.class.getPackage().getImplementationVersion();
|
||||||
|
|
||||||
pluginManager.RegisterInterface(JavaPluginLoader.class);
|
pluginManager.RegisterInterface(JavaPluginLoader.class);
|
||||||
|
Logger.getLogger("Minecraft").log(Level.INFO, "This server is running " + getName() + " version " + getVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void loadPlugins() {
|
public void loadPlugins() {
|
||||||
|
Reference in New Issue
Block a user