HomeJavaModsRestartAnnouncer
RestartAnnouncer
ModsJava

RestartAnnouncer

by MightyFinger77 · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.11 · Folia⬇ Download for 1.20.5–1.20.6 · Folia⬇ Download for 1.21–1.21.11 · Paper⬇ Download for 1.20.6 · Paper⬇ Download for 1.21–1.21.11 · Purpur⬇ Download for 1.20.6 · Purpur
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
RestartAnnouncer — screenshot 1RestartAnnouncer — screenshot 2RestartAnnouncer — screenshot 3

Restart Announcer

Highly configurable restart countdowns for Paper and Folia: chat, boss bar, or title announcements, optional scheduled daily/weekly restarts with reminders, and MiniMessage in messages.yml.

Command: /announcer · Aliases: /ra, /restartannouncer

Requirements

Features

Commands

Command Description
/announcer start <time> [interval] [display] Start a countdown. time / interval: e.g. 10m, 30s, 1h. display: chat (default), bossbar, title.
/announcer stop Cancel the active countdown
/announcer status Show whether a restart is running and time left
/announcer reload Reload config.yml, messages.yml, and re-apply scheduled restart from config
/announcer toggle Flip execute-shutdown in config.yml (reload afterward to fully sync behavior)
/announcer set message <message> Set the main restart announcement (MiniMessage); persists to messages.yml
/announcer update Check for plugin updates (requires announcer.update)
/announcer help Context-sensitive help (players only see subcommands they can use)

Examples

Permissions

Defined in plugin.yml (defaults shown). You can point config keys at custom nodes if your permission plugin uses different names.

Permission Default Purpose
announcer.use true Base command access
announcer.start op Start countdowns
announcer.stop op Stop countdowns
announcer.status op View status
announcer.reload op Reload, toggle, set message
announcer.update op /announcer update
announcer.admin op Parent node grouping the above

config.yml also lists the strings used for start/stop/status/reload checks (defaults match the table).

Configuration

config.yml

Example skeleton:

config_version: 4

update-checker:
  enabled: true

defaults:
  restart-time: 10
  announcement-interval: 60

scheduled-restart:
  enabled: false
  time: "0400"
  recurrence: DAILY
  day-of-week: SUNDAY
  interval-weeks: 1
  week-anchor-date: "2026-01-04"
  reminder-interval-hours: 4
  wait-for-backup: true
  wait-for-backup-delay: 60

shutdown-method: "shutdown"
execute-shutdown: true

permissions:
  start: "announcer.start"
  stop: "announcer.stop"
  status: "announcer.status"
  reload: "announcer.reload"

messages.yml

messages_version: 3

restart-message: "<red><bold>Server will restart in <yellow>%time%<red>!"

scheduled-restart:
  reminder: "<yellow>Next scheduled restart: <white>%time% <gray>(%timezone%)"
  backup-delayed: "<yellow>Restart delayed – backup in progress. Will restart when backup completes."

commands:
  start:
    usage: "<red>Usage: /announcer start <time> <interval> [display]"
    example: "<gray>Example: /announcer start 10m 60s chat"
    invalid-display: "<red>Invalid display type. Use: chat, bossbar, title"
  # … stop, status, reload, help …

Installation

  1. Download the built JAR (mvn package) or a release artifact.
  2. Place it in the server’s plugins folder.
  3. Start the server once to generate config.yml and messages.yml.
  4. Edit config/messages, then /announcer reload (or restart).
  5. Use /announcer help in-game for allowed subcommands.

Updating

Time formats

Examples: 30s, 60s, 5m, 10m, 30m, 1h, 2h, 6h (used for start time and announcement interval).

Shutdown methods

Announcement-only mode

execute-shutdown: false

Announces as usual; at 0 the server does not stop. Use an external script or panel to restart after players are warned.

MiniMessage

messages.yml supports MiniMessage (e.g. <red>, <yellow>, <bold>, <reset>, gradients). Legacy § codes may still appear in a few hard-coded admin strings; prefer MiniMessage in YAML.

Support

Issues and suggestions: use the provided Discord


Plugin does not restart the process by itself when the OS exits — pair with a start script, systemd, or watchdog that brings the server back up.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more