Package | Description |
---|---|
net.md_5.bungee.api | |
net.md_5.bungee.api.config | |
net.md_5.bungee.api.connection | |
net.md_5.bungee.api.event |
Modifier and Type | Method and Description |
---|---|
abstract ProxiedPlayer |
ProxyServer.getPlayer(String name)
Gets a connected player via their unique username.
|
abstract ProxiedPlayer |
ProxyServer.getPlayer(UUID uuid)
Gets a connected player via their UUID
|
Modifier and Type | Method and Description |
---|---|
abstract Collection<ProxiedPlayer> |
ProxyServer.getPlayers()
Return all players currently connected.
|
abstract Collection<ProxiedPlayer> |
ProxyServer.matchPlayer(String match)
Attempts to match any players with the given name, and returns a list of
all possible matches.
|
Modifier and Type | Method and Description |
---|---|
ServerInfo |
AbstractReconnectHandler.getServer(ProxiedPlayer player) |
ServerInfo |
ReconnectHandler.getServer(ProxiedPlayer player)
Gets the initial server name for a connecting player.
|
protected abstract ServerInfo |
AbstractReconnectHandler.getStoredServer(ProxiedPlayer player) |
Title |
Title.send(ProxiedPlayer player)
Send this title configuration to the specified player.
|
void |
ReconnectHandler.setServer(ProxiedPlayer player)
Save the server of this player before they disconnect so it can be
retrieved later.
|
Modifier and Type | Method and Description |
---|---|
Collection<ProxiedPlayer> |
ServerInfo.getPlayers()
Get the set of all players on this server.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConnectedPlayer
Represents a player physically connected to the world hosted on this server.
|
Modifier and Type | Method and Description |
---|---|
ProxiedPlayer |
ServerConnectEvent.getPlayer()
Player connecting to a new server.
|
ProxiedPlayer |
PlayerDisconnectEvent.getPlayer()
Player disconnecting.
|
ProxiedPlayer |
ServerKickEvent.getPlayer()
Player being kicked.
|
ProxiedPlayer |
PostLoginEvent.getPlayer()
The player involved with this event.
|
@NonNull ProxiedPlayer |
ServerDisconnectEvent.getPlayer()
Player disconnecting from a server.
|
ProxiedPlayer |
SettingsChangedEvent.getPlayer()
Player who changed the settings.
|
ProxiedPlayer |
ServerConnectedEvent.getPlayer()
Player whom the server is for.
|
ProxiedPlayer |
ServerSwitchEvent.getPlayer()
Player whom the server is for.
|
Copyright © 2012–2020 SpigotMC. All rights reserved.