Package net.md_5.bungee.api
Interface ProxyConfig
- 
 @Deprecated public interface ProxyConfig Deprecated.This class is subject to rapid change between releasesCore configuration adaptor for the proxy api.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ServerInfoaddServer(ServerInfo server)Deprecated.Register the given server to the proxy.booleanaddServers(Collection<ServerInfo> servers)Deprecated.Register all of the given servers to the proxy.Collection<String>getDisabledCommands()Deprecated.A collection of disabled commands.StringgetFavicon()Deprecated.Use #getFaviconObject instead.FavicongetFaviconObject()Deprecated.The favicon used for the server ping list.StringgetGameVersion()Deprecated.The supported versionsCollection<ListenerInfo>getListeners()Deprecated.Set of all listeners.intgetPlayerLimit()Deprecated.Returns the player max.intgetPluginChannelLimit()Deprecated.Gets the maximum number of registered plugin channels for any connection.intgetPluginChannelNameLimit()Deprecated.Gets the maximum length for any plugin message channel identifier.intgetRemotePingCache()Deprecated.Time in milliseconds to cache server list info from a ping request from the proxy to a server.intgetRemotePingTimeout()Deprecated.Time in milliseconds before timing out a ping request from the proxy to a server when attempting to request server list info.intgetServerConnectTimeout()Deprecated.Time in milliseconds before timing out a clients request to connect to a server.ServerInfogetServerInfo(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.Map<String,ServerInfo>getServersCopy()Deprecated.Return all servers registered to this proxy, keyed by name.intgetTabThrottle()Deprecated.How often tab-complete packets can be sent.intgetThrottle()Deprecated.intgetTimeout()Deprecated.Time before users are disconnected due to no network activity.StringgetUuid()Deprecated.UUID used for metrics.booleanisDisableEntityMetadataRewrite()Deprecated.booleanisDisableModernTabLimiter()Deprecated.Should we disable the tab completion limit for 1.13+ clientsbooleanisDisableTabListRewrite()Deprecated.Whether tablist rewriting should be disabled or notbooleanisIpForward()Deprecated.booleanisLogCommands()Deprecated.Whether proxy commands are logged to the proxy log.booleanisLogInitialHandlerConnections()Deprecated.Whether we log InitialHandler connectionsbooleanisOnlineMode()Deprecated.Does the server authenticate with Mojang.booleanisUseNettyDnsResolver()Deprecated.Whether Netty's async DNS resolver is used for account authentication.ServerInforemoveServer(ServerInfo server)Deprecated.Un-register the given server from the proxy.ServerInforemoveServerNamed(String name)Deprecated.Un-register the server with the given name from the proxy.booleanremoveServers(Collection<ServerInfo> servers)Deprecated.Un-register all of the given servers from the proxy.booleanremoveServersNamed(Collection<String> names)Deprecated.Un-register servers with any of the given names from the proxy.
 
- 
- 
- 
Method Detail- 
getTimeoutint getTimeout() Deprecated.Time before users are disconnected due to no network activity.- Returns:
- the time before users are disconnected due to no network activity.
 
 - 
getUuidString getUuid() Deprecated.UUID used for metrics.- Returns:
- the UUID used for metrics
 
 - 
getListenersCollection<ListenerInfo> getListeners() Deprecated.Set of all listeners.- Returns:
- a set of all listeners
 
 - 
getServers@Deprecated Map<String,ServerInfo> getServers() Deprecated.The returned map may be modified concurrently by the proxy. The safe alternative isgetServersCopy().Set of all servers.- Returns:
- a map of registered servers
 
 - 
getServersCopyMap<String,ServerInfo> getServersCopy() Deprecated.Return all servers registered to this proxy, keyed by name. The returned map is an immutable snapshot of the actual server collection. It cannot be modified, and it will not change.- Returns:
- all registered remote server destinations
 
 - 
getServerInfoServerInfo getServerInfo(String name) Deprecated.Gets the server info of a server.- Parameters:
- name- the name of the configured server
- Returns:
- the server info belonging to the specified server
 
 - 
addServerServerInfo addServer(ServerInfo server) Deprecated.Register the given server to the proxy. Any currently registered server with the same name will be replaced. This change is not saved to config.yml- Parameters:
- server- The server to register with the proxy
- Returns:
- the previously registered server with the same name, or null if there was no such server.
 
 - 
addServersboolean addServers(Collection<ServerInfo> servers) Deprecated.Register all of the given servers to the proxy. This change is not saved to config.yml- Parameters:
- servers- The collection of servers to register with the proxy
- Returns:
- true if any servers were added or replaced.
 
 - 
