public static interface QueryServerEvent.Full extends QueryServerEvent.Basic
QueryServerEvent.Basic, QueryServerEvent.Full
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getCustomValuesMap()
Gets the map of custom keys and values to respond with.
|
String |
getGameId()
Gets the GameId to respond with.
|
List<String> |
getPlayers()
Gets the list of player names to respond with.
|
String |
getPlugins()
Gets the list of plugins to respond with.
|
String |
getVersion()
Gets the version to respond with.
|
void |
setPlugins(String plugins)
Sets the list of plugins to respond with.
|
void |
setVersion(String version)
Sets the version to respond with.
|
getAddress, getGameType, getMap, getMaxPlayerCount, getMaxSize, getMotd, getPlayerCount, getSize, setAddress, setGameType, setMap, setMaxPlayerCount, setMotd, setPlayerCount
getCause, getContext, getSource
String getGameId()
This is currently hardcoded to MINECRAFT
.
String getVersion()
By default, this is the server's Minecraft version (e.g 1.8.1).
void setVersion(String version)
If setting the string causes the message to go over the maximum size, the message will be automatically truncated.
version
- The version to respond withString getPlugins()
void setPlugins(String plugins)
If setting the string causes the message to go over the maximum size, the message will be automatically truncated.
plugins
- The list of plugins to respond withMap<String,String> getCustomValuesMap()
If settings any of the keys or values causes the message to go over the maximum size, the message will be automatically truncated.