Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Schedule customizable, color-coded announcements using cron expressions with optional clickable URLs.
ScheduledAnnouncements
ScheduledAnnouncements is a Minecraft Paper 1.21.1 plugin that allows server administrators to schedule automated announcements using cron expressions.
Features
- Schedule announcements using cron expressions for precise timing.
- Customise announcement prefixes and colors.
- Make announcements clickable with included URLs.
- Reload configuration in-game without restarting the server.
Installation
- Place the
.jar
file in your Minecraft server'splugins
folder. - Restart your server to generate the default configuration file.
- Configure the plugin (see Configuration below).
- Use
/scheduledannouncements reload
to apply changes without restarting.
Configuration
- Open the
plugins/ScheduledAnnouncements/config.yml
file. - Customise the global settings and individual announcements as needed. There are lots of comments in the config file to help guide you.
- Save the file and then run the
/scheduledannouncements reload
command.
Example config.yml
:
settings:
prefix:
text: "[Announcement]"
color: "gold"
message_color: "yellow"
announcements:
server_advertise:
cron: "0 0/30 * * * ?"
message: "Our server is awesome!"
prefix:
text: "[Ad]"
color: "green"
message_color: "aqua"
discord_invite:
cron: "0 0 */3 * * ?"
message: "Join our Discord! | https://discord.gg/yourserver"
prefix:
text: ""
message_color: "light_purple"
Cron Expressions
Cron expressions allow you to schedule announcements with precision. Use this cron expression generator for help.
Format: Second Minute Hour DayOfMonth Month DayOfWeek Year
Examples:
0 0/30 * * * ?
: Every 30 minutes0 0 12 * * ?
: Every day at 12:00 PM0 15 10 ? * MON-FRI
: At 10:15 AM, Monday through Friday
Colors
Use color names from NamedTextColor for customising your announcements.
In-game Commands
/scheduledannouncements reload
: Reloads the plugin configuration.
Tips
- To add a clickable URL, append it to the message after a pipe character (|).
- Invalid cron expressions will be logged as warnings and skipped.
- You can disable the prefix for specific announcements by setting the prefix text to an empty string.
Support Me
Donations will help me with the development of this project.
One-off donation: https://ko-fi.com/lolwhatyesme
Patreon: https://www.patreon.com/lolwhatyesme
Pinned Versions
Pages
Members
Owner