public class PlayerJoinEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerJoinEvent(Player playerJoined,
String joinMessage) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
String |
getJoinMessage()
Gets the join message to send to all online players
|
void |
setJoinMessage(String joinMessage)
Sets the join message to send to all online players
|
getPlayer
callEvent, getEventName, isAsynchronous
public String getJoinMessage()
public void setJoinMessage(String joinMessage)
joinMessage
- join messagepublic HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.