Scheduled Restart
Scheduled and manual server restarts with countdown warnings and a clean kick. Server-side only.
Features
- Restarts at fixed local times every day (
dailyTimes, e.g.04:00,16:00) and/or every N hours since boot (intervalHours). - Countdown warnings in chat at each second mark in
warnSeconds(default 10 min, 5 min, 1 min, 30 s, then 10 to 1). /restart in <duration>(10m, 90s, 1h30m),/restart now,/restart cancel,/restart status. Operators only.- Right before the stop every online player is kicked with the final message, so clients see a clean reason instead of a lost connection (
kickBeforeStop). - Uses the server's own stop, so whatever restarts your server today (start script loop, panel, systemd) brings it back.
- Every schedule decision (next restart armed, scheduled, cancelled, executed) is logged in the console.
Settings
scheduledrestart.properties in the mod's data directory (created on first start):
| Key | Default | Meaning |
|---|---|---|
dailyTimes |
empty | Comma list of HH:mm times in the server's local time zone; empty turns daily restarts off |
intervalHours |
0 |
Restart every N hours counted from server start; 0 turns it off |
warnSeconds |
600,300,60,30,10,5,4,3,2,1 |
Seconds before the restart at which a warning is broadcast |
warnMessage |
Server restarting in {time} |
Warning text; {time} becomes "10 minutes", "30 seconds" and so on |
finalMessage |
Server is restarting now. Back in a minute! |
Broadcast at zero and used as the kick reason |
prefix |
[Server] |
Text in front of every broadcast; empty for none |
color |
#FFAA00 |
Broadcast colour |
kickBeforeStop |
true |
Kick every online player with finalMessage right before stopping |
The mod stops the server; it does not start it again. Keep your usual restart loop (start script, panel or systemd) and it comes straight back.
Install: drop the jar into the server's mods/ folder and restart. Licence: MIT.
Need something custom? I build small server plugins to order from $35 (fixes) and $90 (a new one-feature plugin): https://ko-fi.com/molonlav3/commissions . If this mod saved you time, a coffee helps keep the updates coming: https://ko-fi.com/molonlav3
Updating Hytale? Run the free Update-Ready Check first to see which of your mods will break: https://molonlav3.itch.io/hytale-update-check

