Message Broadcast
The Message Broadcast server mod provides a convenient tool for setting up automatic message broadcasting to players. Each announcement can be individually configured to meet specific requirements.
Advanced Configuration Options
All settings are stored in the serverconfig/message_broadcast folder. The main configuration file is an array of messages where you can specify the text, display time, and additional parameters for each notification.
Example configuration with different message types:
[
{
"message": {
"text": "First example message",
"bold": true,
"italic": true
},
"time": 10,
"open_url": true,
"url": "https://example.com"
},
{
"message": "Second example message",
"time": 30
}
]
Broadcasting Operation Modes
By default, the module operates in asynchronous mode, allowing multiple messages to be displayed simultaneously without conflicts.
If synchronous operation mode is required, settings can be modified in the message_broadcast_config.json file:
{
"async": false, // Default: true, uses the time specified in the message
"time_for_sync": 300 // this time is in seconds. Default 300s = 5 minutes
}