What are you searching for?

Scheduled Shutdown

Scheduled Shutdown

Shut down a server in 10 minutes or 100 seconds, with a boss bar showing the countdown to all players.

download 13 Downloads · favorite 1 Followers · Updated 6 days ago
Management Neoforge 1.21.1

Versions

inventory_2
1.8

1.8 · 6 days ago · 18.73 KB

Release download
Neoforge 1.21.1
inventory_2
1.7

1.7 · 6 days ago · 18.73 KB

Release download
Neoforge 1.21.1
inventory_2
1.6

1.6 · 6 days ago · 18.77 KB

Release download
Neoforge 1.21.1
inventory_2
1.5

1.5 · 6 days ago · 18.73 KB

Release download
Neoforge 1.21.1
inventory_2
1.4

1.4 · 6 days ago · 18.44 KB

Release download
Neoforge 1.21.1

Gallery

About

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:

  • the existence of minecraft.disable will pause auto-restart functionality.
  • the existence of minecraft.needs-update will trigger an update of the server modpack.
  • my modpack includes Automodpack, so clients get updates when they next reconnect after an update.

A screenshot showing the boss bar and message immediately after running the /shutdown quick command.

A screenshot showing the boss bar and message, with 30 seconds remaining from a /shutdown quick command.

open_in_new View on Modrinth
Categories
Compatibility
Client: Unsupported Server: Required
gavel MIT

Conversation

What are your thoughts?

Related projects

Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 66.1M
favorite 7,607
Management Optimization Utility
Dynamic FPS
Dynamic FPS

by juliand665

Reduce resource usage while Minecraft is in the background, idle, or on battery.

download 38.1M
favorite 7,599
Management Social Utility
No Chat Reports
No Chat Reports

by Aizistral

Makes chat unreportable (where possible)

download 35.2M
favorite 2,985
Library Management
Text Placeholder API
Text Placeholder API

by Patbox

Placeholder and Text manipulation library for your Minecraft mods.

download 27.3M
favorite 1,174
lock Cookie consent

SkinMC uses cookies to provide functionality and features.