离线暂停
当玩家离开时,离线暂停会停止 Minecraft 世界的运行时间与游戏刻。
在最后一位玩家离开后,插件会等待一段可配置的时间(默认为 60 秒),然后冻结服务器的游戏刻。世界时间、怪物、红石、熔炉、作物、天气以及其他基于刻的机制将停止推进,直到有人重新加入。
服务器保持在线状态,因此玩家仍可以正常连接。只要有玩家尝试加入,离线暂停就会立即解冻世界(无额外延迟)。
功能
- 当服务器为空一段时间后冻结游戏刻(等待时间可配置)
- 玩家连接时立即恢复
- 在服务器为空期间停止世界时间
- 冻结期间阻止怪物、红石、熔炉、作物及其他游戏机制的推进
- 在自动冻结前保存已加载的世界
- 不会撤销手动或通过其他插件启动的
/tick freeze - 非常小巧轻量
- 无需 NMS 或修改世界数据
配置
freeze-delay-seconds: 60
默认情况下,服务器会在最后一位玩家离开一分钟后冻结。
兼容性
Paper 1.20.4–26.3
离线暂停使用 Paper 的刻管理器,而不是通过更改游戏规则或单独禁用游戏机制来模拟暂停。
Offline Pause
Offline Pause stops your Minecraft world's time and ticks when a player leaves
After the last player leaves, the plugin waits for a configurable amount of time (by default 60 seconds) and then freezes the server's game ticks. World time, mobs, redstone, furnaces, crops, weather and other tick-based mechanics stop progressing until somebody comes back.
The server stays online, so players can still connect normally. Offline Pause also unfreezes the world as soon as someone tries to join (with no additional delays)
Features
- Freezes game ticks when the server has been empty for a configurable amount of time
- Resumes immediately when a player connects
- Stops world time while the server is empty
- Prevents mobs, redstone, furnaces, crops and other game mechanics from progressing while frozen
- Saves loaded worlds before automatically freezing
- Won't undo a
/tick freezestarted manually or by another plugin - Very small and lightweight
- No NMS or modifications to world data
Configuration
freeze-delay-seconds: 60
By default, the server freezes one minute after the last player leaves.
Compatibility
Paper 1.20.4–26.3
Offline Pause uses Paper's tick manager rather than trying to simulate a pause by changing gamerules or individually disabling game mechanics.
下载 Offline Pause
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Offline Pause
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Offline Pause
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Offline Pause
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
改进了代码中的一些内容,并终于优化了 bStats
修复了 bStats
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