public interface ReconnectHandler
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close all connections indicating that the proxy is about to shutdown and
all data should be saved.
|
ServerInfo |
getServer(ProxiedPlayer player)
Gets the initial server name for a connecting player.
|
void |
save()
Save all pending reconnect locations.
|
void |
setServer(ProxiedPlayer player)
Save the server of this player before they disconnect so it can be
retrieved later.
|
ServerInfo getServer(ProxiedPlayer player)
player - the connecting playervoid setServer(ProxiedPlayer player)
player - the player to savevoid save()
void close()
Copyright © 2012-2016 SpigotMC. All Rights Reserved.