Interface RegisteredServer

All Superinterfaces:
Audience, ChannelMessageSink, Pointered

public interface RegisteredServer extends ChannelMessageSink, Audience
Represents a server that has been registered with the proxy. The Audience associated with a RegisteredServer represent all players on the server connected to this proxy and do not interact with the server in any way.
  • Method Details

    • getServerInfo

      ServerInfo getServerInfo()
      Returns the ServerInfo for this server.
      the server info
    • getPlayersConnected

      Collection<Player> getPlayersConnected()
      Returns a list of all the players currently connected to this server on this proxy.
      the players on this proxy
    • ping

      Attempts to ping the remote server and return the server list ping result.
      the server ping result from the server