Interface StatusResponse

    • Method Detail

      • description

        Component description()
        Gets the description (MOTD) of the status response.
        Returns:
        The description to display
      • players

        java.util.Optional<? extends StatusResponse.Players> players()
        Gets player count and the list of players currently playing on the server.
        Returns:
        The player information, or Optional.empty() if not available
      • version

        MinecraftVersion version()
        Gets the version of the server displayed when the client or the server are outdated.
        Returns:
        The server version
      • favicon

        java.util.Optional<Favicon> favicon()
        Gets the Favicon of the server.
        Returns:
        The favicon, or Optional.empty() if not available