public class PlayerJoinEvent extends PlayerEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerJoinEvent(Player playerJoined,
java.lang.String joinMessage) |
Modifier and Type | Method | Description |
---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
java.lang.String |
getJoinMessage() |
Gets the join message to send to all online players
|
void |
setJoinMessage(java.lang.String joinMessage) |
Sets the join message to send to all online players
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
public PlayerJoinEvent(Player playerJoined, java.lang.String joinMessage)
public java.lang.String getJoinMessage()
public void setJoinMessage(java.lang.String joinMessage)
joinMessage
- join messagepublic HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.