public class PlayerQuitEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerQuitEvent(Player who,
String quitMessage) |
Modifier and Type | Method and 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
|
getPlayer
callEvent, getEventName, isAsynchronous
public String getQuitMessage()
public void setQuitMessage(String quitMessage)
quitMessage
- quit messagepublic HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.