| 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 |
|---|---|
ServerInfo |
ProxyConfig.addServer(ServerInfo server)
Deprecated.
Register the given server to the proxy.
|
abstract ServerInfo |
ProxyServer.constructServerInfo(java.lang.String name,
java.net.InetSocketAddress address,
java.lang.String motd,
boolean restricted)
Factory method to construct an implementation specific server info
instance.
|
static ServerInfo |
AbstractReconnectHandler.getForcedHost(PendingConnection con) |
ServerInfo |
AbstractReconnectHandler.getServer(ProxiedPlayer player) |
ServerInfo |
ReconnectHandler.getServer(ProxiedPlayer player)
Gets the initial server name for a connecting player.
|
ServerInfo |
ProxyConfig.getServerInfo(java.lang.String name)
Deprecated.
Gets the server info of a server.
|
abstract ServerInfo |
ProxyServer.getServerInfo(java.lang.String name)
Gets the server info of a server.
|
protected abstract ServerInfo |
AbstractReconnectHandler.getStoredServer(ProxiedPlayer player) |
ServerInfo |
ProxyConfig.removeServer(ServerInfo server)
Deprecated.
Un-register the given server from the proxy.
|
ServerInfo |
ProxyConfig.removeServerNamed(java.lang.String name)
Deprecated.
Un-register the server with the given name from the proxy.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,ServerInfo> |
ProxyConfig.getServers()
Deprecated.
The returned map may be modified concurrently by the proxy.
The safe alternative is
ProxyConfig.getServersCopy(). |
abstract java.util.Map<java.lang.String,ServerInfo> |
ProxyServer.getServers()
Deprecated.
The returned map is part of the proxy's internal state,
and may be modified concurrently by the proxy.
The safe alternative is
ProxyServer.getServersCopy(). |
java.util.Map<java.lang.String,ServerInfo> |
ProxyConfig.getServersCopy()
Deprecated.
Return all servers registered to this proxy, keyed by name.
|
abstract java.util.Map<java.lang.String,ServerInfo> |
ProxyServer.getServersCopy()
Return all servers registered to this proxy, keyed by name.
|
| Modifier and Type | Method and Description |
|---|---|
ServerInfo |
ProxyConfig.addServer(ServerInfo server)
Deprecated.
Register the given server to the proxy.
|
ServerInfo |
ProxyConfig.removeServer(ServerInfo server)
Deprecated.
Un-register the given server from the proxy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ProxyConfig.addServers(java.util.Collection<ServerInfo> servers)
Deprecated.
Register all of the given servers to the proxy.
|
boolean |
ProxyConfig.removeServers(java.util.Collection<ServerInfo> servers)
Deprecated.
Un-register all of the given servers from the proxy.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.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<java.lang.Boolean> callback)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.connect(ServerInfo target,
Callback<java.lang.Boolean> callback,
boolean retry)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.connect(ServerInfo target,
Callback<java.lang.Boolean> callback,
boolean retry,
int timeout)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.connect(ServerInfo target,
Callback<java.lang.Boolean> callback,
boolean retry,
ServerConnectEvent.Reason reason,
int timeout)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.connect(ServerInfo target,
Callback<java.lang.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)
Deprecated.
|
ServerKickEvent(ProxiedPlayer player,
ServerInfo kickedFrom,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer,
ServerKickEvent.State state,
ServerKickEvent.Cause cause) |
Copyright © 2015-2018 WaterfallMC. All Rights Reserved.