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.
This is for Paper 1.21.1.
Features
- Schedule announcements using cron expressions
- Customise announcement prefixes and colors
- Set different colors for each announcement
- Make announcements clickable with included URLs
- Reload configuration in-game
Installation
- Download the
ScheduledAnnouncements-1.0.0.jar
file. - Place the JAR file in your Minecraft server's
plugins
folder. - Restart your server or use the
/reload confirm
command. - The plugin will generate a default
config.yml
file in theplugins/ScheduledAnnouncements
folder.
Usage
- Edit the
config.yml
file in theplugins/ScheduledAnnouncements
folder to set up your announcements. - Use cron expressions to schedule your announcements. For help with cron expressions, visit: https://www.freeformatter.com/cron-expression-generator-quartz.html
- Customise colors using color names from NamedTextColor.
- After making changes to the config, use the
/scheduledannouncements reload
command in-game to apply the changes.
Example Configuration
settings:
prefix:
text: "[Announcement]"
color: "gold"
message_color: "yellow"
announcements:
server_advertise:
cron: "0 0/30 * * * ?" # Every 30 minutes
message: "Our server is awesome!"
prefix:
text: "[Ad]"
color: "green"
message_color: "aqua"
discord_invite:
cron: "0 0 */3 * * ?" # Every 3 hours
message: "Join our Discord! | https://discord.gg/yourserver"
prefix:
text: ""
message_color: "light_purple"
Information
Published on | October 15, 2024 |
---|---|
Downloads | 6 |
Platforms
Paper (1.21-1.21.1)