Uses of Enum Class
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 class with the specified name.static PlayerPreLoginEvent.Result[]
PlayerPreLoginEvent.Result.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
AsyncPlayerPreLoginEvent.disallow
(PlayerPreLoginEvent.Result result, @NotNull String message) Deprecated.This method uses a deprecated enum fromPlayerPreLoginEvent
void
AsyncPlayerPreLoginEvent.disallow
(PlayerPreLoginEvent.Result result, Component message) Deprecated.This method uses a deprecated enum fromPlayerPreLoginEvent
void
PlayerPreLoginEvent.disallow
(@NotNull PlayerPreLoginEvent.Result result, @NotNull String message) void
PlayerPreLoginEvent.disallow
(@NotNull PlayerPreLoginEvent.Result result, Component 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
(@NotNull PlayerPreLoginEvent.Result result) Deprecated.Sets the new result of the login, as an enum
PlayerPreLoginEvent