Uses of Interface
net.md_5.bungee.api.config.ServerInfo
Packages that use ServerInfo
Package
Description
-
Uses of ServerInfo in net.md_5.bungee.api
Methods in net.md_5.bungee.api that return ServerInfoModifier and TypeMethodDescriptionabstract ServerInfoProxyServer.constructServerInfo(String name, InetSocketAddress address, String motd, boolean restricted) Factory method to construct an implementation specific server info instance.abstract ServerInfoProxyServer.constructServerInfo(String name, SocketAddress address, String motd, boolean restricted) Factory method to construct an implementation specific server info instance.static ServerInfoAbstractReconnectHandler.getForcedHost(PendingConnection con) AbstractReconnectHandler.getServer(ProxiedPlayer player) ReconnectHandler.getServer(ProxiedPlayer player) Gets the initial server name for a connecting player.abstract ServerInfoProxyServer.getServerInfo(String name) Gets the server info of a server.protected abstract ServerInfoAbstractReconnectHandler.getStoredServer(ProxiedPlayer player) @NonNull ServerInfoServerConnectRequest.getTarget()Target server to connect to.Methods in net.md_5.bungee.api that return types with arguments of type ServerInfoModifier and TypeMethodDescriptionProxyConfig.getServers()Deprecated.Set of all servers.abstract Map<String,ServerInfo> ProxyServer.getServers()Return all servers registered to this proxy, keyed by name.Methods in net.md_5.bungee.api with parameters of type ServerInfoModifier and TypeMethodDescriptionServerConnectRequest.Builder.target(@NonNull ServerInfo target) Target server to connect to. -
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 ServerInfoModifier and TypeMethodDescriptionConfigurationAdapter.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 ServerInfoModifier and TypeMethodDescriptionServer.getInfo()Returns the basic information about this server.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 ServerInfoModifier and TypeMethodDescriptionvoidProxiedPlayer.connect(ServerInfo target) Connects / transfers this user to the specified connection, gracefully closing the current one.voidProxiedPlayer.connect(ServerInfo target, Callback<Boolean> callback) Connects / transfers this user to the specified connection, gracefully closing the current one.voidProxiedPlayer.connect(ServerInfo target, Callback<Boolean> callback, ServerConnectEvent.Reason reason) Connects / transfers this user to the specified connection, gracefully closing the current one.voidProxiedPlayer.connect(ServerInfo target, ServerConnectEvent.Reason reason) Connects / transfers this user to the specified connection, gracefully closing the current one.voidProxiedPlayer.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 ServerInfoModifier and TypeMethodDescriptionServerKickEvent.getCancelServer()Server to send player to if this event is cancelled.ServerSwitchEvent.getFrom()Server the player is switch from.ServerKickEvent.getKickedFrom()The server the player was kicked from, should be used in preference toProxiedPlayer.getServer().PostLoginEvent.getTarget()The server to which the player will initially be connected.@NonNull ServerInfoServerConnectEvent.getTarget()Server the player will be connected to.@NonNull ServerInfoServerDisconnectEvent.getTarget()Server the player is disconnecting from.Methods in net.md_5.bungee.api.event with parameters of type ServerInfoModifier and TypeMethodDescriptionvoidServerKickEvent.setCancelServer(ServerInfo cancelServer) Server to send player to if this event is cancelled.voidPostLoginEvent.setTarget(ServerInfo target) The server to which the player will initially be connected.voidServerConnectEvent.setTarget(@NonNull ServerInfo target) Server the player will be connected to.Constructors in net.md_5.bungee.api.event with parameters of type ServerInfoModifierConstructorDescriptionPostLoginEvent(ProxiedPlayer player, ServerInfo target, Callback<PostLoginEvent> done) ServerConnectEvent(ProxiedPlayer player, ServerInfo target) Deprecated.ServerConnectEvent(ProxiedPlayer player, ServerInfo target, ServerConnectEvent.Reason reason) Deprecated.ServerConnectEvent(ProxiedPlayer player, ServerInfo target, ServerConnectEvent.Reason reason, ServerConnectRequest request) ServerDisconnectEvent(@NonNull ProxiedPlayer player, @NonNull ServerInfo target) Creates a newServerDisconnectEventinstance.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 reason, ServerInfo cancelServer, ServerKickEvent.State state) ServerSwitchEvent(ProxiedPlayer player, ServerInfo from) Creates a newServerSwitchEventinstance.