public class PlayerJoinEvent extends PlayerEvent
Event.Resultplayer| 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
|
getPlayercallEvent, getEventName, isAsynchronous@NotNull public String getJoinMessage()
public void setJoinMessage(@NotNull
String joinMessage)
joinMessage - join message@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.