Package | Description |
---|---|
org.bukkit.event.player |
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 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 | Description |
---|---|---|
void |
AsyncPlayerPreLoginEvent.disallow(PlayerPreLoginEvent.Result result,
@NotNull String message) |
Deprecated.
This method uses a deprecated enum from
PlayerPreLoginEvent |
void |
PlayerPreLoginEvent.disallow(@NotNull PlayerPreLoginEvent.Result result,
@NotNull String 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
|
Copyright © 2020. All rights reserved.