public interface Server extends net.md_5.bungee.api.config.ServerInfo, ClientHandler, ExtraDataHandler
Modifier and Type | Method and Description |
---|---|
void |
addGroup(java.lang.String value)
Add this Server to a Group
|
java.lang.String |
getDisplayName()
Get the Display Name of this Server
|
java.util.Collection<NamedContainer<java.lang.String,java.util.UUID>> |
getGlobalPlayers()
Get players on this server across all known proxies
|
java.util.List<java.lang.String> |
getGroups()
Get this Server's Groups
|
java.lang.String |
getMotd()
Gets the MOTD of the Server
|
java.lang.String |
getSignature()
Get the Signature of this Object
|
boolean |
isHidden()
If the server is hidden from players
|
boolean |
isRestricted()
Gets if the Server is Restricted
|
void |
removeGroup(java.lang.String value)
Remove this Server from a Group
|
void |
setDisplayName(java.lang.String value)
Sets the Display Name for this Server
|
void |
setHidden(boolean value)
Set if the server is hidden from players
|
void |
setMotd(java.lang.String value)
Sets the MOTD of the Server
|
void |
setRestricted(boolean value)
Sets if the Server is Restricted
|
canAccess, getAddress, getName, getPlayers, ping, sendData, sendData
getSubData, setSubData
addExtra, getExtra, getExtra, hasExtra, removeExtra
java.lang.String getDisplayName()
void setDisplayName(java.lang.String value)
value
- Value (or null to reset)java.util.List<java.lang.String> getGroups()
void addGroup(java.lang.String value)
value
- Group namevoid removeGroup(java.lang.String value)
value
- value Group namejava.util.Collection<NamedContainer<java.lang.String,java.util.UUID>> getGlobalPlayers()
boolean isHidden()
void setHidden(boolean value)
value
- Valuejava.lang.String getMotd()
getMotd
in interface net.md_5.bungee.api.config.ServerInfo
void setMotd(java.lang.String value)
value
- Valueboolean isRestricted()
void setRestricted(boolean value)
value
- Valuejava.lang.String getSignature()