org.bukkit.event.player
Class PlayerQuitEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerQuitEvent
public class PlayerQuitEvent
- extends PlayerEvent
Called when a player leaves a server
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayerQuitEvent
public PlayerQuitEvent(Player who,
String quitMessage)
getQuitMessage
public String getQuitMessage()
- Gets the quit message to send to all online players
- Returns:
- string quit message
setQuitMessage
public void setQuitMessage(String quitMessage)
- Sets the quit message to send to all online players
- Parameters:
quitMessage
- quit message
getHandlers
public HandlerList getHandlers()
- Specified by:
getHandlers
in class Event
getHandlerList
public static HandlerList getHandlerList()
Copyright © 2013. All Rights Reserved.