Hooks
Hooks provided by the Join Leave Messages module for managing player join/leave notifications.
Overview
The Join Leave Messages module adds announcements when players join, notifications on disconnect, improved community awareness, relay of messages to discord, and per-player toggle to hide messages.. It provides comprehensive hook integration for customizing managing player join/leave notifications and extending functionality.
JoinLeaveMessageSent
đ Purpose
Called when a join or leave message is sent to players.
â° When Called
After the message is displayed to all players.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player who joined or left |
isLeaving |
boolean | True if leaving, false if joining |
message |
string | The message that was sent |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Join Leave Messages module adds announcements when players join, notifications on disconnect, improved community awareness, relay of messages to discord, and per-player toggle to hide messages.. It provides comprehensive hook integration for customizing managing player join/leave notifications and extending functionality.
PreJoinLeaveMessageSent
đ Purpose
Called before a join or leave message is sent.
â° When Called
Before the message is displayed to players.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player who joined or left |
isLeaving |
boolean | True if leaving, false if joining |
message |
string | The message that will be sent |
âŠī¸ Returns
nil
đ Realm
Server