Network Full
The NetworkFullEvent
is used for monitoring and managing when the network is full.
Methods
getPlayerName()
Returns the name of the player attempting to connect.getPlayerUniqueId()
Returns the uuid of the player attempting to connect.isPlayerLegacy()
Returns if the player's connection is legacy.isPlayerOnlineMode()
Returns if the player's connection is online mode (premium).getPlayerClientVersion()
Returns the player's client version as aninteger
.getOnlinePlayers()
Returns the number of current online players.getMaxPlayers()
Returns the number of maximum online players.
Code example
Last updated