@Deprecated public interface ProxyConfig
Modifier and Type | Method and Description |
---|---|
ServerInfo |
addServer(ServerInfo server)
Deprecated.
Register the given server to the proxy.
|
boolean |
addServers(Collection<ServerInfo> servers)
Deprecated.
Register all of the given servers to the proxy.
|
Collection<String> |
getDisabledCommands()
Deprecated.
A collection of disabled commands.
|
String |
getFavicon()
Deprecated.
Use #getFaviconObject instead.
|
Favicon |
getFaviconObject()
Deprecated.
The favicon used for the server ping list.
|
String |
getGameVersion()
Deprecated.
The supported versions
|
Collection<ListenerInfo> |
getListeners()
Deprecated.
Set of all listeners.
|
int |
getPlayerLimit()
Deprecated.
Returns the player max.
|
int |
getRemotePingCache()
Deprecated.
Time in milliseconds to cache server list info from a ping request from
the proxy to a server.
|
int |
getRemotePingTimeout()
Deprecated.
Time in milliseconds before timing out a ping request from the proxy to a
server when attempting to request server list info.
|
int |
getServerConnectTimeout()
Deprecated.
Time in milliseconds before timing out a clients request to connect to a
server.
|
ServerInfo |
getServerInfo(String name)
Deprecated.
Gets the server info of a server.
|
Map<String,ServerInfo> |
getServers()
Deprecated.
The returned map may be modified concurrently by the proxy.
The safe alternative is
getServersCopy() . |
Map<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.
|
String |
getUuid()
Deprecated.
UUID used for metrics.
|
boolean |
isDisableEntityMetadataRewrite()
Deprecated.
|
boolean |
isDisableModernTabLimiter()
Deprecated.
Should we disable the tab completion limit for 1.13+ clients
|
boolean |
isDisableTabListRewrite()
Deprecated.
Whether tablist rewriting should be disabled or not
|
boolean |
isIpForward()
Deprecated.
|
boolean |
isLogCommands()
Deprecated.
Whether proxy commands are logged to the proxy log.
|
boolean |
isLogInitialHandlerConnections()
Deprecated.
Whether we log InitialHandler connections
|
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(String name)
Deprecated.
Un-register the server with the given name from the proxy.
|
boolean |
removeServers(Collection<ServerInfo> servers)
Deprecated.
Un-register all of the given servers from the proxy.
|
boolean |
removeServersNamed(Collection<String> names)
Deprecated.
Un-register servers with any of the given names from the proxy.
|
int getTimeout()
String getUuid()
Collection<ListenerInfo> getListeners()
@Deprecated Map<String,ServerInfo> getServers()
getServersCopy()
.Map<String,ServerInfo> getServersCopy()
ServerInfo getServerInfo(String name)
name
- the name of the configured serverServerInfo addServer(ServerInfo server)
server
- The server to register with the proxyboolean addServers(Collection<ServerInfo> servers)
servers
- The collection of servers to register with the proxyServerInfo removeServerNamed(String name)
name
- The name of the server to unregisterServerInfo removeServer(ServerInfo server)
ServerInfo
are ignored.
This change is not saved to config.ymlserver
- the server to unregister from the proxyboolean removeServersNamed(Collection<String> names)
names
- a collection of server names to be unregisteredboolean removeServers(Collection<ServerInfo> servers)
ServerInfo
are ignored.
This change is not saved to config.ymlservers
- a collection of servers to be unregisteredboolean isOnlineMode()
boolean isLogCommands()
int getRemotePingCache()
int getPlayerLimit()
Collection<String> getDisabledCommands()
int getServerConnectTimeout()
int getRemotePingTimeout()
@Deprecated int getThrottle()
@Deprecated boolean isIpForward()
@Deprecated String getFavicon()
Favicon getFaviconObject()
boolean isLogInitialHandlerConnections()
String getGameVersion()
boolean isUseNettyDnsResolver()
int getTabThrottle()
boolean isDisableModernTabLimiter()
boolean isDisableEntityMetadataRewrite()
boolean isDisableTabListRewrite()
true
if tablist rewriting is disabled, false
otherwiseCopyright © 2021. All rights reserved.