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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Collection<String>getDisabledCommands()Deprecated.A collection of disabled commands.StringgetFavicon()Deprecated.Use #getFaviconObject instead.FavicongetFaviconObject()Deprecated.The favicon used for the server ping list.Collection<ListenerInfo>getListeners()Deprecated.Set of all listeners.intgetPlayerLimit()Deprecated.Returns the player max.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.Map<String,ServerInfo>getServers()Deprecated.Set of all servers.intgetThrottle()Deprecated.intgetTimeout()Deprecated.Time before users are disconnected due to no network activity.StringgetUuid()Deprecated.UUID used for metrics.booleanisIpForward()Deprecated.booleanisLogCommands()Deprecated.Whether proxy commands are logged to the proxy log.booleanisOnlineMode()Deprecated.Does the server authenticate with Mojang.
-
-
-
Method Detail
-
getTimeout
int getTimeout()
Deprecated.Time before users are disconnected due to no network activity.- Returns:
- timeout
-
getUuid
String getUuid()
Deprecated.UUID used for metrics.- Returns:
- uuid
-
getListeners
Collection<ListenerInfo> getListeners()
Deprecated.Set of all listeners.- Returns:
- listeners
-
getServers
Map<String,ServerInfo> getServers()
Deprecated.Set of all servers.- Returns:
- servers
-
isOnlineMode
boolean isOnlineMode()
Deprecated.Does the server authenticate with Mojang.- Returns:
- online mode
-
isLogCommands
boolean isLogCommands()
Deprecated.Whether proxy commands are logged to the proxy log.- Returns:
- log commands
-
getRemotePingCache
int getRemotePingCache()
Deprecated.Time in milliseconds to cache server list info from a ping request from the proxy to a server.- Returns:
- cache time
-
getPlayerLimit
int getPlayerLimit()
Deprecated.Returns the player max.- Returns:
- player limit
-
getDisabledCommands
Collection<String> getDisabledCommands()
Deprecated.A collection of disabled commands.- Returns:
- disabled commands
-
getServerConnectTimeout
int getServerConnectTimeout()
Deprecated.Time in milliseconds before timing out a clients request to connect to a server.- Returns:
- connect timeout
-
getRemotePingTimeout
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.- Returns:
- ping timeout
-
getThrottle
@Deprecated int getThrottle()
Deprecated.The connection throttle delay.- Returns:
- throttle
-
isIpForward
@Deprecated boolean isIpForward()
Deprecated.Whether the proxy will parse IPs with spigot or not.- Returns:
- ip forward
-
getFavicon
@Deprecated String getFavicon()
Deprecated.Use #getFaviconObject instead.The encoded favicon.- Returns:
- favicon
-
getFaviconObject
Favicon getFaviconObject()
Deprecated.The favicon used for the server ping list.- Returns:
- favicon
-
-