@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.
|
String |
getBrand()
Deprecated.
Returns the brand proxy will send to the client.
|
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 |
getPluginChannelLimit()
Deprecated.
Gets the maximum number of registered plugin channels for any connection.
|
int |
getPluginChannelNameLimit()
Deprecated.
Gets the maximum length for any plugin message channel identifier.
|
String |
getReconnectHandlerType()
Deprecated.
Gets the reconnect handler type
|
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 |
getTCPFastOpenMode()
Deprecated.
Gets the TCP fast open mode
|
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 |
isKickToLobby()
Deprecated.
If this is true, a listener to
ServerKickEvent will be
registered, which will send a kicked player from x server to the first server in ListenerInfo.getServerPriority() |
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 |
isRequireAccess()
Deprecated.
Should al plugin and proxy executed requests for a player to a server require
direct access permission to a server.
|
boolean |
isTCPFastOpenEnabled()
Deprecated.
Returns whenever the TCP fast open mode is enabled.
|
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.
|
boolean |
shouldCheckForGlobalOpIndependently()
Deprecated.
Returns whether or not IvanCord should check for global op independently of
PermissionCheckEvent |
boolean |
shouldPopulatePluginsWhenQuery()
Deprecated.
Returns whether IvanCord should populate with plugins a query.
|
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
otherwiseint getPluginChannelLimit()
int getPluginChannelNameLimit()
boolean isKickToLobby()
ServerKickEvent
will be
registered, which will send a kicked player from x server to the first server in ListenerInfo.getServerPriority()
boolean isTCPFastOpenEnabled()
int getTCPFastOpenMode()
boolean shouldCheckForGlobalOpIndependently()
PermissionCheckEvent
String getReconnectHandlerType()
boolean shouldPopulatePluginsWhenQuery()
String getBrand()
boolean isRequireAccess()
Copyright © 2019–2022. All rights reserved.