Package org.bukkit.event.player
Class PlayerJoinEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerJoinEvent
public class PlayerJoinEvent extends PlayerEvent
Called when a player joins a server
- 
Nested Class Summary
- 
Field Summary
- 
Constructor SummaryConstructors Constructor Description PlayerJoinEvent(Player playerJoined, String joinMessage)
- 
Method SummaryModifier and Type Method Description static HandlerListgetHandlerList()HandlerListgetHandlers()StringgetJoinMessage()Gets the join message to send to all online playersvoidsetJoinMessage(String joinMessage)Sets the join message to send to all online players
- 
Constructor Details
- 
Method Details- 
getJoinMessageGets the join message to send to all online players- Returns:
- string join message. Can be null
 
- 
setJoinMessageSets the join message to send to all online players- Parameters:
- joinMessage- join message. If null, no message will be sent
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-