Summary
A lightweight Minecraft server-side mod that suspends the server when no players are online and resumes it when a player joins.
Configuration
The mod's configuration file is located at:
<server_path>/config/suspend-the-server.properties
The default configuration is:
# suspend-the-server.properties
# Enable the mod
enable=true
# Save everything before suspension
save_all_before_suspension=true
Restart the server to apply configuration changes.
Important Notes
This mod does not actually suspend the server threads. Instead, it utilizes the vanilla interface provided for the tick freeze command. While this effectively pauses in-game time progression and block updates, the server thread remains active – continuing to listen for network requests, command inputs, and other events.
This implementation of "suspension" can be:
- Reverted by
tick unfreeze - Detected through commands like
tick query
Consequently, this mod may be incompatible with certain data packs that utilize the tick command series!