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.

File Details

autorestarterV2

  • R
  • Feb 28, 2026
  • 18.82 KB
  • 762
  • 1.21.1
  • NeoForge

File Name

autorestarter-1.0-SNAPSHOT.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:auto-restarter-1394405:7690506"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

đŸ“‘ 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.