Package net.md_5.bungee.api.config
Class ListenerInfo
- java.lang.Object
-
- net.md_5.bungee.api.config.ListenerInfo
-
public class ListenerInfo extends Object
Class representing the configuration of a server listener. Used for allowing multiple listeners on different ports.
-
-
Constructor Summary
Constructors Constructor Description ListenerInfo(InetSocketAddress host, String motd, int maxPlayers, int tabListSize, List<String> serverPriority, boolean forceDefault, Map<String,String> forcedHosts, String tabListType, boolean setLocalAddress, boolean pingPassthrough, int queryPort, boolean queryEnabled)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetDefaultServer()Deprecated.replaced byserverPriorityStringgetFallbackServer()Deprecated.replaced byserverPriorityInetSocketAddressgetHost()Deprecated.BungeeCord can listen via Unix domain sockets
-
-
-
Constructor Detail
-
ListenerInfo
@Deprecated public ListenerInfo(InetSocketAddress host, String motd, int maxPlayers, int tabListSize, List<String> serverPriority, boolean forceDefault, Map<String,String> forcedHosts, String tabListType, boolean setLocalAddress, boolean pingPassthrough, int queryPort, boolean queryEnabled)
Deprecated.
-
-
Method Detail
-
getDefaultServer
@Deprecated public String getDefaultServer()
Deprecated.replaced byserverPriorityGets the highest priority server to join.- Returns:
- default server
-
getFallbackServer
@Deprecated public String getFallbackServer()
Deprecated.replaced byserverPriorityGets the second highest priority server to join, or else the highest priority.- Returns:
- fallback server
-
getHost
@Deprecated public InetSocketAddress getHost()
Deprecated.BungeeCord can listen via Unix domain socketsGets the bind address as an InetSocketAddress if possible.- Returns:
- bind host
-
-