public class PlayerQuitEvent extends PlayerEvent
Event.Resultplayer| Constructor | Description |
|---|---|
PlayerQuitEvent(Player who,
String quitMessage) |
| Modifier and Type | Method | Description |
|---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
String |
getQuitMessage() |
Gets the quit message to send to all online players
|
void |
setQuitMessage(String quitMessage) |
Sets the quit message to send to all online players
|
getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayer@Nullable public String getQuitMessage()
public void setQuitMessage(@Nullable
String quitMessage)
quitMessage - quit message@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.