Auto Freeze

插件

· 作者 ANTmmmmm

一个能让服务器中无人游玩时自动暂停,上线后自动恢复的模组。可有效帮助节省CPU资源和电费。

0 本站下载 0 关注 更新于 1 年前

最新 1.1 · 1.21.4 · Bukkit / Paper

一键开服(送7天)

中文 English

自动冻结

功能介绍

基础功能

  1. 自动暂停和恢复游戏
    当服务器中无人游玩时,自动暂停游戏,节省服务器资源和电费。当有玩家上线时,自动恢复游戏。

  2. 可配置的日志记录
    可通过settings.yml文件配置“在日志中和控制台记录在线人数的时间间隔”。

  3. 可配置的玩家检测频率
    可通过settings.yml文件配置“检测玩家人数并冻结/解冻游戏的频率”。

配置文件

# 配置文件
# 设为0即禁用
# 单位:游戏刻 tick (1/20s)
# 在日志中和控制台记录在线人数的时间间隔
logPlayerCountInterval: 0

# 监测玩家人数而冻结/解冻游戏的频率
# 该值越小 对游戏公平性影响越小 <=10t 几乎不可能作弊
# 该值不宜 >20t
playerCountCheckInterval: 10

同作用 其他加载器的类似模组

Fabric: Tick Stasis

Modrinth


AutoFreeze

Features

Basic Features

  1. 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.

  2. Configurable Logging
    You can configure the "interval for logging the number of online players in the logs and console" through the settings.yml file.

  3. Configurable Player Detection Frequency
    You can configure the "frequency for checking player counts and freezing/unfreezing the game" through the settings.yml file.

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

Similar Modules for Other Loaders

Fabric: Tick Stasis

Modrinth

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源