Package net.md_5.bungee.api
Class AbstractReconnectHandler
- java.lang.Object
-
- net.md_5.bungee.api.AbstractReconnectHandler
-
- All Implemented Interfaces:
ReconnectHandler
public abstract class AbstractReconnectHandler extends Object implements ReconnectHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractReconnectHandler()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ServerInfo
getForcedHost(PendingConnection con)
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
-
-
-
-
Method Detail
-
getServer
public ServerInfo getServer(ProxiedPlayer player)
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
public static ServerInfo getForcedHost(PendingConnection con)
-
getStoredServer
protected abstract ServerInfo getStoredServer(ProxiedPlayer player)
-
-