Interface ClientPingServerEvent.Response.Players
- 
- All Superinterfaces:
- StatusResponse.Players
 - Enclosing interface:
- ClientPingServerEvent.Response
 
 public static interface ClientPingServerEvent.Response.Players extends StatusResponse.Players Represents the information about the players on the server, sent after theClientPingServerEvent.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<GameProfile>profiles()Gets an mutable list of online players on the server to display on the client.voidsetMax(int max)Sets the maximum amount of allowed players to display on the client.voidsetOnline(int online)Sets the amount of online players to display on the client.- 
Methods inherited from interface org.spongepowered.api.network.status.StatusResponse.Playersmax, online
 
- 
 
- 
- 
- 
Method Detail- 
setOnlinevoid setOnline(int online) Sets the amount of online players to display on the client.- Parameters:
- online- The amount of online players
 
 - 
setMaxvoid setMax(int max) Sets the maximum amount of allowed players to display on the client.- Parameters:
- max- The maximum amount of players
 
 - 
profilesjava.util.List<GameProfile> profiles() Gets an mutable list of online players on the server to display on the client.- Specified by:
- profilesin interface- StatusResponse.Players
- Returns:
- A mutable list of online players
 
 
- 
 
-