Package net.ME1312.SubServers.Sync
Class ExProxy
java.lang.Object
net.md_5.bungee.api.ProxyServer
net.md_5.bungee.BungeeCord
net.ME1312.SubServers.Bungee.BungeeCommon
net.ME1312.SubServers.Sync.ExProxy
- All Implemented Interfaces:
Listener
Main Plugin Class
-
Field Summary
Modifier and TypeFieldDescriptionfinal SubAPI
final File
final boolean
long
final Collection<io.netty.channel.Channel>
final PrintStream
final Plugin
final HashMap<UUID,
ServerImpl> final HashMap<UUID,
CachedPlayer> final Map<String,
ServerImpl> static final Version
Fields inherited from class net.md_5.bungee.BungeeCord
eventLoops, gson, isRunning, pluginManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
Get the name from BungeeCord's original signature (for determining which fork is being used)getName()
Further override BungeeCord's signature when patched into the same jargetServerInfo
(String name) Force BungeeCord's implementation of getServerInfo()Emulate BungeeCord's getServers()Emulate Waterfall's getServersCopy()void
login
(LoginEvent e) void
void
void
void
void
Load Hosts, Servers, SubServers, and SubData Directvoid
void
Reset all changes made by startListenersvoid
Methods inherited from class net.ME1312.SubServers.Bungee.BungeeCommon
getInstance
Methods inherited from class net.md_5.bungee.BungeeCord
addConnection, broadcast, broadcast, broadcast, broadcast, constructServerInfo, constructServerInfo, createTitle, getChannels, getConfig, getConfigurationAdapter, getConnectionThrottle, getConsole, getConsoleReader, getDisabledCommands, getGameVersion, getLogger, getOnlineCount, getPlayer, getPlayer, getPlayerByOfflineUUID, getPlayers, getPluginManager, getPluginsFolder, getProtocolVersion, getReconnectHandler, getScheduler, getTranslation, getVersion, matchPlayer, registerChannel, registerChannels, reloadMessages, removeConnection, setConfigurationAdapter, setReconnectHandler, start, stop, stop, unregisterChannel
Methods inherited from class net.md_5.bungee.api.ProxyServer
setInstance
-
Field Details
-
servers
-
rPlayerLinkS
-
rPlayerLinkP
-
rPlayers
-
out
-
dir
-
config
-
plugin
-
api
-
subprotocol
-
listeners
-
version
-
isPatched
public final boolean isPatched -
lastReload
public long lastReload
-
-
Method Details
-
startListeners
public void startListeners()Load Hosts, Servers, SubServers, and SubData Direct- Overrides:
startListeners
in classBungeeCord
-
getName
Further override BungeeCord's signature when patched into the same jar- Overrides:
getName
in classBungeeCord
- Returns:
- Software Name
-
getBungeeName
Get the name from BungeeCord's original signature (for determining which fork is being used)- Specified by:
getBungeeName
in classBungeeCommon
- Returns:
- BungeeCord Software Name
-
getServers
Emulate BungeeCord's getServers()- Overrides:
getServers
in classBungeeCord
- Returns:
- Server Map
-
getServersCopy
Emulate Waterfall's getServersCopy()- Specified by:
getServersCopy
in classBungeeCommon
- Returns:
- Server Map Copy (which is the default, by the way)
-
getServerInfo
Force BungeeCord's implementation of getServerInfo()- Overrides:
getServerInfo
in classBungeeCord
- Returns:
- ServerInfo
-
stopListeners
public void stopListeners()Reset all changes made by startListeners- Overrides:
stopListeners
in classBungeeCord
- See Also:
-
ping_passthrough
-
ping
-
login
-
validate
-
connected
-
fallback
-
disconnected
-
add
-
merge
-
start
-
stop
-
remove
-