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

Public Member Functions

 PlayerJoinEvent (final Player playerJoined, final String joinMessage)
String getJoinMessage ()
void setJoinMessage (String joinMessage)
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 joins a server

Definition at line 9 of file PlayerJoinEvent.java.

Member Function Documentation

String org.bukkit.event.player.PlayerJoinEvent.getJoinMessage ( )

Gets the join message to send to all online players

string join message

Definition at line 23 of file PlayerJoinEvent.java.

23  {
24  return joinMessage;
25  }
void org.bukkit.event.player.PlayerJoinEvent.setJoinMessage ( String  joinMessage)

Sets the join message to send to all online players

joinMessagejoin message

Definition at line 32 of file PlayerJoinEvent.java.

32  {
33  this.joinMessage = joinMessage;
34  }

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