SmartRestart
PluginMIT

SmartRestart

Schedule server restarts and stops with a single command — every player sees a live countdown BossBar in exact minutes and seconds with dynamic color warnings and sounds.

106
Downloads
0
Followers
3 months ago
Updated
📦
1
Versions

📖About SmartRestart

🔄 SmartRestart

SmartRestart is a clean, lightweight and fully configurable server restart and stop countdown plugin. Admins schedule a restart or stop with a single command — every online player immediately sees a live BossBar counting down in exact minutes and seconds. No complicated setup, no database, just drop it in and go.

The BossBar color changes dynamically as time runs out, warning sounds play at configurable intervals and a title flashes on screen in the final seconds. Everything — colors, sounds, warning intervals, kick messages and language — is controlled through a single config.yml.


⌨️ Commands

Command Alias Permission Description Default
/srestart <minutes> /rs smartrestart.admin Schedule a server restart countdown 🔒 OP
/sstop <minutes> /stop smartrestart.admin Schedule a server stop countdown 🔒 OP
/scancel /cancelrestart smartrestart.admin Cancel the active countdown 🔒 OP

🔐 Permissions

Permission Default Description
smartrestart.admin OP Schedule and cancel countdowns
smartrestart.notify All Receives the BossBar and chat warnings
smartrestart.bypass Off Not kicked when the server restarts or stops

🌈 BossBar Behavior

Remaining Time Bar Color
> 2 minutes 🟢 Green
≤ 2 minutes 🟡 Yellow
≤ 30 seconds 🔴 Red
≤ 5 seconds 🔴 Red + SOLID style

The BossBar title always shows the exact remaining time in MM:SS format — or HH:MM:SS for longer countdowns.


⚙️ Config Features

settings:
  language: de                 # en, de

  restart-kick-message: "..."  # Message shown to players when kicked
  stop-kick-message: "..."

  warn-at-seconds:             # Chat warnings at these remaining seconds
    - 300
    - 120
    - 60
    - 30
    - 10
    - 5
    - 4
    - 3
    - 2
    - 1

  bossbar-color-green-above-seconds: 120
  bossbar-color-yellow-above-seconds: 30

  warn-sound: BLOCK_NOTE_BLOCK_PLING
  final-sound: ENTITY_WITHER_SPAWN

  show-title-at-seconds: 10    # Title + subtitle shown in final N seconds
  announce-cancel: true        # Broadcast when countdown is cancelled
  • Switch between English and German with one line
  • Configurable warning intervals — chat message at any remaining second you define
  • Dynamic BossBar color — green → yellow → red as time runs out
  • Title display in the final seconds with configurable threshold
  • Sound effects at every warning and on server shutdown
  • Bypass permission — admins stay connected during restart
  • Players who join during a countdown immediately see the BossBar
  • All messages fully customizable per language in config.yml

🌍 Language Support

Code Language
en 🇬🇧 English
de 🇩🇪 Deutsch

🖥️ Compatibility

Server Software Version Supported
Paper 1.21 – 1.21.1+
Purpur 1.21 – 1.21.1+
Spigot 1.21 – 1.21.1+
Bukkit 1.21 – 1.21.1+
Folia 1.21 – 1.21.1+

Java 21 required.


💬 Support & Updates: Join our Discord