Package | Description |
---|---|
org.bukkit.event.player |
Modifier and Type | Method and Description |
---|---|
@NotNull PlayerPreLoginEvent.Result |
PlayerPreLoginEvent.getResult()
Deprecated.
Gets the current result of the login, as an enum
|
PlayerPreLoginEvent.Result |
AsyncPlayerPreLoginEvent.getResult()
Deprecated.
This method uses a deprecated enum from
PlayerPreLoginEvent |
static PlayerPreLoginEvent.Result |
PlayerPreLoginEvent.Result.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerPreLoginEvent.Result[] |
PlayerPreLoginEvent.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 |
PlayerPreLoginEvent.disallow(@NotNull PlayerPreLoginEvent.Result result,
net.kyori.adventure.text.Component message)
Deprecated.
Disallows the player from logging in, with the given reason
|
void |
AsyncPlayerPreLoginEvent.disallow(PlayerPreLoginEvent.Result result,
net.kyori.adventure.text.Component message)
Deprecated.
This method uses a deprecated enum from
PlayerPreLoginEvent |
void |
PlayerPreLoginEvent.disallow(@NotNull PlayerPreLoginEvent.Result result,
@NotNull String message)
|
void |
AsyncPlayerPreLoginEvent.disallow(PlayerPreLoginEvent.Result result,
@NotNull String message)
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
|
void |
AsyncPlayerPreLoginEvent.setResult(PlayerPreLoginEvent.Result result)
Deprecated.
This method uses a deprecated enum from
PlayerPreLoginEvent |
Copyright © 2021. All rights reserved.