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 ServerInfo |
ProxyServer.constructServerInfo(String name,
InetSocketAddress address,
String motd,
boolean restricted)
Factory method to construct an implementation specific server info
instance.
|
static ServerInfo |
AbstractReconnectHandler.getForcedHost(PendingConnection con) |
ServerInfo |
ReconnectHandler.getServer(ProxiedPlayer player)
Gets the initial server name for a connecting player.
|
ServerInfo |
AbstractReconnectHandler.getServer(ProxiedPlayer player) |
abstract ServerInfo |
ProxyServer.getServerInfo(String name)
Gets the server info of a server.
|
protected abstract ServerInfo |
AbstractReconnectHandler.getStoredServer(ProxiedPlayer player) |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,ServerInfo> |
ProxyServer.getServers()
Return all servers registered to this proxy, keyed by name.
|
Map<String,ServerInfo> |
ProxyConfig.getServers()
Deprecated.
Set of all servers.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ServerInfo> |
ConfigurationAdapter.getServers()
Get the configuration all servers which may be accessible via the proxy.
|
Modifier and Type | Method and Description |
---|---|
ServerInfo |
Server.getInfo()
Returns the basic information about this server.
|
ServerInfo |
ProxiedPlayer.getReconnectServer()
Get the server which this player will be sent to next time the log in.
|
Modifier and Type | Method and Description |
---|---|
void |
ProxiedPlayer.connect(ServerInfo target)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.connect(ServerInfo target,
Callback<Boolean> callback)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.connect(ServerInfo target,
Callback<Boolean> callback,
ServerConnectEvent.Reason reason)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.connect(ServerInfo target,
ServerConnectEvent.Reason reason)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.setReconnectServer(ServerInfo server)
Set the server which this player will be sent to next time the log in.
|
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.