public class PlayerQuitEvent extends PlayerEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerQuitEvent(Player who,
java.lang.String quitMessage) |
Modifier and Type | Method | Description |
---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
java.lang.String |
getQuitMessage() |
Gets the quit message to send to all online players
|
void |
setQuitMessage(java.lang.String quitMessage) |
Sets the quit message to send to all online players
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
public PlayerQuitEvent(Player who, java.lang.String quitMessage)
public java.lang.String getQuitMessage()
public void setQuitMessage(java.lang.String quitMessage)
quitMessage
- quit messagepublic HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.