Skip to content

Release v1.2.2

Choose a tag to compare

@github-actions github-actions released this 30 May 10:00
· 35 commits to master since this release

Full Changelog: v1.2.1...v1.2.2

New Features

  • Added built-in MySQL backend support, switchable in the configuration file
  • Added /tymigrate command to directly migrate the database between SQLite and MySQL and apply the new configuration

Enhancements & Improvements

  • The /tyo command 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 /tyback command 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一起回溯)