Uses of Class
org.bukkit.event.player.PlayerLoginEvent.Result
| Package | Description |
|---|---|
| org.bukkit.event.player |
-
Uses of PlayerLoginEvent.Result in org.bukkit.event.player
Methods in org.bukkit.event.player that return PlayerLoginEvent.Result Modifier and Type Method Description PlayerLoginEvent.ResultPlayerLoginEvent. getResult()Gets the current result of the login, as an enumstatic PlayerLoginEvent.ResultPlayerLoginEvent.Result. valueOf(String name)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.Methods in org.bukkit.event.player with parameters of type PlayerLoginEvent.Result Modifier and Type Method Description voidPlayerLoginEvent. disallow(PlayerLoginEvent.Result result, String message)Disallows the player from logging in, with the given reasonvoidPlayerLoginEvent. setResult(PlayerLoginEvent.Result result)Sets the new result of the login, as an enumConstructors in org.bukkit.event.player with parameters of type PlayerLoginEvent.Result Constructor Description PlayerLoginEvent(Player player, String hostname, InetAddress address, PlayerLoginEvent.Result result, String message, InetAddress realAddress)This constructor pre-configures the event with a result and message