FAQ
On this page(7)
How do I update SnAutoRestart?
Download the newer snautorestart-v* release and replace the jar. Configs
auto-merge on restart.
Does it support Folia?
No, SnAutoRestart is not Folia-compatible. It runs on Paper 1.20.4 and newer, on both 1.20.x and 1.21.x.
Why is the plugin missing from /plugins?
Either SnLib.jar is missing from plugins/, or the key in plugins/SnAutoRestart/license.yml is
still the placeholder. Both are reported in the server log at startup.
How do I schedule a restart?
Add entries to schedule.restarts in config.yml. Each entry is a 5-field cron expression,
daily HH:mm or hourly :mm. Run /snautorestart reload to apply them.
What does min-uptime do?
A scheduled restart is skipped when the server has been up for less time than schedule.min-uptime.
It stops a restart loop right after a boot. Set it to 0 to turn the guard off.
What is the difference between stop and restart?
shutdown.method: stop shuts the server down and leaves the restart to your host. restart runs the
Spigot restart script, and falls back to a plain shutdown when the server cannot restart itself.
Can staff keep working during the lockdown?
Yes. Give them snautorestart.bypass. /snautorestart and its aliases always work.