# Uses of Enum Class
org.bukkit.event.player.PlayerPreLoginEvent.Result

Packages that use PlayerPreLoginEvent.Result
Package
Description
org.bukkit.event.player
`Events` relating to `players`.

## Uses of PlayerPreLoginEvent.Result in org.bukkit.event.player

Methods in org.bukkit.event.player that return PlayerPreLoginEvent.Result
Modifier and Type
Method
Description
`PlayerPreLoginEvent.Result`
AsyncPlayerPreLoginEvent.`getResult()`
Deprecated.
This method uses a deprecated enum from `PlayerPreLoginEvent`
`@NotNull PlayerPreLoginEvent.Result`
PlayerPreLoginEvent.`getResult()`
Deprecated.
Gets the current result of the login, as an enum
`static PlayerPreLoginEvent.Result`
PlayerPreLoginEvent.Result.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static PlayerPreLoginEvent.Result[]`
PlayerPreLoginEvent.Result.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.
Methods in org.bukkit.event.player with parameters of type PlayerPreLoginEvent.Result
Modifier and Type
Method
Description
`void`
AsyncPlayerPreLoginEvent.`disallow(PlayerPreLoginEvent.Result result, @NotNull String message)`
Deprecated.
This method uses a deprecated enum from `PlayerPreLoginEvent`
`void`
AsyncPlayerPreLoginEvent.`disallow(PlayerPreLoginEvent.Result result, Component message)`
Deprecated.
This method uses a deprecated enum from `PlayerPreLoginEvent`
`void`
PlayerPreLoginEvent.`disallow(@NotNull PlayerPreLoginEvent.Result result, @NotNull String message)`
Deprecated.
in favour of `PlayerPreLoginEvent.disallow(org.bukkit.event.player.PlayerPreLoginEvent.Result, net.kyori.adventure.text.Component)`
`void`
PlayerPreLoginEvent.`disallow(@NotNull PlayerPreLoginEvent.Result result, Component message)`
Deprecated.
Disallows the player from logging in, with the given reason
`void`
AsyncPlayerPreLoginEvent.`setResult(PlayerPreLoginEvent.Result result)`
Deprecated.
This method uses a deprecated enum from `PlayerPreLoginEvent`
`void`
PlayerPreLoginEvent.`setResult(@NotNull PlayerPreLoginEvent.Result result)`
Deprecated.
Sets the new result of the login, as an enum