An Endstone plugin that periodically broadcasts configurable messages to all online players.
- Cycle through a list of messages at a configurable interval.
- Choose between sequential (ordered) or random broadcast mode.
- Optional colour-coded prefix applied to every message.
- Reload configuration live with
/autobroadcast reload— no server restart required. - Zero console spam on startup/shutdown.
- Build the plugin with CMake (see Building).
- Copy the resulting
AutoBroadcast.dll/libAutoBroadcast.sointo the server'splugins/folder. - Start (or restart) the server.
A defaultconfig.ymlis created automatically inplugins/AutoBroadcast/.
plugins/AutoBroadcast/config.yml is created on first start with sensible defaults:
# How many seconds between each broadcast message. Minimum: 1
interval: 60
# Message order: sequential (default) or random
order: sequential
# Prefix prepended to every message. Supports § colour codes. Leave empty to disable.
prefix: "§6[Info] §r"
# Messages to cycle through. § colour codes are supported.
messages:
- "§aWelcome to the server! Type /help for a list of commands."
- "§ePlease respect all players and follow the server rules."
- "§bHaving trouble? Ask a staff member for help!"| Key | Type | Default | Description |
|---|---|---|---|
interval |
integer | 60 |
Seconds between broadcasts (minimum 1). |
order |
string | sequential |
sequential — messages in order; random — random pick each time. |
prefix |
string | §6[Info] §r |
Prepended to every message. Set to "" to disable. |
messages |
list | (3 examples) | List of strings to broadcast. |
Minecraft colour codes (§a, §b, …) work in both prefix and messages.
| Command | Description | Permission |
|---|---|---|
/autobroadcast reload |
Reload config.yml without restarting. |
autobroadcast.command.reload |
| Permission | Default | Description |
|---|---|---|
autobroadcast.command.reload |
Operator | Allows running /autobroadcast reload. |
cmake -B build -S .
cmake --build build --config ReleaseThe plugin binary will be in build/ (exact path depends on platform).
MIT — see LICENSE.