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

18 lines
358 B
Java

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;
public boolean HostedByStaff;
public int getAvailableSlots()
{
return MaxPlayers - CurrentPlayers;
}
}