@Deprecated
public interface ProxyConfig
| Modifier and Type | Method and Description |
|---|---|
ServerInfo |
addServer(ServerInfo server)
Deprecated.
Register the given server to the proxy.
|
boolean |
addServers(java.util.Collection<ServerInfo> servers)
Deprecated.
Register all of the given servers to the proxy.
|
java.util.Collection<java.lang.String> |
getDisabledCommands()
Deprecated.
A collection of disabled commands.
|
java.lang.String |
getFavicon()
Deprecated.
Use #getFaviconObject instead.
|
Favicon |
getFaviconObject()
Deprecated.
The favicon used for the server ping list.
|
java.lang.String |
getGameVersion()
Deprecated.
The supported versions
|
java.util.Collection<ListenerInfo> |
getListeners()
Deprecated.
Set of all listeners.
|
int |
getPlayerLimit()
Deprecated.
Returns the player max.
|
ServerInfo |
getServerInfo(java.lang.String name)
Deprecated.
Gets the server info of a server.
|
java.util.Map<java.lang.String,ServerInfo> |
getServers()
Deprecated.
The returned map may be modified concurrently by the proxy.
The safe alternative is
getServersCopy(). |
java.util.Map<java.lang.String,ServerInfo> |
getServersCopy()
Deprecated.
Return all servers registered to this proxy, keyed by name.
|
int |
getTabThrottle()
Deprecated.
How often tab-complete packets can be sent.
|
int |
getThrottle()
Deprecated.
|
int |
getTimeout()
Deprecated.
Time before users are disconnected due to no network activity.
|
java.lang.String |
getUuid()
Deprecated.
UUID used for metrics.
|
boolean |
isIpForward()
Deprecated.
|
boolean |
isLogCommands()
Deprecated.
Whether proxy commands are logged to the proxy log
|
boolean |
isLogInitialHandlerConnections()
Deprecated.
Whether we log InitialHandler connections
|
boolean |
isLogServerListPing()
Deprecated.
Whether we log server list pings
|
boolean |
isMetrics()
Deprecated.
If metrics is enabled
|
boolean |
isOnlineMode()
Deprecated.
Does the server authenticate with mojang
|
boolean |
isUseNettyDnsResolver()
Deprecated.
Whether Netty's async DNS resolver is used for account authentication.
|
ServerInfo |
removeServer(ServerInfo server)
Deprecated.
Un-register the given server from the proxy.
|
ServerInfo |
removeServerNamed(java.lang.String name)
Deprecated.
Un-register the server with the given name from the proxy.
|
boolean |
removeServers(java.util.Collection<ServerInfo> servers)
Deprecated.
Un-register all of the given servers from the proxy.
|
boolean |
removeServersNamed(java.util.Collection<java.lang.String> names)
Deprecated.
Un-register servers with any of the given names from the proxy.
|
int getTimeout()
java.lang.String getUuid()
java.util.Collection<ListenerInfo> getListeners()
@Deprecated java.util.Map<java.lang.String,ServerInfo> getServers()
getServersCopy().java.util.Map<java.lang.String,ServerInfo> getServersCopy()
ServerInfo getServerInfo(java.lang.String name)
name - the name of the configured serverServerInfo addServer(ServerInfo server)
boolean addServers(java.util.Collection<ServerInfo> servers)
ServerInfo removeServerNamed(java.lang.String name)
ServerInfo removeServer(ServerInfo server)
ServerInfo are ignored.
This change is not saved to config.ymlboolean removeServersNamed(java.util.Collection<java.lang.String> names)
boolean removeServers(java.util.Collection<ServerInfo> servers)
ServerInfo are ignored.
This change is not saved to config.ymlboolean isOnlineMode()
boolean isLogCommands()
int getPlayerLimit()
java.util.Collection<java.lang.String> getDisabledCommands()
@Deprecated int getThrottle()
@Deprecated boolean isIpForward()
@Deprecated java.lang.String getFavicon()
Favicon getFaviconObject()
boolean isMetrics()
boolean isLogServerListPing()
boolean isLogInitialHandlerConnections()
java.lang.String getGameVersion()
boolean isUseNettyDnsResolver()
int getTabThrottle()
Copyright © 2015-2018 WaterfallMC. All Rights Reserved.