barusikozako-v1.3.0+fabric1.20.1
Curse Maven Snippet
What's new
Added / 新增
- Added world-scoped recovery points with startup restoration, cleanup, and cancellation commands.
新增按存档分组的恢复点,以及启动前恢复、清理和取消指令。 - Recovery points are stored under
barusikozako/recovery/<world>/. Use/barusikozako recovery <point>to queue a restore,recovery force <world>:<point>to select another world's point, andrecovery clean <point>orrecovery clean other <world>:<point>to clean up points. Restoring a recovery point preserves the displaced world as another recovery point.
恢复点保存在barusikozako/recovery/<存档名>/。使用/barusikozako recovery <恢复点>排队恢复,使用recovery force <存档名>:<恢复点>选择其他存档的恢复点,使用recovery clean <恢复点>或recovery clean other <存档名>:<恢复点>清理恢复点。恢复时,原世界会保存为新的恢复点。 - Added
/barusikozako cancel recoveryto cancel a queued recovery. A queued recovery point is protected from cleanup until its request is cancelled or completed.
新增/barusikozako cancel recovery,用于取消排队中的恢复。恢复点排队期间受到清理保护,直到请求取消或完成。 - Added
/barusikozako cancel rollbackto cancel a queued rollback.
新增/barusikozako cancel rollback,用于取消排队中的回滚。 - Added
zakobak_zstdandzakobackup_zstdcommand aliases for Zstd configuration.
新增zakobak_zstd和zakobackup_zstd指令别名,用于配置 Zstd。 - Integrations now receive the server state view after the backup service: online player count, dedicated-server flag, world-loaded flag, message delivery to players or administrators, and subscribable server lifecycle events (started, empty, occupied). Values are consistent snapshots that can be read from any thread, and queries fail loudly once the world is unloading instead of reporting an empty server.
集成现在会在备份服务之后收到服务器状态视图:在线人数、是否独立服务器、世界是否加载、向玩家或管理员发送消息,以及可订阅的服务器生命周期事件(启动、无人、有人)。数值是一致快照,可在任意线程读取;世界卸载后查询会明确失败,而不是报告“空服”。 - Every change of the online player count is logged once (
Online players 1 -> 0), and integration log lines now reachlatest.logthrough SLF4J instead of only the console.
在线人数每次变化都会记录一行(Online players 1 -> 0);集成日志改走 SLF4J 写入latest.log,不再只出现在控制台。 - Scheduled integrations can therefore run on player-state boundaries without polling:
server.emptyfires only when the count drops to zero,server.occupiedonly when it rises from zero, and neither fires for the initial state or during shutdown.
因此定时类集成可以基于玩家状态边沿工作而无需轮询:server.empty只在人数降为零时触发,server.occupied只在人数从零上升时触发;初始状态与关闭过程都不产生事件。
Fixed / 修复
- Fixed recovery-point cleanup on Windows when directories on the same volume were incorrectly identified as crossing a filesystem boundary. Interrupted cleanup can be retried with the same command.
修复 Windows 上清理恢复点时,同一卷内的目录被误判为跨文件系统的问题。中断后的清理可使用原命令重试。
This Changelog is AIGC and verified
本次更新日志为AI生成内容,并且经过验证
Full changelog / 完整更新日志:
This mod has no additional files