Compatibility
Minecraft: Java Edition
1.21–1.21.4
Platforms
Links
Creators
Details
Licensed CC-BY-NC-SA-4.0
Published 11 months ago
Updated 11 months ago
中文 English
自动冻结
功能介绍
基础功能
-
自动暂停和恢复游戏
当服务器中无人游玩时,自动暂停游戏,节省服务器资源和电费。当有玩家上线时,自动恢复游戏。 -
可配置的日志记录
可通过settings.yml文件配置“在日志中和控制台记录在线人数的时间间隔”。 -
可配置的玩家检测频率
可通过settings.yml文件配置“检测玩家人数并冻结/解冻游戏的频率”。
配置文件
# 配置文件
# 设为0即禁用
# 单位:游戏刻 tick (1/20s)
# 在日志中和控制台记录在线人数的时间间隔
logPlayerCountInterval: 0
# 监测玩家人数而冻结/解冻游戏的频率
# 该值越小 对游戏公平性影响越小 <=10t 几乎不可能作弊
# 该值不宜 >20t
playerCountCheckInterval: 10
同作用 其他加载器的类似模组
Fabric: Tick Stasis
AutoFreeze
Features
Basic Features
-
Automatic Game Pausing and Resuming
Automatically pause the game when no players are online to save server resources and electricity. Resume the game automatically when a player joins. -
Configurable Logging
You can configure the "interval for logging the number of online players in the logs and console" through thesettings.ymlfile. -
Configurable Player Detection Frequency
You can configure the "frequency for checking player counts and freezing/unfreezing the game" through thesettings.ymlfile.
Configuration File
# Configuration File
# Set to 0 to disable
# Unit: game tick (1/20s)
# Interval for logging the number of online players in the logs and console
logPlayerCountInterval: 0
# Frequency for checking player counts to freeze/unfreeze the game
# The smaller the value, the less impact on game fairness <=10t almost impossible to cheat
# It is not recommended to set this value >20t
playerCountCheckInterval: 10


