A schedule warns the players with Broadcast, saves with SaveWorld, then restarts the server. Stopping and restarting also save the game before closing the server.
GamePanelSystemSchedulesCreate, pick Blank Schedule, Continue, then the name, frequency and time, and Create Schedule.
On the schedule page, Create Task adds an action. Add them in this order, with the Time Offset (seconds) shown:
Send command
Broadcast Server restart in 15 minutes, offset 0.Send command
Broadcast Server restart in 5 minutes, offset 600.Send command
Broadcast Server restart in 1 minute, offset 240.Send command
SaveWorld, offset 50.Send power action, Restart the server, offset 10.
Trigger runs it right away to try it, restart included.
Common errors
- Keep
SaveWorldin the schedule anyway: the game is saved even if the shutdown goes wrong. - The server restarts around 05:15 for a schedule at 05:00: each offset counts from the previous action.