ForgeAutoShutdown
Schedules a specific time of the day for server to shut down or automatically restart
介绍
ForgeAutoShutdown will here on out be maintained by abused_master for minevraft 1.10.2+!
Links
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.
常见问题
ForgeAutoShutdown 支持哪些 Minecraft 版本?
ForgeAutoShutdown 支持 Minecraft Java 版 1.7.10–1.10.2,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
ForgeAutoShutdown 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
abused_master 的其他作品
查看全部 →Industrial Meat
肉回来了!
Genetics Reborn
改变你的基因,获得《Minecraft》中的各种能力!
Super Ores
更多矿石!
Avaritia Additions
Avaritia 1.10 的附属模组,添加了大部分 1.10.2 中没有的物品和方块。
评论
登录后评论和评分