Auto Restart

Auto Restart

Adds auto restarting to Minecraft servers.

by
7.1K Downloads
forgeneoforgeutility
Rent Server with this Mod

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

Supported Versions Image

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 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 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.

This is a Forge mod only until 1.21.1. This is a NeoForge mod only starting 1.21.1. There will be no Fabric version. It will not be backported.

Available Versions

Auto Restart 1.21.1-3.0.1release
MC 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10neoforge
May 2, 2026
Auto Restart 1.21.1-3.0.0release
MC 1.21.1neoforge
December 11, 2025
Auto Restart 1.21.1-2.0.2release
MC 1.21.1forge
September 1, 2024
Auto Restart 1.21-2.0.2release
MC 1.21forge
August 30, 2024
Auto Restart 1.20.6-2.0.2release
MC 1.20.6forge
June 1, 2024

How to Install Auto Restart on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.10).

3

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

forgeneoforge

Minecraft Versions

1.21.10, 1.21.9, 1.21.8 (+16 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install Auto Restart with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.21.21.1+9 more