Implemented the motd, port & icon in the ServersRoute.java
This commit is contained in:
parent
449c5142a7
commit
f379ec7df6
@ -24,6 +24,10 @@ public class ServersRoute extends DefaultHandler {
|
||||
serverObj.put("uuid", server.getName());
|
||||
serverObj.put("status", server.getStatus().name());
|
||||
|
||||
serverObj.put("motd", server.getProperties().getServerProperty("motd"));
|
||||
serverObj.put("port", server.getProperties().getServerProperty("server-port"));
|
||||
serverObj.put("icon", server.getBase64Icon());
|
||||
|
||||
serverObj.put("configuration", server.getConfiguration().toHashMap());
|
||||
|
||||
servers.add(serverObj);
|
||||
|
Reference in New Issue
Block a user