Interface ServerStatusRequestEvent

All Superinterfaces:
Event

@NonExtendable public interface ServerStatusRequestEvent extends Event
Called when a client requests the server list status.
Since:
0.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the status that will be sent to the requesting client.
    void
    Replaces the status that will be sent to the requesting client.
  • Method Details

    • status

      @Contract(pure=true) ServerStatus status()
      Gets the status that will be sent to the requesting client.
      Returns:
      current response status
      Since:
      0.1.0
    • status

      @Contract(mutates="this") void status(ServerStatus status)
      Replaces the status that will be sent to the requesting client.
      Parameters:
      status - new response status
      Since:
      0.1.0