Tianyan Protectv1.2.4
C++by yuhangleA player behavior record query plugin for the Endstone plugin loader.
- Stars
- 27
PLUGINSTIANYAN PROTECT
Auto-built from commit a28035a5059b3d1f82f8f5459d89667967c5f1c7 on 2026-10-06
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.2.3.6...v1.2.4
Changes:
- WebUI rewritten.
web_config.jsonhas been merged intoconfig.json. Configuration will not be migrated automatically; please migrate manually. - Added new configuration options for finer-grained control over plugin event logging via the config file. See documentation for details.
改动:
- WebUI重写,web_config.json被并入config.json,不会自动迁移配置,请自行迁移。
- 新增了一些配置项,可以通过配置文件更精细调整插件对事件的记录,详见文档
Fix /ty bad_alloc and /tyback crash caused by out-of-bounds hand_block[1] access on endstone 0.11.9 #20
修复了在endstone 0.11.9上,查询功能异常的问题
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.2.3.4...v1.2.3.5
Adapted for Endstone 0.11.7, fixed crash issues on this version. For compatibility considerations, this version is not recommended for use with Endstone versions below 0.11.7.
适配endstone 0.11.7,修复在此版本上的崩溃问题 兼容性考虑,此版本不建议在endstone 0.11.7版本以下使用
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.2.3.2...v1.2.3.3
- Update to endstone 0.10.5
- 适配endstone 0.10.5
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.2.3...v1.2.3.1
- Fix a query crash caused by incorrect writes in liquid flow event records.
- 修复因在液体流动事件的记录中的错误写入导致的查询崩溃
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.2.2...v1.2.3
- Fixes:
- Fixed an issue where certain database operations could cause Out of Memory (OOM) errors during large tasks, and improved processing speed.
- Additions:
- Added logging for liquid flow events.
- Added logging for block explosion events. Blocks destroyed by block explosions can be restored using the
/tybackcommand, while the data of the exploded block itself cannot be retrieved.
- 修复:
- 修复一些数据库处理操作在大型任务中会导致OOM的问题,并提升处理速度
- 新增:
- 新增了液体流动事件的记录;
- 新增了方块爆炸事件的记录,其中被方块爆炸摧毁的方块可以通过
/tyback命令恢复,而爆炸的方块本身无法得知其数据
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.2.1...v1.2.2
New Features
- Added built-in MySQL backend support, switchable in the configuration file
- Added
/tymigratecommand to directly migrate the database between SQLite and MySQL and apply the new configuration
Enhancements & Improvements
- The
/tyocommand now supports displaying player inventories using a built-in inventory UI, and supports directly reading save files in read-only mode to obtain offline player inventories. Clicking an item in the inventory UI copies it to your own inventory. Note: Viewing offline player inventories requires that after updating the plugin version, the player has joined the server at least once so the plugin can obtain their UUID. - Commands that require database queries, such as
/ty,/tys,/tyback, have been changed to a "submit task → background query" mode, no longer blocking the main thread - WebUI panel interface improved, and MySQL query support added (requires manually installing the pymysql package via pip)
Bug Fixes
- Fixed an issue where player item pickup and drop events were not being logged
- Theoretically fixed an issue where the server would crash after a player item drop event was triggered under certain circumstances
- Fixed an issue where the
/tybackcommand could restore items in the wrong order in some cases (e.g., after a player placed and ignited TNT, a full rollback would also restore the TNT)
新功能
- 新增内置MySQL后端支持,可在配置文件中切换
- 新增
/tymigrate命令,可直接迁移数据库于SQlite与MySQL之间并应用新配置
功能增强与改进
/tyo命令现已支持使用内置物品栏UI展示玩家物品栏,并支持直接通过只读模式读取存档获取离线玩家物品栏,在物品栏ui中点击物品即可复制到自己的物品栏中。其中,离线玩家物品栏查看需要在更新插件版本后,玩家在至少加入过一次服务器,插件获取到其UUID才能查看。/ty、/tys、/tyback等需要查询数据库的命令,现在已改为'提交任务->后台查询'的模式,不再占用主线程- WebUI面板界面改进,并支持MySQL查询(需要手动pip安装pymysql包)
问题修复
- 修复了无法记录玩家拾取物品与玩家丢弃物品事件的问题
- 理论上修复了某些情况下玩家丢弃物品事件触发后服务器崩溃的问题
- 修复了某些情况下
/tyback命令回溯顺序错误问题(玩家放置tnt后引爆,全部回溯时连带tnt一起回溯)
What's Changed
- Add player_drop_item event by @BbayuGt in https://github.com/yuhangle/endstone-tianyan-plugin/pull/7
- Update WebUI
- Update to endstone v0.11.0
New Contributors
- @BbayuGt made their first contribution in https://github.com/yuhangle/endstone-tianyan-plugin/pull/7
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.2.0...v1.2.1
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.1.7.2...v1.2.0
✅ 主要变更 | Key Changes
-
核心重写:语言从 Python 改为 C++。
Core rewritten in C++ . -
数据不兼容:旧版数据库、配置、封禁名单列表失效,封禁设备ID列表会自动迁移更新,请提前备份
tianyan_data。
Old data (DB, config, bans) is incompatible。Ban device id list will auto update — backuptianyan_datafirst. -
命令简化:
- 移除
/tyban//tyunban(Endstone 已原生支持) - 移除
/tygui//tysgui,/ty和/tys无参即弹出菜单 /tyback恢复时静音输出,避免干扰/tydensity命令改为'/density`- Simplified commands: GUI removed.
/ty//tysnow open menu by default./tybackruns silently./tydensityrename as/density
- 移除
-
语言统一:语言设置移至
config.json。
Language now set inconfig.json -
恢复保护:已回溯或取消的日志将被标记,防止重复恢复。
Rolled-back logs are now marked to prevent duplicate restoration.
➕ 新增功能 | New Features
-
活塞记录:新增活塞自身弹出与收回事件的记录。
Now logs piston extend/retract events. -
俄语支持:新增
ru_RU语言支持。
Added Russian (ru_RU) language support. -
菜单增强:日志查询菜单显示更多信息(时间、坐标、实体ID等)。
Enhanced GUI: Shows richer data — timestamps, coords, entity IDs. -
实体过滤:新增
no_log_mobs配置,可自定义排除不记录的实体。
Newno_log_mobslist: Exclude specific entities from logging. -
WebUI面板: 新增WebUI功能,详情查看文档。 Add WebUI,read docs guide to get more info
📚 更多信息 | More Info
详细文档请见:GitHub 项目页
Full docs guide: GitHub Repository
What's Changed
- Add Web UI to view database
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.2.0-alpha.46...v1.2.0-alpha.53
Full Changelog: https://github.com/yuhangle/endstone-tianyan-plugin/compare/v1.1.7.2...v1.2.0-alpha.37
⚠️ 预发布版本,可能存在未知问题。建议测试后使用。
⚠️ Pre-release. May contain bugs. Use with caution.
✅ 主要变更 | Key Changes
-
核心重写:语言从 Python 改为 C++。
Core rewritten in C++ . -
数据不兼容:旧版数据库、配置、封禁列表全部失效,请提前备份
tianyan_data。
Old data (DB, config, bans) is incompatible — backuptianyan_datafirst. -
命令简化:
- 移除
/tyban//tyunban(Endstone 已原生支持) - 移除
/tygui//tysgui,/ty和/tys无参即弹出菜单 /tyback恢复时静音输出,避免干扰
Simplified commands: GUI removed./ty//tysnow open menu by default./tybackruns silently.
- 移除
-
语言统一:语言设置移至
config.json。
Language now set inconfig.json -
恢复保护:已回溯或取消的日志将被标记,防止重复恢复。
Rolled-back logs are now marked to prevent duplicate restoration.
➕ 新增功能 | New Features
-
活塞记录:新增活塞自身弹出与收回事件的记录。
Now logs piston extend/retract events. -
俄语支持:新增
ru_RU语言支持。
Added Russian (ru_RU) language support. -
菜单增强:日志查询菜单显示更多信息(时间、坐标、实体ID等)。
Enhanced GUI: Shows richer data — timestamps, coords, entity IDs. -
实体过滤:新增
no_log_mobs配置,可自定义排除不记录的实体。
Newno_log_mobslist: Exclude specific entities from logging.
📚 更多信息 | More Info
详细文档请见:GitHub 项目页
Full docs guide: GitHub Repository
功能更新
新增实体爆炸事件记录功能,爆炸所应摧毁的方块也会储存在记录中 tyback命令现在支持恢复实体爆炸造成的破坏了 新增玩家间攻击记录功能 在命令用法添加参数的提示 新增查找实体密度最高的区域的功能,使用tydensity命令以使用,可在全维度查找实体密度最高的区域以及相关数据,并支持快捷传送至该区域
修复
修复了插件在python3.11环境中无法运行的bug #1
支持版本变动
现在天眼插件只支持0.6.0及以上的Endstone版本
功能更新
新增玩家手持末影水晶交互事件的记录 新增区域检测功能,英语语言文件集成至插件中,通过是否能够访问google.com作为默认语言为中文或英语的根据 新增版本更新检测功能,插件每次启动时将自动检测更新并提示
优化
优化了交互事件记录的代码
修复
修复了交互事件记录的部分错误
功能更新
重新加入了/tyclean命令,可以使用"/tyclean 时间"来清理数据库 防玩家消息与命令刷屏功能现在可以在配置文件自定义了
更改
配置文件现在改成全英文以减少麻烦 减少了交互事件的判断语句,交互事件相关的本地化物品名改为游戏内的ID
【新功能】 支持多语言,现已支持英语,可在release下载语言文件,解压对应的json语言文件到插件数据目录 新增了查看玩家物品栏功能,可使用/tyo命令查看在线玩家的物品栏。此功能需要Endstone版本0.5.6及以上才能使用 【修复】 修复了玩家与方块交互时,铁砧会被错误记录为投掷器的bug 修复了使用/tyban命令时未指定理由时kick玩家失败的问题
【修复】 修复了第一次使用1.1.0版本及以上时无法正确初始化的问题 【功能更新】 增加了一项实验性功能 /tyback ,可以复原由玩家直接造成的方块破坏行为和方块放置行为。使用此功能需要将配置文件中的全部方块记录相关功能开启。 【功能更新】 增加了对生物交互的记录功能 【更改】 当配置文件不存在或者首次使用时,自动创建的配置文件将默认开启全部方块记录功能
改进 修改了查询输出界面的窗口样式,增加了分页翻页功能,防止了因数据量过大造成一页显示不全、底部字样崩坏的问题。 修复 修复了一个命令用法的错误 更改 行为记录数据保存间隔由原先的60秒降为20秒 更改 ban命令、unban命令、banlist命令三个命令增加了前缀ty,以防止与未来的endstone官方ban命令冲突 功能 增加了对告示牌、悬挂式告示牌、按钮、拉杆、红石中继器及其变体、红石比较器及其变体、音符盒、唱片机的交互的行为记录
新功能 新增tygui、tysgui命令,可使用图形界面查询行为记录 改进 ty命令、tys命令由原先的聊天栏输出查询结果改为图形界面窗口显示查询结果,不再刷屏式占用聊天栏空间 修复 ban命令现在使用控制台也能也能直接踢出玩家了 修复 现在玩家触发防刷屏功能时不会再造成控制台报错、未正常被加入封禁名单了
改进 此版本将旧版本所使用的JSON文本储存行为记录的方式更改为使用SQLite数据库储存行为记录,解决了插件数据储存时因JSON数据量过大造成服务器卡顿的现象,新版插件不兼容旧版本的JSON格式行为记录数据
修改 tyc、tyb、tya、typ命令被整合为ty命令,可查询全部行为类型,不再分类为原先的四种行为类型。tys命令删除了行为类型参数。具体请查看使用文档
改进 游戏中聊天栏的行为记录查询输出删除了分隔线,以便展示更多数据,控制台输出不变
Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.
Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.