Package net.ME1312.SubServers.Bungee
Class SubProxy
java.lang.Object
net.md_5.bungee.api.ProxyServer
net.md_5.bungee.BungeeCord
net.ME1312.SubServers.Bungee.BungeeCommon
net.ME1312.SubServers.Bungee.SubProxy
- All Implemented Interfaces:
Listener
Main Plugin Class
-
Field Summary
Modifier and TypeFieldDescriptionfinal SubAPI
boolean
final File
final boolean
final Collection<io.netty.channel.Channel>
final Proxy
final PrintStream
final Plugin
long
final HashMap<UUID,
RemotePlayer> static final Version
Fields inherited from class net.md_5.bungee.BungeeCord
eventLoops, gson, isRunning, pluginManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
reload()
Load data from the config (will attempt to merge with current configuration)void
void
void
void
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
-
proxies
-
hosts
-
exServers
-
rPlayerLinkS
-
rPlayerLinkP
-
rPlayers
-
out
-
dir
-
config
-
servers
-
lang
-
plugin
-
api
-
subprotocol
-
subdata
-
sudo
-
listeners
-
version
-
mProxy
-
canSudo
public boolean canSudo -
isPatched
public final boolean isPatched -
resetDate
public long resetDate
-
-
Method Details
-
reload
Load data from the config (will attempt to merge with current configuration)- Throws:
IOException
-
startListeners
public void startListeners()- Overrides:
startListeners
in classBungeeCord
-
stopListeners
public void stopListeners()- Overrides:
stopListeners
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
-
getServerInfo
Force BungeeCord's implementation of getServerInfo()- Overrides:
getServerInfo
in classBungeeCord
- Returns:
- ServerInfo
-
ping_passthrough
-
ping
-
login
-
validate
-
connected
-
fallback
-
disconnected
-
unsudo
-