Pretty basic - tell it a time and when it reaches/passes that time, it shuts down.
- Tested Minecraft Versions:
Update: Totally forgot this existed. I'm going to completely overhaul it in the next day or so as I've learned a lot more since I made it and it could use some cleanup.
Usage and permissions:
Show the current time the server will shut down
Set the shutdown time. Use military time, so if you want it to close at 5 PM you would do /shutdowntime 17:00
Show the current polling interval
/shutdowntime poll ##
Set the polling interval. This is how long it waits between loops to check time. As the shutdown time is at minute resolution, any time shorter than a minute should be fine. It defaults to 30 seconds. There is no need to set it to poll each second, it won't make it any more accurate.
Toggles whether or not the shutdown should only happen once per day. If this is true, when the server starts and it's past the shutdown time it will not shut down.
If anyone really wants it, I can add customizable messaging and maybe add pre shutdown warnings and stuff but this isn't really that serious of a plugin heh.