Shut down a server in 10 minutes or 100 seconds, with a boss bar showing the countdown to all players.
NOTE: There are two known bugs with this mod: it crashes if loaded on the client, but having it only on the server means command completion doesn't work right.
Make sure players have a warning before an impending server shutdown!
This mod adds a /shutdown and /update command, with 3 subcommands. If no subcommand is specified, it is equivalent to /shutdown slow or /update slow.
These are the subcommands:
slow: Schedule a shutdown with a 10-minute countdown. Creates empty minecraft.disable file.quick: Schedule a shutdown with a 100-second countdown. Creates empty minecraft.disable file.cancel: Cancel a scheduled shutdown. Deletes minecraft.disable file if it exists.The /update variants will additionally create and delete an empty minecraft.needs-update file.
The minecraft.disable and minecraft.needs-update files can be useful for external tools that help manage your Minecraft server.
If all you want is to have a nice countdown, you can just ignore them. :)
I personally use them like this:
minecraft.disable will pause auto-restart functionality.minecraft.needs-update will trigger an update of the server modpack.

Conversation