This commit is contained in:
Sen 2025-06-09 12:25:52 +02:00
parent 5fadc725d0
commit e44c42f73f
Signed by: sen
GPG key ID: 3AC50A6F47D1B722

View file

@ -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<NioEventLoopGroup> NIO_EVENT_LOOP = new EventLoopLoader<NioEventLoopGroup>() {
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"));