net.md_5.bungee.api.ProxyConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bungeecord-api Show documentation
Show all versions of bungeecord-api Show documentation
API implemented by the Elastic Portal Suite
package net.md_5.bungee.api;
import java.util.Collection;
import java.util.Map;
import net.md_5.bungee.api.config.ListenerInfo;
import net.md_5.bungee.api.config.ServerInfo;
/**
* Core configuration adaptor for the proxy api.
*
* @deprecated This class is subject to rapid change between releases
*/
@Deprecated
public interface ProxyConfig
{
/**
* Time before users are disconnected due to no network activity.
*
* @return timeout
*/
int getTimeout();
/**
* UUID used for metrics.
*
* @return uuid
*/
String getUuid();
/**
* Set of all listeners.
*
* @return listeners
*/
Collection getListeners();
/**
* Set of all servers.
*
* @return servers
*/
Map getServers();
/**
* Does the server authenticate with Mojang.
*
* @return online mode
*/
boolean isOnlineMode();
/**
* Whether proxy commands are logged to the proxy log.
*
* @return log commands
*/
boolean isLogCommands();
/**
* Time in milliseconds to cache server list info from a ping request from
* the proxy to a server.
*
* @return cache time
*/
int getRemotePingCache();
/**
* Returns the player max.
*
* @return player limit
*/
int getPlayerLimit();
/**
* A collection of disabled commands.
*
* @return disabled commands
*/
Collection getDisabledCommands();
/**
* Time in milliseconds before timing out a clients request to connect to a
* server.
*
* @return connect timeout
*/
int getServerConnectTimeout();
/**
* Time in milliseconds before timing out a ping request from the proxy to a
* server when attempting to request server list info.
*
* @return ping timeout
*/
int getRemotePingTimeout();
/**
* The connection throttle delay.
*
* @return throttle
*/
@Deprecated
int getThrottle();
/**
* Whether the proxy will parse IPs with spigot or not.
*
* @return ip forward
*/
@Deprecated
boolean isIpForward();
/**
* The encoded favicon.
*
* @return favicon
* @deprecated Use #getFaviconObject instead.
*/
@Deprecated
String getFavicon();
/**
* The favicon used for the server ping list.
*
* @return favicon
*/
Favicon getFaviconObject();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy