Back to mods
Auto Restarter project artwork

CurseForge · Minecraft mod

Auto Restarter

Auto Restarter is a small NeoForge mod for Minecraft 1.21.1 dedicated servers. It automatically restarts the server, sends warnings to players, and can also restart the server when TPS gets too low.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Auto Restarter release should I use?

Updated 9 months ago
Latest stable file autorestarterV2
Game version 1.21.1
Loader NeoForge

Auto Restarter autorestarterV2 targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Auto Restarter required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Auto Restarter autorestarterV2 need?

autorestarterV2. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Auto Restarter without breaking your instance.

Built for Auto Restarter autorestarterV2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use autorestarterV2. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside autorestarterV2. It opens that exact file at the source.

About this project

What does Auto Restarter add?

🔄 Auto Restart & TPS Guard

A powerful, lightweight utility designed for dedicated servers to maintain peak performance. This mod ensures your server stays fresh by scheduling restarts and protecting against heavy lag spikes.

✔ Key Features

  • Scheduled Restarts: Set automatic restarts every X minutes to prevent memory leaks and long-term lag.

  • Smart TPS Monitoring: Automatically triggers a restart if the TPS (Ticks Per Second) drops below your defined threshold for too long.

  • Fully Customizable Announcements: Notify players before a restart occurs. You choose the timing and the exact messages.

  • Advanced Configuration: Every single aspect is now highly tweakable via config/auto_restart.properties.

  • Clean Shutdowns: The mod safely saves the world and kicks players before stopping to ensure zero data loss.

  • In-Game Commands: * /restart — Manually trigger the restart sequence (OP only).

    • /timeuntilrestart — Let players check how much time is left before the next scheduled reboot.

✔ How it Works

  1. Detection: The mod identifies a restart is needed (either via schedule or low TPS).

  2. Notification: It sends your custom warnings to all online players.

  3. Shutdown: The mod stops the server cleanly.

  4. Looping: Your run.bat or start.sh script detects the stop and immediately launches the server again.

✔ Example Restart Script (run.bat)

To use this mod, your startup script must be set to loop. Here is a perfect example:

Code-Snippet

@echo off
:loop
java -Xms10G -Xmx10G (your flags here) @libraries/net/neoforged/neoforge/21.1.199/win_args.txt %*

echo Server stopped. Restarting in 10 seconds...
timeout 10 >nul
goto loop

Note: Always run the server using this .bat/ .sh file, not by double-clicking the JAR directly.

✔ Configuration

The new version features an extremely flexible configuration system. You can find everything you need in: config/auto_restart.properties

You can customize:

  • Exact intervals for scheduled restarts.

  • Minimum TPS threshold and duration (how long TPS must stay low before reacting).

  • Multiple announcement intervals (e.g., 10m, 5m, 1m, 10s warnings).

  • All localized chat messages and colors.

    ✔ Support & Origins

Project description from CurseForge.

Pick your setup

Auto Restarter by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Auto Restarter versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.