Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| ForgeAutoShutdown 1.10.2-1.0.8 release | 18.44 KB | Dec 8, 2017 | 1.10.2 | 734 | Download |
| 1.0.7 - Schedule shutdown by uptime +1 More release | 17.90 KB | Nov 16, 2015 | 1.8 | 433 | Download |
| 1.0.7 - Schedule shutdown by uptime +1 More release | 17.91 KB | Nov 16, 2015 | 1.7.10 | 1,603 | Download |
| 1.0.6 - Shutdown delay, optional warnings release | 17.46 KB | Sep 17, 2015 | 1.8 | 142 | Download |
| 1.0.6 - Shutdown delay, optional warnings release | 17.47 KB | Sep 17, 2015 | 1.7.10 | 661 | Download |
| 1.0.4 - Improvements release | 11.67 KB | Jul 16, 2015 | 1.8 | 129 | Download |
| 1.0.4 - Improvements release | 11.67 KB | Jul 16, 2015 | 1.7.10 | 150 | Download |
| 1.0.3 - 1.8 & Bugfix +1 More release | 11.57 KB | Jul 13, 2015 | 1.8 | 104 | Download |
| 1.0.5 - TPS/Stall Watchdog beta | 16.13 KB | Aug 7, 2015 | 1.8 | 323 | Download |
| 1.0.5 - TPS/Stall Watchdog beta | 16.13 KB | Aug 7, 2015 | 1.7.10 | 401 | Download |
| 1.0.2 - Shutdown voting beta | 11.60 KB | Jun 23, 2015 | 1.7.10 | 121 | Download |
| 1.0.1 beta | 4.90 KB | Jun 19, 2015 | 1.7.10 | 98 | Download |
Description
ForgeAutoShutdown will here on out be maintained by abused_master for minevraft 1.10.2+!
Links
- GitHub (source code & README)
- GitHub Downloads
Summary
This is a server mod I wrote to automatically restart our FTB server every day. Given the nature of FTB, we needed this but I could not find a solution that involved complicated wrappers, rcon commands or control panels. I would like to share it to help other admins who may need it.
I called it "ForgeAutoShutdown" as technically speaking, the mod's only purpose is to shut down the server at a given time. It is up to a shell script, Windows batch file or service control to bring the server back up, but it is not necessary.
Please feel free to report any bugs or suggest/pull request additions.
Features
- Scheduled hour and minute of shutdown within 24 hours of server uptime (e.g. 07:00 or 13:00)
- Warns all players of scheduled shutdown every minute, five minutes prior
- Configurable warning and kick messages
- Player voting for a manual shutdown without admin intervention
- Watchdog for automatic shutdown if server is hung ("stalled") or TPS is too low for too long
- Made for Forge 1.7.10, 1.8, and 1.10.2-1.12.2
License
The codebase is licensed under the MIT license. Therefore, you are free to redistribute this mod or any of its derivatives as part of a modpack. You are free to use this mod for commercial intents. You are free to use any or all of this code as part of another code base, as a derivative or as a clone. You have zero obligation to notify me or request permission to use this codebase in its raw or compiled forms.
Get 0.05 TON 💎
Download

Add a comment