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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayerJoinEvent
public PlayerJoinEvent(Player playerJoined,
String joinMessage)
getJoinMessage
public String getJoinMessage()
- Gets the join message to send to all online players
- Returns:
- string join message
setJoinMessage
public void setJoinMessage(String joinMessage)
- Sets the join message to send to all online players
- Parameters:
joinMessage
- join message
getHandlers
public HandlerList getHandlers()
- Specified by:
getHandlers
in class Event
getHandlerList
public static HandlerList getHandlerList()
Copyright © 2013. All Rights Reserved.