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. |
/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. Use /snautorestart cancel before the shutdown is issued to stop it.