Package | Description |
---|---|
org.bukkit.event.player |
Modifier and Type | Method and Description |
---|---|
@NotNull AsyncPlayerPreLoginEvent.Result |
AsyncPlayerPreLoginEvent.getLoginResult()
Gets the current result of the login, as an enum
|
static AsyncPlayerPreLoginEvent.Result |
AsyncPlayerPreLoginEvent.Result.valueOf(String name)
Returns 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.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncPlayerPreLoginEvent.disallow(@NotNull AsyncPlayerPreLoginEvent.Result result,
net.kyori.adventure.text.Component message)
Disallows the player from logging in, with the given reason
|
void |
AsyncPlayerPreLoginEvent.disallow(@NotNull AsyncPlayerPreLoginEvent.Result result,
@NotNull String message)
|
void |
AsyncPlayerPreLoginEvent.setLoginResult(@NotNull AsyncPlayerPreLoginEvent.Result result)
Sets the new result of the login, as an enum
|
Copyright © 2021. All rights reserved.