Chronos
Chronos 是一款快速、精确的 Minecraft 服务器数据记录与回滚工具。通过实时预览检查、查询、回滚和恢复变更,且不影响服务器性能。
快捷链接
|
|
| 源代码 |
github.com/yw4pfcv7td-stack/Chronos |
| 捐赠 |
核心功能
- 快速、异步、批处理的数据日志记录——绝不阻塞主线程。
- 每次回滚或恢复前提供“幽灵方块”预览:在确认之前查看确切会发生哪些变更。
- 对执行的每次回滚或恢复支持多级撤销和重做。
- 无需配置即可使用——开箱即用的合理默认值,其余选项均为可选。
- 默认使用 SQLite,可选支持 MySQL 和 PostgreSQL。
- 专为 Paper、Purpur 和 Folia 构建。
- 基于权限的访问控制,每个命令均可进行细粒度管控。
- 可点击的分页 GUI 查询界面,支持按玩家、时间、操作类型等条件筛选。
- 支持按玩家、半径、WorldEdit 风格的选择棒、方块类型或单个事件进行选择性回滚。
- 容器物品栏回滚,完整保留物品数据(附魔、自定义名称、嵌套潜影盒)。
- 自动按时间清理旧数据,删除前可选 CSV 归档。
- 多世界支持,提供按世界和全局的日志设置。
- 可选择包含或排除特定玩家或方块的日志记录。
- 完整的本地化支持——从配置中切换语言,并添加自定义语言。
记录内容有哪些?
方块与世界变更
- 玩家放置或破坏的方块。
- 当支撑物被移除时自动破坏的附着方块(火把、告示牌、门、高植物)。
- 水和岩浆的放置、移除及流动。
- 火的点燃与蔓延,以及方块燃烧。
- TNT、苦力怕及其他爆炸,并能追踪到引发爆炸的玩家,即使是通过连锁反应。
- 改变方块的实体(末影人、劫掠兽、凋灵)。
- 活塞移动的方块 (可选,默认关闭)。
容器与物品
- 从任何容器中取出或放入的物品,按会话跟踪并记录精确差异。
- 回滚时完整保留物品数据:附魔、自定义名称、描述信息、嵌套容器。
- 告示牌文本,包括染料颜色和发光状态,正反面均记录。
实体与玩家活动
- 玩家造成的击杀,附带详细的受害者数据。
- 玩家聊天消息和指令。
- 玩家会话:登录与登出。
- 死亡、登出以及按配置间隔时的物品栏、末影箱、经验值和位置快照——完全可恢复,支持逆向操作。
活动警报
- 异常的方块破坏模式及矿石与石头的比例异常。
- 大量或突发的容器物品取出行为。
- 游戏内、控制台以及可选的 Discord Webhook 通知,供管理人员查看。
如何使用检查器
使用 /chronos inspect 启用检查器,然后:
- 左击一个方块以查看是谁放置或破坏了它。
- 右击一个方块以查看相邻方块的历史记录,或容器的完整交易日志。
带预览的回滚
运行 /chronos rollback u:<player> t:<time>(或使用任意组合的筛选条件)以计算变更。在任何更改生效之前,你将看到仅对你可见的“幽灵方块”预览,以及受影响的方块和物品数量的摘要。通过点击确认或取消——在你操作之前,一切都不会改变。
有用链接
- 文档与完整指令列表:请参阅随附的 README
- 反馈与错误报告:github.com/yw4pfcv7td-stack/Chronos/issues
感谢使用 Chronos!
Chronos
Chronos is a fast, precise data logging and rollback tool for your Minecraft server. Inspect, look up, roll back, and restore changes with a live preview, without impacting server performance.
Quick Links
|
|
| Source code |
github.com/yw4pfcv7td-stack/Chronos |
| Donate |
Core Features
- Fast, asynchronous, batched data logging — never blocks the main thread.
- Ghost-block preview before every rollback or restore: see exactly what will change before you confirm.
- Multi-level undo and redo for every rollback or restore you perform.
- No required configuration — sensible defaults out of the box, everything else is optional.
- SQLite by default, with optional MySQL and PostgreSQL support.
- Built for Paper, Purpur, and Folia.
- Permission-based access with granular control per command.
- Clickable, paginated GUI lookup with filters for player, time, action type, and more.
- Selective rollback by player, radius, WorldEdit-style selection wand, block type, or a single incident.
- Container inventory rollback with full item data (enchantments, custom names, nested shulker boxes).
- Purge old data automatically by time, with optional CSV archive before deletion.
- Multi-world support with per-world and global logging settings.
- Include or exclude specific players or blocks from logging.
- Full localization support — switch languages from the config, add your own.
What does it log?
Blocks and World Changes
- Blocks placed or broken by players.
- Attached blocks breaking automatically when their support is removed (torches, signs, doors, tall plants).
- Water and lava placement, removal, and flow.
- Fire ignition and spread, block burning.
- TNT, Creeper, and other explosions, with the blocks traced back to whoever triggered them, even through chain reactions.
- Entities changing blocks (Endermen, Ravagers, Withers).
- Piston-moved blocks (optional, off by default).
Containers and Items
- Items taken from or placed into any container, tracked per session with exact deltas.
- Full item data preserved on rollback: enchantments, custom names, lore, nested containers.
- Sign text, including dye color and glow state, on both sides.
Entities and Player Activity
- Player-caused kills, with detailed victim data.
- Player chat messages and commands.
- Player sessions: logins and logouts.
- Inventory, ender chest, XP, and position snapshots on death, logout, and at configurable intervals — fully restorable, reversibly.
Activity Alerts
- Unusual block-breaking patterns and ore-to-stone ratios.
- Large or sudden container withdrawals.
- In-game, console, and optional Discord webhook notifications for staff.
How to use the inspector
Enable the inspector with /chronos inspect, then:
- Left-click a block to see who placed or broke it.
- Right-click a block to see the adjacent block's history, or a container's full transaction log.
Rollback with preview
Run /chronos rollback u:<player> t:<time> (or any combination of filters) to calculate the changes. Before anything is applied, you'll see a ghost-block preview visible only to you, along with a summary of how many blocks and items will be affected. Confirm or cancel with a click — nothing changes until you do.
Useful Links
- Documentation & full command list: see the included README
- Feedback & bug reports: github.com/yw4pfcv7td-stack/Chronos/issues
Thanks for using Chronos!
评论 0
登录后参与评分
还没有评论,来抢沙发吧