Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Jelly-Pudding

Schedule customizable, color-coded announcements using cron expressions with optional clickable URLs.

Report ScheduledAnnouncements?

Release
1.0.0

Jelly-Pudding released ScheduledAnnouncements version 1.0.0 on October 15, 2024

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

  1. Download the ScheduledAnnouncements-1.0.0.jar file.
  2. Place the JAR file in your Minecraft server's plugins folder.
  3. Restart your server or use the /reload confirm command.
  4. The plugin will generate a default config.yml file in the plugins/ScheduledAnnouncements folder.

Usage

  1. Edit the config.yml file in the plugins/ScheduledAnnouncements folder to set up your announcements.
  2. Use cron expressions to schedule your announcements. For help with cron expressions, visit: https://www.freeformatter.com/cron-expression-generator-quartz.html
  3. Customise colors using color names from NamedTextColor.
  4. 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 onOctober 15, 2024
Downloads6

Platforms

Paper Paper (1.21-1.21.1)