- All Superinterfaces:
public interface ClientPingServerEvent extends Event, Cancellable
Called when a client pings the server from the server list.
If this event gets cancelled, it will close the client connection without sending any response.
Nested Class SummaryModifier and TypeInterfaceDescription
static interfaceRepresents a mutable response to a status request.
Method SummaryModifier and TypeMethodDescription
client()Gets the client pinging the server.
response()Gets the response that is about to be sent to the client.
Methods inherited from interface org.spongepowered.api.event.Cancellable
clientStatusClient client()Gets the client pinging the server.
- The client of the status request
responseClientPingServerEvent.Response response()Gets the response that is about to be sent to the client.
- The response to the status request