- send() - Method in class org.henrya.pingapi.ServerInfoPacket
-
Sends the packet to the server
- sendPong() - Method in class org.henrya.pingapi.PingEvent
-
Sends a pong packet to the client which closes the connection
The pong packet changes the icon to the right of the player count from red to green
- ServerInfoPacket - Class in org.henrya.pingapi
-
An abstract class for creating PacketStatusOutServerInfo packets from PingReply instances
- ServerInfoPacket(PingReply) - Constructor for class org.henrya.pingapi.ServerInfoPacket
-
- setCancelled(boolean) - Method in class org.henrya.pingapi.PingEvent
-
Cancels the event
- setIcon(CachedServerIcon) - Method in class org.henrya.pingapi.PingReply
-
Sets the icon to be sent to the client
- setMaxPlayers(int) - Method in class org.henrya.pingapi.PingReply
-
Sets the maximum amount of players to be sent to the client
- setMOTD(String) - Method in class org.henrya.pingapi.PingReply
-
Sets the MOTD to be sent to the client
- setOnlinePlayers(int) - Method in class org.henrya.pingapi.PingReply
-
Sets the amount of online players to be sent to the client
- setPlayerSample(List<String>) - Method in class org.henrya.pingapi.PingReply
-
Sets the list of player names that will be sent to the client
Note that if the player sample is hidden this list will not be sent
- setProtocolName(String) - Method in class org.henrya.pingapi.PingReply
-
Sets the protocol name to be sent to the client
- setProtocolVersion(int) - Method in class org.henrya.pingapi.PingReply
-
Sets the protocol version to be sent to the client
- setReply(PingReply) - Method in class org.henrya.pingapi.ServerInfoPacket
-
Sets the PingReply instance