Uses of Enum Class
org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result
-
Uses of AsyncPlayerPreLoginEvent.Result in org.bukkit.event.player
Modifier and TypeMethodDescriptionAsyncPlayerPreLoginEvent.getLoginResult()
Gets the current result of the login, as an enumReturns the enum constant of this class with the specified name.static AsyncPlayerPreLoginEvent.Result[]
AsyncPlayerPreLoginEvent.Result.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
AsyncPlayerPreLoginEvent.disallow(@NotNull AsyncPlayerPreLoginEvent.Result result, @NotNull String message)
Deprecated.void
AsyncPlayerPreLoginEvent.disallow(@NotNull AsyncPlayerPreLoginEvent.Result result, Component message)
Disallows the player from logging in, with the given reasonvoid
AsyncPlayerPreLoginEvent.setLoginResult(@NotNull AsyncPlayerPreLoginEvent.Result result)
Sets the new result of the login, as an enum
AsyncPlayerPreLoginEvent.disallow(org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result, net.kyori.adventure.text.Component)