Interface ClientPingServerEvent

All Superinterfaces:
Cancellable, Event

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.

  • Method Details

    • client

      StatusClient client()
      Gets the client pinging the server.
      Returns:
      The client of the status request
    • response

      Gets the response that is about to be sent to the client.
      Returns:
      The response to the status request