ZRestart — lightweight Paper restart scheduler for 26.1+
Hey all,
I've been running a server on Paper 26.1 and wanted a restart scheduler that just did the basics well, without extra nonsense (kind of a pain point I've had with a lot of public plugins). Most of what I found was either abandoned, bundled with stuff I didn't need, or hadn't been updated for the new 26.x versioning yet. So I wrote my own and figured I'd share in case anyone else is in the same spot.
It's called ZRestart. Paper-only, targets 26.1.2+.
What it does:
- Daily or weekday-specific scheduled restarts using entries like
Daily;05;00;Daily maintenanceorFriday;22;00 /zrestart now 30m Maintenancefor ad-hoc restarts, plusdelayandstop- Countdown warnings via chat, titles, boss bar, and sounds. They all share one warning-times list, so you set thresholds once instead of configuring four separate channels
- Pre-restart console commands with CONTINUE or ABORT failure behavior
- Every player/admin/console string lives in
messages.yml. Nothing hardcoded - MiniMessage and legacy
&color codes both work - Optional PlaceholderAPI support (not bundled, just consumes placeholders if PAPI is installed)
- Versioned
config.ymlandmessages.ymlwith timestamped backups when the plugin migrates schemas, so updates don't blow away your settings
What it doesn't do, so nobody wastes time:
- No Spigot, no Folia, no proxies (Velocity/Bungee), no old MC versions
- Doesn't kick players or skip empty-server restarts
- Doesn't expose its own PAPI expansion
- Uses
Bukkit.restart()directly, so yourspigot.ymlrestart-scriptneeds to be valid or the server will just stop instead of restarting. It logs a warning on boot if the setup looks unsafe
I was honestly stalling on writing this whole plugin because for the longest time my server used UltimateAutoRestart which worked just fine - but as of me writing this, still hasn't updated to 26.x
Download links: (I'd prefer if you used one of these so I know if its actually being used):
https://builtbybit.com/resources/zrestart.106058/
https://hangar.papermc.io/Zenologia/ZRestart
(Modrinth is taking its sweet time approving it)
Repo: https://github.com/Zenologia/ZRestart
Happy to take feedback, especially on the config layout or anything that's not obvious from the README. If you spot something dumb let me know. (I'm gonna do bstats in the future but not a priority since its only 26.1 that is supported anyway)