
Auto Restart
Adds auto restarting to Minecraft servers.
About this Mod
Version 3.X.X
For older versions of the mod, check the wiki.
This mod restarts the Minecraft server by itself or with an external restart script.
The mod can only be used on the server side and won't work on the client side.
You need a server to play with friends? You don't know how to set up one? Just rent an already configured server!
Click on the picture above, select a plan (with recommended at least 6 GB),
use my code **** to get 25% off your first month and enjoy playing with your friends!
Support

Minecraft versions, for which the mod is not released, are not supported.
You can find a text version here.
Features
- Restarting the server at specified times
- Restarting the server with a delay, if it is empty
- Restarting the server, if the TPS are below a specified level for a specified time
Server Config
- restart – Options for restarting:
- use_external_restart_script – Is the server started by an external restart script?
- restart_command – Command that is executed on Server stopped to restart the server. Only called if "use_external_restart_script" is false.
- auto_restart – Option for auto restarting:
- enabled – Should the Server do automatic restarts?
- times – Times in 24-hour format on which the server will automatically restart. Examples: "14:00", "16:32"
- on_crash – Should the server be automatically restarted when it crashes.
- warning_times – Times before an auto restart of the server, a restart warning should be shown. Examples:
5s– For a message 5 seconds before a restart7m– For a message 7 minutes before a restart2h– For a message 2 hours before a restart
- on_empty_restart – Options for restart, if the server is empty:
- enabled – Should the server restart, if no players are online?
- delay – Delay after the server should restart, if it is empty. Examples:
5s– For a delay 5 seconds7m– For a delay 7 minutes2h– For a delay 2 hours
- low_tps_restart – Options for restart, if the TPS of server or its dimensions are low:
- enabled – Should the server restart, if it is below a TPS level for a specified time?
- minium_tps_level – TPS level below which the server is restarted, if it lasts for the specified time.
- delay – Delay, that the server must be below the defined TPS level, in order for it to be restarted. Examples:
5s– For a delay 5 seconds7m– For a delay 7 minutes2h– For a delay 2 hours
Commands
/restart– Restarts the server
How to set up the mod?
To use the mod, one or more shell (sh or Linux) or batch (bat or cmd on Windows) scripts/files are needed.
To set up everything to use this mod, please check the Setup Guide.
Thanks for the logo to Muse31.
You can use this mod in non-commercial modpacks without asking.
You can find more mods from me on CurseForge or Modrinth.

Available Versions
How to Install Auto Restart on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.10).
Install Mod
Open the mod browser in the dashboard and search for "Auto Restart". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.10, 1.21.9, 1.21.8 (+16 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Auto Restart server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.10). You can switch loaders with one click in the panel.
Is Auto Restart compatible with forge and neoforge?
Auto Restart officially supports forge, neoforge for Minecraft 1.21.10, 1.21.9, 1.21.8. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Auto Restart – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Auto Restart consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Auto Restart with just one click on your server.