endstone::PlayerJoinEvent
Called when a player joins a server.
Bases: endstone::PlayerEvent
Functions:
| Name | Description |
|---|---|
PlayerJoinEvent | |
getJoinMessage | Gets the join message to send to all online players. |
setJoinMessage | Sets the join message to send to all online players. |
PlayerJoinEvent
PlayerJoinEvent(Player &player, std::optional<Message> join_message) getJoinMessage
std::optional<Message> getJoinMessage() constGets the join message to send to all online players.
Returns:
Message to appear to other players on the server.
setJoinMessage
void setJoinMessage(std::optional<Message> message)Sets the join message to send to all online players.
Parameters:
messageMessage to appear to other players on the server.
Last updated on