Commands
The root command is /snautorestart, with the aliases /sar and /autorestart. The aliases are
configurable in config.yml.
| Command | Permission | Description |
|---|---|---|
/snautorestart time | snautorestart.use | Shows the time left until the next restart. |
/snautorestart restart [time] | snautorestart.admin.restart | Starts a restart countdown. Without a time it uses countdown.force-default. Alias: /snautorestart now [time]. |
/snautorestart cancel | snautorestart.admin.cancel | Cancels the running restart countdown. |
/snautorestart lockdown <on|off> | snautorestart.admin.lockdown | Turns the manual lockdown on or off. |
/snautorestart reload | snautorestart.admin.reload | Reloads the configuration and language files. |
/snautorestart debug | snautorestart.admin.debug | Toggles the debug output. |
/snautorestart help | snautorestart.use | Lists the commands you can use. |
The time argument accepts durations such as 30s, 5m or 1h30m. Run the command with a single
duration: restart 5m works, restart 5 minutes is refused.
/snautorestart restart starts a real server restart. The countdown ends at the restart players see: everyone without
snautorestart.bypass is kicked, and the server shuts down shutdown.delay seconds later. Use /snautorestart cancel
before the shutdown is issued to stop it, also during that wait.