Adds a /restart command with a live countdown in the action bar, titles and chat. Schedule, change and cancel restarts.

Type /restart 10m and everybody sees an action bar countdown, titles at 10, 5 and 1 minute and a big countdown for the last 10 seconds. Then the server restarts on its own.
One jar runs on Spigot, Paper, Purpur and Folia, Minecraft 1.21 and newer. Open source under GPLv3, no dependencies.

Features
/restart <time> [reason]with free time input:now,30s,5m,1h30m, with tab completion- Action bar countdown for everybody, also for players who join during the countdown
- Titles at 10, 5 and 1 minute, a title countdown for the last 10 seconds, chat reminders and sounds
- Run the command again during a countdown and it is updated,
+5mand-1mchange it relatively /restart cancel,/restart statusand/restart reload- Automatic restarts at fixed times and weekdays
- Several restart methods: plain shutdown, Spigot restart, a panel API call or any console command
- Replaces the built-in
/restart, so nothing conflicts - 10 languages and every message is editable
- Every display, timing and sound can be changed or switched off
- Works with Bedrock players through Geyser

Commands
| Command | Permission |
|---|---|
/restart <time> [reason] |
betterrestarts.restart |
/restart +<time> and /restart -<time> |
betterrestarts.restart |
/restart cancel |
betterrestarts.cancel |
/restart status |
betterrestarts.status |
/restart reload |
betterrestarts.reload |
All permissions default to operators and work with any permissions plugin.



Configuration
Everything is in config.yml with English comments. Changes apply with /restart reload.

Languages
English, Chinese, Spanish, Hindi, French, Arabic, Portuguese, Russian, German and Japanese are included. Hindi and Arabic are not rendered well by the default Minecraft font. Copy a file in plugins/BetterRestarts/lang to make your own.

Bringing the server back
BetterRestarts can only stop the server. Minecraft cannot start itself again, so your host, panel or start script has to bring it back up. Most hosts do this by default. Details: Restart methods.
Links
BetterRestarts sends anonymous usage statistics to bStats. Turn it off for all plugins in plugins/bStats/config.yml.
Pinned Versions
- R1.21–26.3
Pages
Members
1Developer