public interface ProxyConfig
Modifier and Type | Method and Description |
---|---|
List<String> |
getAttemptConnectionOrder()
Get the order of servers that players will be connected to.
|
int |
getCompressionLevel()
Get the level of compression that packets will be compressed to.
|
int |
getCompressionThreshold()
Get the minimum compression threshold for packets.
|
int |
getConnectTimeout()
Get how long this proxy will wait for a connection to be established before timing it out.
|
Optional<Favicon> |
getFavicon()
Get the proxy favicon shown in the tablist.
|
Map<String,List<String>> |
getForcedHosts()
Get forced servers mapped to a given virtual host.
|
int |
getLoginRatelimit()
Get the limit for how long a player must wait to log back in.
|
Component |
getMotdComponent()
Get the MOTD component shown in the tab list.
|
String |
getQueryMap()
Get the map name reported to GameSpy 4 query services.
|
int |
getQueryPort()
Get the port GameSpy 4 queries are accepted on.
|
int |
getReadTimeout()
Get how long this proxy will wait until performing a read timeout.
|
Map<String,String> |
getServers()
Get a Map of all servers registered in
velocity.toml . |
int |
getShowMaxPlayers()
Get the maximum players shown in the tab list.
|
boolean |
isAnnounceForge()
Get whether this proxy displays that it supports Forge/FML.
|
boolean |
isOnlineMode()
Get whether the proxy is online mode.
|
boolean |
isQueryEnabled()
Whether GameSpy 4 queries are accepted by the proxy.
|
boolean |
shouldQueryShowPlugins()
Whether GameSpy 4 queries should show plugins installed on Velocity by default.
|
boolean isQueryEnabled()
int getQueryPort()
String getQueryMap()
boolean shouldQueryShowPlugins()
Component getMotdComponent()
int getShowMaxPlayers()
boolean isOnlineMode()
Map<String,String> getServers()
velocity.toml
. This method does
not return all the servers currently in memory, although in most cases it
does. For a view of all registered servers, see ProxyServer.getAllServers()
.List<String> getAttemptConnectionOrder()
Map<String,List<String>> getForcedHosts()
int getCompressionThreshold()
int getCompressionLevel()
int getLoginRatelimit()
Optional<Favicon> getFavicon()
boolean isAnnounceForge()
int getConnectTimeout()
int getReadTimeout()