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 Detail

      • client

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

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