Auto Restart
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.3% endorsement rate
- 🏆 #113 of 344 forge mods in this game by downloads
📋 About This Mod
## Version 3.X.X For older versions of the mod, check the (https://github.com/GeheimagentNr1/AutoRestart/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! !(https://raw.githubusercontent.com/GeheimagentNr1/Online_Mod_Data/master/images/bisect_hosting_banner.png) Click on the picture above, select a plan (with recommended at least 6 GB), use my code **(https://bisecthosting.com/agent)** to get **25%** off your first month and enjoy playing with your friends! --- ## Support !(https://raw.githubusercontent.com/GeheimagentNr1/Online_Mod_Data/master/Supported_Versions.png) Minecraft versions, for which the mod is not released, are not supported. You can find a text version (https://github.com/GeheimagentNr1/Online_Mod_Data/wiki/Supported-Versions). ## 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 The config file can be found in the "serverconfig" folder in the "world" folder and is named "auto_restart-server.toml". The name of the world folder is set for servers in the "server.properties" file. - **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 restart - `7m` – For a message 7 minutes before a restart - `2h` – 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 seconds - `7m` – For a delay 7 minutes - `2h` – 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 seconds - `7m` – For a delay 7 minutes - `2h` – 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 (https://github.com/GeheimagentNr1/AutoRestart/wiki/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 (https://www.curseforge.com/members/geheimagentnr1/projects) or (https://modrinth.com/user/GeheimagentNr1). !(https://raw.githubusercontent.com/GeheimagentNr1/Online_Mod_Data/master/images/mod_loader_banner.png)
## Version 3. X. X
For older versions of the mod, check the (https://github.com/GeheimagentNr1/AutoRestart/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!
!(https://raw.githubusercontent.com/GeheimagentNr1/Online_Mod_Data/master/images/bisect_hosting_banner.png)
Click on the picture above, select a plan (with recommended at least 6 GB), use my code (https://bisecthosting.com/agent)** to get 25% off your first month and enjoy playing with your friends!
!(https://raw.githubusercontent.com/GeheimagentNr1/Online_Mod_Data/master/Supported_Versions.png)
Minecraft versions, for which the mod is not released, are not supported. You can find a text version (https://github.com/GeheimagentNr1/Online_Mod_Data/wiki/Supported-Versions).
## 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
The config file can be found in the "serverconfig" folder in the "world" folder and is named "auto_restart-server.toml". The name of the world folder is set for servers in the "server.properties" file.
- 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 restart
- - `7m` – For a message 7 minutes before a restart
- - `2h` – 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 seconds
- - `7m` – For a delay 7 minutes
- - `2h` – 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 seconds
- - `7m` – For a delay 7 minutes
- - `2h` – 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 (https://github.com/GeheimagentNr1/AutoRestart/wiki/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 (https://www.curseforge.com/members/geheimagentnr1/projects) or (https://modrinth.com/user/GeheimagentNr1).
!(https://raw.githubusercontent.com/GeheimagentNr1/Online_Mod_Data/master/images/mod_loader_banner.png)
📊 Mod Details
- Game
- Minecraft Mods
- Author
- GeheimagentNr1
- Version
- 1.21.1-3.0.1
- Downloads
- 8,212
- Endorsements
- 27
- Category
- forge
- Created
- 4/16/2023
- Updated
- 5/2/2026
- Game Versions
- 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
- Tags
- utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Auto Restart support?
The author lists 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6. Other versions may work but are untested by the author.
What is the latest version of Auto Restart?
Version 1.21.1-3.0.1, published 2026-05-02 with 8,212 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await