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 |
ReconnectHandler.getServer(ProxiedPlayer player)
Gets the initial server name for a connecting player.
|
ServerInfo |
AbstractReconnectHandler.getServer(ProxiedPlayer 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.
|
Constructor and Description |
---|
ServerConnectEvent(ProxiedPlayer player,
ServerInfo target)
Deprecated.
|
ServerConnectEvent(ProxiedPlayer player,
ServerInfo target,
ServerConnectEvent.Reason reason) |
ServerKickEvent(ProxiedPlayer player,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer)
Deprecated.
|
ServerKickEvent(ProxiedPlayer player,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer,
ServerKickEvent.State state)
Deprecated.
|
ServerKickEvent(ProxiedPlayer player,
ServerInfo kickedFrom,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer,
ServerKickEvent.State state) |
Copyright © 2012–2019 SpigotMC. All rights reserved.