add name
This commit is contained in:
parent
5fadc725d0
commit
e44c42f73f
1 changed files with 3 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue