Mineplex2018-withcommit/Plugins/Mineplex.Hub/src/mineplex/hub/server/ServerInfo.java

18 lines
358 B
Java
Raw Normal View History

2013-08-27 17:14:08 +02:00
package mineplex.hub.server;
public class ServerInfo
{
public String Name;
public String MOTD = "Retrieving status";
public int CurrentPlayers = 0;
public int MaxPlayers = 0;
public String Map;
public String ServerType;
public String Game;
2014-12-23 12:48:45 +01:00
public boolean HostedByStaff;
public int getAvailableSlots()
{
return MaxPlayers - CurrentPlayers;
}
2013-08-27 17:14:08 +02:00
}