public abstract class AbstractReconnectHandler extends Object implements ReconnectHandler
Constructor and Description |
---|
AbstractReconnectHandler() |
Modifier and Type | Method and 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, save, setServer
public ServerInfo getServer(ProxiedPlayer player)
ReconnectHandler
getServer
in interface ReconnectHandler
player
- the connecting playerpublic static ServerInfo getForcedHost(PendingConnection con)
protected abstract ServerInfo getStoredServer(ProxiedPlayer player)
Copyright © 2012–2020 SpigotMC. All rights reserved.