diff --git a/proxy/src/main/java/proxy/Proxy.java b/proxy/src/main/java/proxy/Proxy.java index 457928c..a5076dc 100755 --- a/proxy/src/main/java/proxy/Proxy.java +++ b/proxy/src/main/java/proxy/Proxy.java @@ -81,6 +81,8 @@ import proxy.util.User; import proxy.util.Log; public class Proxy { + public static final String NAME = "VProxy"; + public static final EventLoopLoader NIO_EVENT_LOOP = new EventLoopLoader() { protected NioEventLoopGroup createEventLoop() { return new NioEventLoopGroup(0, (new ThreadFactoryBuilder()).setNameFormat("Netty Server IO #%d").setDaemon(true).build()); @@ -199,7 +201,7 @@ public class Proxy { } // ... - this.status = new ServerInfo("VLoginProxy 1.8.9", 47); + this.status = new ServerInfo(NAME + " 1.8.9", 47); this.status.setCapacity(this.maxPlayers); Collections.addAll(this.status.getMotds(), Formatter.DARK_RED + "Miau\n" + Formatter.YELLOW + "Test??", Formatter.AQUA + "Server\n" + Formatter.GREEN + "Test!!"); String icon = getIcon(new File("icon1.png"));