Mineplex2018-withcommit/Plugins/Mineplex.Hub/src/mineplex/hub/server/ServerInfo.java
2015-12-29 00:50:20 -06:00

20 lines
396 B
Java

package mineplex.hub.server;
import mineplex.core.common.Rank;
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;
public Rank HostRank = Rank.ALL;
public int getAvailableSlots()
{
return MaxPlayers - CurrentPlayers;
}
}