promotional bannermobile promotional banner

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.
Back to Files

autorestarterV2

File nameautorestarter-1.0-SNAPSHOT.jar
Uploader
epicskydexepicskydex
Uploaded
Feb 28, 2026
Downloads
1.4K
Size
18.8 KB
Mod Loaders
NeoForge
File ID
7690506
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:auto-restarter-1394405:7690506"

Learn more about Curse Maven

What's new

đŸ“‘ Changelog - Version 2.0.0 (The "Control" Update)

This version is a complete overhaul, adding highly requested management features and making the mod more powerful for server administrators.

 New Features

  • Added /restart Command: OPs can now manually trigger the automated restart sequence at any time.

  • Added /timeuntilrestart Command: Players can now check exactly how much time remains until the next scheduled reboot.

  • Implemented TPS Guard: The mod now actively monitors server performance. If the TPS (Ticks Per Second) drops below your limit for too long, a safety restart is triggered.

  • Smart Shutdown: Improved the restart sequence to ensure the world is saved and players are kicked with a custom message before the server stops.

 Configuration Overhaul

  • Extreme Customization: The auto_restart.properties file has been completely rewritten. You can now tweak:

    • Multiple warning intervals (e.g., specific messages at 10m, 5m, 1m, 30s).

    • TPS threshold and the "grace period" (how long lag must last before restarting).

    • All chat messages and color codes.

  • Persistence: Improved how the mod reads the config to prevent issues during server hangs.

 Technical Improvements

  • Better TPS Tracking: More accurate monitoring of server health to prevent "false alarm" restarts.

  • Improved Dedicated Server Compatibility: Cleaned up code to ensure 100% stability on NeoForge 1.21.1 environments.

  • Optimized Announcement System: Reduced overhead when sending broadcast messages.

This mod has no additional files