Suspend The Server
A lightweight Minecraft server side mod that suspends the server when no players are online and resumes it when any player joins.
介绍
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!
常见问题
Suspend The Server 支持哪些 Minecraft 版本?
Suspend The Server 支持 Minecraft Java 版 1.21,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Suspend The Server 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分