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

20 lines
396 B
Java
Raw Normal View History

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;
public String Map;
public String ServerType;
public String Game;
2015-12-29 07:50:20 +01:00
public Rank HostRank = Rank.ALL;
public int getAvailableSlots()
{
return MaxPlayers - CurrentPlayers;
}
2013-08-27 17:14:08 +02:00
}