Uses of Enum
org.bukkit.event.player.PlayerPreLoginEvent.Result
-
Uses of PlayerPreLoginEvent.Result in org.bukkit.event.player
Modifier and TypeMethodDescriptionAsyncPlayerPreLoginEvent.getResult()
Deprecated.PlayerPreLoginEvent.getResult()
Deprecated.Gets the current result of the login, as an enumstatic PlayerPreLoginEvent.Result
Returns the enum constant of this type with the specified name.static PlayerPreLoginEvent.Result[]
PlayerPreLoginEvent.Result.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionvoid
AsyncPlayerPreLoginEvent.disallow(PlayerPreLoginEvent.Result result, String message)
Deprecated.This method uses a deprecated enum fromPlayerPreLoginEvent
void
PlayerPreLoginEvent.disallow(PlayerPreLoginEvent.Result result, String message)
Deprecated.Disallows the player from logging in, with the given reasonvoid
AsyncPlayerPreLoginEvent.setResult(PlayerPreLoginEvent.Result result)
Deprecated.This method uses a deprecated enum fromPlayerPreLoginEvent
void
PlayerPreLoginEvent.setResult(PlayerPreLoginEvent.Result result)
Deprecated.Sets the new result of the login, as an enum
PlayerPreLoginEvent