Forge Auto Shutdown – Smart Server Manager for Minecraft

Download Forge Auto Shutdown for Minecraft to schedule restarts, enable voting, and add a watchdog. Keep your 1.12.2 server stable and automated.

Forge Auto Shutdown

Running a Minecraft server is a rewarding experience, but it comes with its fair share of administrative headaches. From laggy ticks to forgotten restarts, keeping a server healthy around the clock can be a full-time job. That is where Forge Auto Shutdown steps in. This utility mod is designed to give server owners granular control over their server's lifecycle, automating shutdowns, enabling player-driven votes, and even acting as a safety net for unresponsive worlds. It is a powerful tool for anyone looking to streamline their server management without resorting to complex external scripts.

What is Forge Auto Shutdown for Minecraft?

Forge Auto Shutdown for Minecraft is a server-side utility that focuses on one thing: managing when and how your server stops. It is a fork of the original ForgeAutoShutdown mod, specifically built for the 1.12.2 version of the game. The mod must be installed on both the client and server sides to function fully, though it does not add commands to single-player worlds. Its presence on the client is necessary for localized messages, ensuring that players see warnings and notifications in their own language. This dual-installation requirement is a small price to pay for the level of automation and control it provides.

Key Features and Configuration

The mod is packed with features, all of which can be toggled or adjusted through its configuration file. Whether you need a simple timer or a complex voting system, Forge Auto Shutdown has you covered.

Scheduled Shutdowns

The core feature allows you to schedule a server shutdown at a specific time of day, local to the server machine. Alternatively, you can switch to "Uptime" mode, which shuts the server down after a set number of hours or minutes of continuous operation. This is perfect for daily restarts or for servers that need to cycle after a specific uptime threshold. Upon startup, the mod logs the next scheduled shutdown time at the INFO level, making it easy to verify that your configuration is working correctly.

Voting for Manual Shutdowns

Sometimes, a server needs to be stopped immediately, but an admin is not available. Forge Auto Shutdown solves this with a democratic voting system. A player initiates a vote with /shutdown, and all players must respond with /shutdown yes or /shutdown no. If a majority votes yes, the server shuts down instantly. The mod includes safeguards, such as failing the vote if too many players disconnect mid-vote or if a configurable number of "no" votes are reached. A cooldown prevents vote spam after a failed attempt.

Watchdog for Hung Servers

One of the most experimental yet valuable features is the watchdog. This thread periodically checks if the server is hanging on a tick or if the TPS (ticks per second) has dropped below a certain threshold for a specified duration. If a problem is detected, the mod attempts a "soft kill," allowing the server to save data before shutting down. If that takes too long, it escalates to a "hard kill." This feature is a lifesaver for preventing corrupted worlds from prolonged freezes.

Warnings and Delay Options

To avoid abrupt disconnects, the mod provides configurable warnings. By default, it alerts players every minute for five minutes before a scheduled shutdown. You can disable these warnings entirely if you prefer a silent stop. Additionally, you can enable a delay feature. If players are still online when a shutdown is due, the mod will postpone the shutdown by a set number of minutes, repeating this process until the server is empty. Fake players, such as those from mods like BuildCraft, are excluded from this check. Note that shutdown warnings are ineffective when delays are active, and a pending shutdown will be cancelled if a player logs in during the countdown.

Installation and Requirements

Before you download Forge Auto Shutdown, ensure your server is running Minecraft Forge 1.12.2 with version 14.23.5.2859 or later. You will also need a wrapper script or batch file to automatically restart the server after a shutdown; this is optional but highly recommended to take full advantage of the automation. To install, simply drop the mod file into the mods folder on both the server and your client. For a hassle-free setup, the foxygame.net launcher offers a one-click install for Forge Auto Shutdown, pulling the correct version directly into your modpack without manual file management. This launcher also provides auto-updates, ensuring you always have the latest fixes for the mod.

How to Install and Verify

Once you have downloaded the mod, the installation process is straightforward. Place the JAR file in the mods directory of your server. On the client side, do the same in your local mods folder. After starting the server, check the console log for the message Next automatic shutdown: [date and time]. If this message is absent, the mod is not installed correctly or the schedule is disabled in the config. If you accidentally install it on a client-only setup, it will log an error to the console but will not crash the game or disable the client.

For those looking to manage multiple servers or modpacks, the foxygame.net launcher simplifies the process by integrating Forge Auto Shutdown into its add-on catalog. This allows you to browse and install the mod with a single click, and the launcher handles version compatibility checks, so you never have to worry about mismatched Forge builds.

Final Thoughts on Server Automation

Forge Auto Shutdown is an essential tool for any 1.12.2 server administrator who values stability and automation. Its combination of scheduled restarts, player voting, and a watchdog makes it a comprehensive solution for common server maintenance issues. While the mod is specific to the 1.12.2 Forge ecosystem, its utility is timeless. By reducing the need for manual intervention, it allows you to focus on the more enjoyable aspects of running a community, safe in the knowledge that your server will shut down cleanly and restart on schedule. Whether you are running a small private server or a large public one, this mod is a worthy addition to your toolkit.

For those ready to take the plunge, the process to download Forge Auto Shutdown is simple, and with the right wrapper script, you can achieve a fully self-managing server loop. It is a robust, MIT-licensed piece of software that respects the original author's permissions, and it stands as a testament to the power of community-driven modding. Give your server the gift of a graceful exit strategy.