AutoAnnouncements¶
The automatic announcements module, as the name suggests, automatically broadcasts announcements to all players.
Announcements can be configured to broadcast only to a subset of players that respect a configurable permission condition.
Configuring¶
AutoAnnouncements can be configured in the autoannouncements
section in the config file.
enable
Whether to enable automatic announcements.
delay
Time in seconds to wait between each announcement.
pick-randomly
Whether to pick announcements in a random order instead of following the list order.
announcements
This list contains the each announcement available to broadcast.
Every entry must have a text
parameter containing the message, if you wish to send the announcement only to a subset of players you can define the permission node and the result it must be.
Example
If an announcement requires that the player has the permission node allow.announcement
, the result
parameter must be true
.
Else you can set result
to false
and it will only be sent to players that do not have that permission node set to true
.
Warning
Omitting the permission
or result
parameters will make it broadcast to everyone regardless.