public class PlayerAsyncPreLoginEvent extends PlayerEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerAsyncPreLoginEvent.LoginResult |
| Constructor and Description |
|---|
PlayerAsyncPreLoginEvent(PlayerLoginData loginData) |
| Modifier and Type | Method and Description |
|---|---|
void |
allow() |
void |
disAllow(String message) |
String |
getKickMessage() |
PlayerLoginData |
getLoginData() |
PlayerAsyncPreLoginEvent.LoginResult |
getLoginResult() |
Player |
getPlayer() |
List<Consumer<Player>> |
getScheduledActions() |
void |
scheduleSyncAction(Consumer<Player> action) |
void |
setKickMessage(String kickMessage) |
void |
setLoginResult(PlayerAsyncPreLoginEvent.LoginResult loginResult) |
isCancelled, setCancelled, setCancelledpublic PlayerAsyncPreLoginEvent(PlayerLoginData loginData)
public PlayerLoginData getLoginData()
public PlayerAsyncPreLoginEvent.LoginResult getLoginResult()
public void setLoginResult(PlayerAsyncPreLoginEvent.LoginResult loginResult)
public String getKickMessage()
public void setKickMessage(String kickMessage)
public void allow()
public void disAllow(String message)
public Player getPlayer()
getPlayer in class PlayerEventCopyright © 2020. All rights reserved.