SnAutoRestart
On this page(3)
Scheduled and forced server restarts with announcements, a closing sequence and commands that run around the restart.
Features
- Restart on a schedule: cron expressions,
daily HH:mmorhourly :mm, in the time zone you choose. - Force a restart at any time with a countdown, and cancel it while there is still time.
- Countdown announcements in chat, as a title, in the action bar and on a boss bar, with a sound.
- Lockdown shortly before the restart: chat, commands and item actions are blocked, with a bypass permission.
- Join lock before the restart and right after boot, so nobody joins a server that is about to stop.
- Console commands before the restart and after every boot.
- At the restart time players are kicked; the server really shuts down
shutdown.delayseconds later, so staff withsnautorestart.bypassstay until the end. - English and Spanish language files, plus PlaceholderAPI placeholders.
- A developer API for other plugins: read the restart state and cancel admin restart and lockdown actions. See Developer API.
Optional integrations
- PlaceholderAPI: unlocks the
%snautorestart_...%placeholders. Without it the plugin works the same and only the placeholders are missing.