Package net.md_5.bungee.api
Class AbstractReconnectHandler
java.lang.Object
net.md_5.bungee.api.AbstractReconnectHandler
- All Implemented Interfaces:
ReconnectHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerInfo
getServer
(ProxiedPlayer player) Gets the initial server name for a connecting player.protected abstract ServerInfo
getStoredServer
(ProxiedPlayer player) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.md_5.bungee.api.ReconnectHandler
close, save, setServer
-
Constructor Details
-
AbstractReconnectHandler
public AbstractReconnectHandler()
-
-
Method Details
-
getServer
Description copied from interface:ReconnectHandler
Gets the initial server name for a connecting player.- Specified by:
getServer
in interfaceReconnectHandler
- Parameters:
player
- the connecting player- Returns:
- the server to connect to
-
getForcedHost
-
getStoredServer
-