removeServerNamedServerInfo removeServerNamed(String name) Deprecated.Un-register the server with the given name from the proxy. This change is not saved to config.yml- Parameters:
- name- The name of the server to unregister
- Returns:
- the server that was removed, or null if there is no server with the given name.
 
 - 
removeServerServerInfo removeServer(ServerInfo server) Deprecated.Un-register the given server from the proxy. The server is matched by name only, other fields in the givenServerInfoare ignored. This change is not saved to config.yml- Parameters:
- server- the server to unregister from the proxy
- Returns:
- the server that was removed, or null if there is no server with a matching name.
 
 - 
removeServersNamedboolean removeServersNamed(Collection<String> names) Deprecated.Un-register servers with any of the given names from the proxy. This change is not saved to config.yml- Parameters:
- names- a collection of server names to be unregistered
- Returns:
- true if any servers were removed.
 
 - 
removeServersboolean removeServers(Collection<ServerInfo> servers) Deprecated.Un-register all of the given servers from the proxy. The servers are matched by name only, other fields in the givenServerInfoare ignored. This change is not saved to config.yml- Parameters:
- servers- a collection of servers to be unregistered
- Returns:
- true if any servers were removed.
 
 - 
isOnlineModeboolean isOnlineMode() Deprecated.Does the server authenticate with Mojang.- Returns:
- if the server authenticates to mojang
 
 - 
isLogCommandsboolean isLogCommands() Deprecated.Whether proxy commands are logged to the proxy log.- Returns:
- should the proxy log commands
 
 - 
getRemotePingCacheint getRemotePingCache() Deprecated.Time in milliseconds to cache server list info from a ping request from the proxy to a server.- Returns:
- cache time
 
 - 
getPlayerLimitint getPlayerLimit() Deprecated.Returns the player max.- Returns:
- player limit
 
 - 
getDisabledCommandsCollection<String> getDisabledCommands() Deprecated.A collection of disabled commands.- Returns:
- a collection of disabled commands
 
 - 
getServerConnectTimeoutint getServerConnectTimeout() Deprecated.Time in milliseconds before timing out a clients request to connect to a server.- Returns:
- connect timeout
 
 - 
getRemotePingTimeoutint getRemotePingTimeout() Deprecated.Time in milliseconds before timing out a ping request from the proxy to a server when attempting to request server list info.- Returns:
- ping timeout
 
 - 
getThrottle@Deprecated int getThrottle() Deprecated.The connection throttle delay.- Returns:
- the connection throttle delay
 
 - 
isIpForward@Deprecated boolean isIpForward() Deprecated.Whether the proxy will forward the players information (UUID, IP)- Returns:
- should we forward player information
 
 - 
getFavicon@Deprecated String getFavicon() Deprecated.Use #getFaviconObject instead.The encoded favicon.- Returns:
- the encoded favicon
 
 - 
getFaviconObjectFavicon getFaviconObject() Deprecated.The favicon used for the server ping list.- Returns:
- the favicon used for the server ping list
 
 - 
isLogInitialHandlerConnectionsboolean isLogInitialHandlerConnections() Deprecated.Whether we log InitialHandler connections- Returns:
- whether we log InitialHandler connections
 
 - 
getGameVersionString getGameVersion() Deprecated.The supported versions- Returns:
- the supported versions
 
 - 
isUseNettyDnsResolverboolean isUseNettyDnsResolver() Deprecated.Whether Netty's async DNS resolver is used for account authentication.- Returns:
- whether Netty's async DNS resolver is used for account authentication.
 
 - 
getTabThrottleint getTabThrottle() Deprecated.How often tab-complete packets can be sent.
 Values in milliseconds.- Returns:
- how often tab-complete packets can be sent in milliseconds
 
 - 
isDisableModernTabLimiterboolean isDisableModernTabLimiter() Deprecated.Should we disable the tab completion limit for 1.13+ clients- Returns:
- should we disable the tab completion limit for 1.13+ clients
 
 - 
isDisableEntityMetadataRewriteboolean isDisableEntityMetadataRewrite() Deprecated.- Returns:
- Should we disable entity metadata rewriting?
 
 - 
isDisableTabListRewriteboolean isDisableTabListRewrite() Deprecated.Whether tablist rewriting should be disabled or not- Returns:
- trueif tablist rewriting is disabled,- falseotherwise
 
 - 
getPluginChannelLimitint getPluginChannelLimit() Deprecated.Gets the maximum number of registered plugin channels for any connection.- Returns:
- the configured limit
 
 - 
getPluginChannelNameLimitint getPluginChannelNameLimit() Deprecated.Gets the maximum length for any plugin message channel identifier.- Returns:
- the configured limit
 
 
- 
 
-