Uses of Enum Class
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 class with the specified name.static PlayerLoginEvent.Result[]
PlayerLoginEvent.Result.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
PlayerLoginEvent.disallow
(@NotNull PlayerLoginEvent.Result result, @NotNull String message) Deprecated.void
PlayerLoginEvent.disallow
(@NotNull PlayerLoginEvent.Result result, Component message) Disallows the player from logging in, with the given reasonvoid
PlayerLoginEvent.setResult
(@NotNull PlayerLoginEvent.Result result) Sets the new result of the login, as an enumModifierConstructorDescriptionPlayerLoginEvent
(@NotNull Player player, @NotNull String hostname, @NotNull InetAddress address, @NotNull PlayerLoginEvent.Result result, @NotNull String message, @NotNull InetAddress realAddress) PlayerLoginEvent
(@NotNull Player player, @NotNull String hostname, @NotNull InetAddress address, @NotNull PlayerLoginEvent.Result result, Component message, @NotNull InetAddress realAddress) This constructor pre-configures the event with a result and message
PlayerLoginEvent.disallow(Result, net.kyori.adventure.text.Component)