18 lines
358 B
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;
|
|
}
|
|
} |