epicskydex | Auto Restarter
Create a server, get 25% off your first month

Create Server

🔄 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).
✔ How it Works
-
Detection: The mod identifies a restart is needed (either via schedule or low TPS).
-
Notification: It sends your custom warnings to all online players.
-
Shutdown: The mod stops the server cleanly.
-
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:
@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
The Auto Restarter Team
2
Followers
16
Projects
26.4K
Downloads
More from epicskydexView all
Forgestone SMP! A public server featuring a massive 300+ modpack including Create & Aeronautics. Join builders and engineers to create giant factories, flying machines, and epic megabuilds. Forgestone awaits you!
Async Join Queue for NeoForge 1.21.1/1.21.8. Prevents crashes and TPS drops during mass logins by holding players in a thread-safe queue. Admits players at a stable rate. Features a custom position screen. Required on both server and client.
The intelligent performance modulator for Minecraft Server. LagShield Ultimate uses Arclight-safe async processing to dynamically regulate mob AI, chunk density, and entity speed based on real-time server stress (MSPT). Stops lag before it happens.
Sets clean defaults for Essential — unbound keybinds, no Discord RPC, suppressed in-game notices.
Forgestone SMP! A public server featuring a massive 300+ modpack including Create & Aeronautics. Join builders and engineers to create giant factories, flying machines, and epic megabuilds. Forgestone awaits you!
Async Join Queue for NeoForge 1.21.1/1.21.8. Prevents crashes and TPS drops during mass logins by holding players in a thread-safe queue. Admits players at a stable rate. Features a custom position screen. Required on both server and client.
The intelligent performance modulator for Minecraft Server. LagShield Ultimate uses Arclight-safe async processing to dynamically regulate mob AI, chunk density, and entity speed based on real-time server stress (MSPT). Stops lag before it happens.
Sets clean defaults for Essential — unbound keybinds, no Discord RPC, suppressed in-game notices.