public class PlayerPreLoginEvent extends Event implements Cancellable
| Modifier and Type | Field and Description |
|---|---|
protected String |
kickMessage |
protected PlayerLoginData |
loginData |
| Constructor and Description |
|---|
PlayerPreLoginEvent(PlayerLoginData loginData,
String kickMessage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKickMessage() |
PlayerLoginData |
getLoginData() |
void |
setKickMessage(String kickMessage) |
isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledprotected PlayerLoginData loginData
protected String kickMessage
public PlayerPreLoginEvent(PlayerLoginData loginData, String kickMessage)
public void setKickMessage(String kickMessage)
public String getKickMessage()
public PlayerLoginData getLoginData()
Copyright © 2020. All rights reserved.