Uses of Enum
org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result
Packages that use AsyncPlayerPreLoginEvent.Result
-
Uses of AsyncPlayerPreLoginEvent.Result in org.bukkit.event.player
Methods in org.bukkit.event.player that return AsyncPlayerPreLoginEvent.ResultModifier and TypeMethodDescriptionAsyncPlayerPreLoginEvent.getLoginResult()
Gets the current result of the login, as an enumReturns the enum constant of this type with the specified name.static AsyncPlayerPreLoginEvent.Result[]
AsyncPlayerPreLoginEvent.Result.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit.event.player with parameters of type AsyncPlayerPreLoginEvent.ResultModifier and TypeMethodDescriptionvoid
AsyncPlayerPreLoginEvent.disallow
(AsyncPlayerPreLoginEvent.Result result, String message) Disallows the player from logging in, with the given reasonvoid
AsyncPlayerPreLoginEvent.setLoginResult
(AsyncPlayerPreLoginEvent.Result result) Sets the new result of the login, as an enum