Uses of Enum
org.bukkit.event.player.PlayerLoginEvent.Result
-
Uses of PlayerLoginEvent.Result in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerLoginEvent.getResult()
Gets the current result of the login, as an enumstatic PlayerLoginEvent.Result
Returns the enum constant of this type with the specified name.static PlayerLoginEvent.Result[]
PlayerLoginEvent.Result.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionvoid
PlayerLoginEvent.disallow
(PlayerLoginEvent.Result result, String message) Disallows the player from logging in, with the given reasonvoid
PlayerLoginEvent.setResult
(PlayerLoginEvent.Result result) Sets the new result of the login, as an enumModifierConstructorDescriptionPlayerLoginEvent
(Player player, String hostname, InetAddress address, PlayerLoginEvent.Result result, String message, InetAddress realAddress) This constructor pre-configures the event with a result and message