📢 Announcements
Announcements broadcast rotating messages to all online players at a configurable interval. Supports color codes and a custom prefix.
To enable: set
enableAnnouncements: true in general.json. Configure messages in announcements.json.
Jump to
⚙️ How it works
- Voidium loads the list of announcements from config
- Every
announcementIntervalMinutes(default 30), the next message in the list is broadcast to all online players - Messages rotate in order — after the last message, it loops back to the first
- Each message is prefixed with the configurable
prefix
📝 Configuration
File: config/voidium/announcements.json
| Field | Type | Default | Description |
|---|---|---|---|
announcements |
string[] | ["&bWelcome to the server!", "&eDon't forget to visit our website!"] |
List of messages to rotate |
announcementIntervalMinutes |
int | 30 |
Minutes between broadcasts (0 = disabled) |
prefix |
string | &8[&bVoidium&8]&r |
Prefix prepended to every message |
Example config
{
"announcements": [
"&bWelcome to the server!",
"&eDon't forget to visit our website!",
"&aUse /ticket to contact staff!"
],
"announcementIntervalMinutes": 15,
"prefix": "&8[&bServer&8]&r "
}
Color codes
Use & for color codes:
| Code | Color | Code | Style |
|---|---|---|---|
&0–&9 |
Black to Blue | &l |
Bold |
&a–&f |
Green to White | &o |
Italic |
&n |
Underline | ||
&r |
Reset |
⌨️ Commands
| Command | Permission | Description |
|---|---|---|
/voidium announce <message> |
OP | Send a one-time broadcast to all players |
The manual broadcast uses the configured prefix.