AutoBroadcast
PluginMIT

AutoBroadcast

AutoBroadcast adds scheduled messages for your server!

5
Downloads
0
Followers
2 months ago
Updated
📦
1
Versions

📖About AutoBroadcast

AutoBroadcast

PaperMC 1.21.11
Java 21
Lightweight

AutoBroadcast is a lightweight and efficient Paper plugin that allows server operators to create automated, repeating chat messages with fully customizable time intervals. Ideal for reminders, announcements, and general server information — without unnecessary disk writes or bloated configuration files.

Built for modern Paper servers, AutoBroadcast focuses on simplicity, performance, and reliability.


✨ Features

  • Dynamic interval parsing
    • Any number + M for minutes (e.g., 15M)
    • Any number + H for hours (e.g., 1H)
  • Independent scheduler per message
  • Persistent broadcasts across restarts
  • No config.yml required
  • Optimized saving system
    • Saves only on add, remove, reload, or shutdown
    • No constant disk writes
  • Simple permission system
    • autobroadcast.admin (default: op)

📜 Commands

Command Description Example
/broadcast add <interval> <message> Adds a new repeating broadcast /broadcast add 15M Server restarting soon!
/broadcast remove <id> Removes a broadcast by ID /broadcast remove 2
/broadcast list Lists all active broadcasts /broadcast list
/broadcast reload Reloads broadcasts from file /broadcast reload

Permission:
autobroadcast.admin (default: op)


📦 Installation

  1. Download the latest version of AutoBroadcast.
  2. Place the .jar file into your server’s plugins folder.
  3. Restart your Paper server.
  4. Use /broadcast add to begin creating automated messages.

No additional configuration is required.


✅ Requirements

  • Paper 1.21.11
  • Java 21
  • Modern Paper server environment

💾 Data Storage

All broadcasts are stored in:

plugins/AutoBroadcast/data/broadcasts.yml

The file is automatically created and managed by the plugin.
Data is saved only when necessary to maintain optimal performance.

Example broadcasts.yml

broadcasts:
  1:
    interval: 15M
    message: "Server restarting soon!"
  2:
    interval: 1H
    message: "Remember to read the rules."

Each broadcast:

  • Has a unique numeric ID
  • Stores its own interval
  • Runs on its own independent scheduler

🛠 Troubleshooting

Invalid Interval

Intervals must follow this format:

  • 15M
  • 1H

Other formats will be rejected.

No Messages Broadcasting

  • Run /broadcast list to confirm broadcasts exist.
  • Ensure the interval format is correct.
  • Wait for the configured interval duration.

Permission Errors

Make sure you are:

  • An operator, or
  • Assigned the autobroadcast.admin permission

AutoBroadcast keeps announcements simple, clean, and efficient.

Enjoy easy, lag-free announcements!