public interface RegisteredServer extends ChannelMessageSink, net.kyori.adventure.audience.Audience
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.| Modifier and Type | Method and Description |
|---|---|
Collection<Player> |
getPlayersConnected()
Returns a list of all the players currently connected to this server on this proxy.
|
ServerInfo |
getServerInfo()
Returns the
ServerInfo for this server. |
CompletableFuture<ServerPing> |
ping()
Attempts to ping the remote server and return the server list ping result.
|
sendPluginMessageaudience, audience, clearTitle, empty, hideBossBar, openBook, openBook, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, showBossBar, showTitle, stopSound, toAudienceServerInfo getServerInfo()
ServerInfo for this server.Collection<Player> getPlayersConnected()
CompletableFuture<ServerPing> ping()