Uses of Interface
net.md_5.bungee.api.config.ServerInfo
-
Packages that use ServerInfo 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 -
-
Uses of ServerInfo in net.md_5.bungee.api
Methods in net.md_5.bungee.api that return ServerInfo Modifier and Type Method Description ServerInfo
ProxyConfig. addServer(ServerInfo server)
Deprecated.Register the given server to the proxy.abstract ServerInfo
ProxyServer. constructServerInfo(String name, InetSocketAddress address, String motd, boolean restricted)
Factory method to construct an implementation specific server info instance.abstract ServerInfo
ProxyServer. constructServerInfo(String name, SocketAddress address, 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(String name)
Deprecated.Gets the server info of a server.abstract ServerInfo
ProxyServer. getServerInfo(String name)
Gets the server info of a server.protected abstract ServerInfo
AbstractReconnectHandler. getStoredServer(ProxiedPlayer player)
@NonNull ServerInfo
ServerConnectRequest. getTarget()
Target server to connect to.ServerInfo
ProxyConfig. removeServer(ServerInfo server)
Deprecated.Un-register the given server from the proxy.ServerInfo
ProxyConfig. removeServerNamed(String name)
Deprecated.Un-register the server with the given name from the proxy.Methods in net.md_5.bungee.api that return types with arguments of type ServerInfo Modifier and Type Method Description Map<String,ServerInfo>
ProxyConfig. getServers()
Deprecated.The returned map may be modified concurrently by the proxy.abstract Map<String,ServerInfo>
ProxyServer. getServers()
Deprecated.The returned map is part of the proxy's internal state, and may be modified concurrently by the proxy.Map<String,ServerInfo>
ProxyConfig. getServersCopy()
Deprecated.Return all servers registered to this proxy, keyed by name.abstract Map<String,ServerInfo>
ProxyServer. getServersCopy()
Return all servers registered to this proxy, keyed by name.Methods in net.md_5.bungee.api with parameters of type ServerInfo Modifier and Type Method 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.ServerConnectRequest.Builder
ServerConnectRequest.Builder. target(@NonNull ServerInfo target)
Target server to connect to.Method parameters in net.md_5.bungee.api with type arguments of type ServerInfo Modifier and Type Method Description boolean
ProxyConfig. addServers(Collection<ServerInfo> servers)
Deprecated.Register all of the given servers to the proxy.boolean
ProxyConfig. removeServers(Collection<ServerInfo> servers)
Deprecated.Un-register all of the given servers from the proxy. -
Uses of ServerInfo in net.md_5.bungee.api.config
Methods in net.md_5.bungee.api.config that return types with arguments of type ServerInfo Modifier and Type Method Description Map<String,ServerInfo>
ConfigurationAdapter. getServers()
Get the configuration all servers which may be accessible via the proxy. -
Uses of ServerInfo in net.md_5.bungee.api.connection
Methods in net.md_5.bungee.api.connection that return ServerInfo Modifier and Type Method 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.Methods in net.md_5.bungee.api.connection with parameters of type ServerInfo Modifier and Type Method 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, boolean retry)
Connects / transfers this user to the specified connection, gracefully closing the current one.void
ProxiedPlayer. connect(ServerInfo target, Callback<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<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<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. -
Uses of ServerInfo in net.md_5.bungee.api.event
Methods in net.md_5.bungee.api.event that return ServerInfo Modifier and Type Method Description ServerInfo
ServerKickEvent. getCancelServer()
Server to send player to if this event is cancelled.ServerInfo
ServerSwitchEvent. getFrom()
Server the player is switch from.ServerInfo
ServerKickEvent. getKickedFrom()
The server the player was kicked from, should be used in preference toProxiedPlayer.getServer()
.@NonNull ServerInfo
ServerConnectEvent. getTarget()
Server the player will be connected to.@NonNull ServerInfo
ServerDisconnectEvent. getTarget()
Server the player is disconnecting from.Methods in net.md_5.bungee.api.event with parameters of type ServerInfo Modifier and Type Method Description void
ServerKickEvent. setCancelServer(ServerInfo cancelServer)
Server to send player to if this event is cancelled.void
ServerConnectEvent. setTarget(@NonNull ServerInfo target)
Server the player will be connected to.
-