Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.player.PlayerQuitEvent Class Reference
Inheritance diagram for org.bukkit.event.player.PlayerQuitEvent:
org.bukkit.event.player.PlayerEvent org.bukkit.event.Event

Public Member Functions

 PlayerQuitEvent (final Player who, final String quitMessage)
String getQuitMessage ()
void setQuitMessage (String quitMessage)
HandlerList getHandlers ()
- Public Member Functions inherited from org.bukkit.event.player.PlayerEvent
 PlayerEvent (final Player who)
final Player getPlayer ()
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 Event (boolean isAsync)
String getEventName ()
abstract HandlerList getHandlers ()
final boolean isAsynchronous ()

Static Public Member Functions

static HandlerList getHandlerList ()

Additional Inherited Members

- Protected Attributes inherited from org.bukkit.event.player.PlayerEvent
Player player

Detailed Description

Called when a player leaves a server

Definition at line 9 of file PlayerQuitEvent.java.

Member Function Documentation

String org.bukkit.event.player.PlayerQuitEvent.getQuitMessage ( )

Gets the quit message to send to all online players

string quit message

Definition at line 23 of file PlayerQuitEvent.java.

23  {
24  return quitMessage;
25  }
void org.bukkit.event.player.PlayerQuitEvent.setQuitMessage ( String  quitMessage)

Sets the quit message to send to all online players

quitMessagequit message

Definition at line 32 of file PlayerQuitEvent.java.

32  {
33  this.quitMessage = quitMessage;
34  }

The documentation for this class was generated from the following file: