public class IllegalPacketEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description |
|---|
IllegalPacketEvent(Player player,
String type,
String kickMessage,
Exception e) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExceptionMessage() |
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
String |
getKickMessage() |
String |
getType() |
boolean |
isShouldKick() |
static void |
process(Player player,
String type,
String kickMessage,
Exception exception) |
void |
setKickMessage(String kickMessage) |
void |
setShouldKick(boolean shouldKick) |
getPlayercallEvent, getEventName, isAsynchronouspublic boolean isShouldKick()
public void setShouldKick(boolean shouldKick)
@Nullable public String getKickMessage()
public void setKickMessage(@Nullable
String kickMessage)
@Nullable public String getType()
@Nullable public String getExceptionMessage()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.