Sueta

RestartCountdown

1.2.0

A Plugin that restarts the Server with a Countdown to warn the players.

·Plugin
Tested MC versions
1.20, 1.21, 26.1, 26.2, 26.3

Modrinth Downloads Modrinth Version

RestartCountdownPlugin

A simple Minecraft plugin that restarts the server after a countdown to warn all players.
Made for Paper Server.

Plugin can be downloaded from Modrinth:
https://modrinth.com/plugin/restartcountdown

How to use it

For example, with “/restartserver 20s” you start a countdown with 20 seconds. Minutes are also possible with “/restartserver 10m”.
With “/restartserver stop” you stop the current countdown.

Configuration

All messages can be customized in config.yml!

[!NOTE]
Only MiniMessage is supported!


# Config

messages:
  start: "<green>Attention! The Server is restarting in <yellow><time></yellow>"
  stop: "<red>Countdown stopped"
  restart: "<red>Server is restarting now!"
  invalid_time: "<red>Invalid time!"
  usage: "<red>Usage: /restartserver <time> or /restartserver stop"
  no_countdown: "<red>No countdown is running!"

  # dynamic alerts
  half: "<yellow>Restart in <time>!"
  minute: "<yellow>Restart in <time>!"
  seconds_20: "<yellow>Restart in 20s!"
  seconds_final: "<red>The Server is restarting in <time> seconds!"

  # fixed alerts
  fixed_1200: "<yellow>Restart in 20m!"
  fixed_600: "<yellow>Restart in 10m!"
  fixed_300: "<yellow>Restart in 5m!"

Similar projects

Plugin →