Description
ServerStopper for Minecraft 1.21.1 NeoForge
What it does:
- Server-side only mod.
- Stops the dedicated server at configured times.
- Sends configurable countdown warning messages.
- Uses your server computer's local time.
Config:
After the server starts once, stop the server, then edit:
config\serverstopper-server.toml
Then restart your server
Example config:
[server_stop_settings]
stopTimes = ["06:00", "12:00", "18:00", "23:55"]
warningSeconds = [3600, 1800, 900, 600, 300, 60, 30, 10]
messagePrefix = "[Server Stop]"
warningMessage = "Server restart in {time} {unit}! Please get to safety."
finalMessage = "Server restarting NOW! Rejoin in a moment."
Placeholders for warningMessage:
{time} = converted time number, like 5
{unit} = seconds, minutes, or hours
{seconds} = raw seconds left
Examples:
warningMessage = "Restart in {time} {unit}!"
warningMessage = "Server reboot in {seconds} seconds."
Times must use 24-hour format in the config.
Commands
- /serverstopper test - let you see if the mod is loaded and working.
- /serverstopper now - displays what time the server sees.
- /serverstopper next - Displays the next scheduled time the server stops, also shows how long till the next stop.
You are able to add this mod to your server modpack.


