2013-08-27 17:14:08 +02:00
|
|
|
package mineplex.hub.server;
|
|
|
|
|
2015-12-29 07:50:20 +01:00
|
|
|
import mineplex.core.common.Rank;
|
|
|
|
|
2013-08-27 17:14:08 +02:00
|
|
|
public class ServerInfo
|
|
|
|
{
|
|
|
|
public String Name;
|
|
|
|
public String MOTD = "Retrieving status";
|
|
|
|
public int CurrentPlayers = 0;
|
|
|
|
public int MaxPlayers = 0;
|
2013-09-09 10:28:35 +02:00
|
|
|
public String Map;
|
|
|
|
public String ServerType;
|
|
|
|
public String Game;
|
2015-12-29 07:50:20 +01:00
|
|
|
public Rank HostRank = Rank.ALL;
|
2015-08-02 19:24:59 +02:00
|
|
|
|
|
|
|
public int getAvailableSlots()
|
|
|
|
{
|
|
|
|
return MaxPlayers - CurrentPlayers;
|
|
|
|
}
|
2013-08-27 17:14:08 +02:00
|
|
|
}
|