BukkitServer¶
Spigot/Paper specific instance of a GenericServer
.
This interface includes a Map of Worlds the server currently has.
This interface is useful for cases where you want to get the worlds of the Server itself, by simply casting your GenericServer instance to a BukkitServer one. Make sure to do proper instanceof checks first before attempting to cast.
Method Summary
Modifier and Type | Method | Description |
---|---|---|
Map |
getWorlds()
|
Returns a Map<String, World> where the key is the name of the World and the value the world of the server. |
Methods inherited from ch.andre601.advancedserverlist.api.objects.GenericServer |
---|
getPlayersOnline()
,
getPlayersMax()
,
getHost()
|