File Details
1.0.7 - Schedule shutdown by uptime
- R
- Nov 16, 2015
- 17.90 KB
- 547
- 1.8
File Name
ForgeAutoShutdown-1.0.7-1.8.jar
Supported Versions
- 1.8
The automatic shutdown can now be scheduled by uptime, rather than time of day. This adds a new config option under Schedule:
Uptime(default: false) - If true, then theHourandMinutevalues are interpreted as length of uptime until server is automatically shutdown. Uptime is how long the server has been running since startup was complete.
This makes it possible to restart the server more than once a day, or for a longer time span than 24 hours. It also reduces the annoyance of shutdown after the server has already been restarted (after, for example, a modpack update).
This also includes some checks at runtime for valid config:
- Setting
Uptimeto true withHourandMinuteboth set to0will be corrected to 24 hours, with warning on console - Setting
Uptimeto false withHourset higher than23will be corrected to00(e.g. 00:00), with warning on console