Skip to content

Releases: NMB-Court-Team/DontDoIt

DontDoIt-1.21.8-1.0.4

11 Dec 06:52

Choose a tag to compare

修复漏洞

  • #3 :打开界面词条读取配置不正确,导致打开任何界面都会触发

Bug Fix:

  • #3 : Open Inventory criteria read the config wrongly, causing open any inventory will trigger the criteria.

DontDoIt-1.21.8-1.0.3

24 Oct 12:08

Choose a tag to compare

新内容

  • 新增触发词条 open_inventory,当玩家打开特定类型的库存(如工作台、附魔台、箱子等)时触发,并可检测玩家主手物品。

更改

  • 将部分原属于 interact_block_with_item 的词条迁移至 open_inventory,以提升检测准确度,如果你不是第一次使用此插件,请确保旧的criteria.yml配置文件被删除以适应新更改。
    interact_block_with_item 使用 PlayerInteractEvent 进行检测,可能会出现误判,而 open_inventory 改用 InventoryOpenEvent。)

修复

  • 修复 transfer_item 未正确校验目标容器类型与 target_inventory 是否匹配的问题。
  • 修复离线玩家退队时的校验逻辑,并强制重置 guess 模块的冷却计时器。
  • 修复 InteractBlockWithItemCriteria 在未实际交互时也会被触发的问题。

特别感谢 LittleSadSheep 修复相关问题并提交 PR! 💖


New Features

  • Added a new criteria type open_inventory, which activates when a player opens a specific type of inventory (such as a crafting table, enchanting table, or chest), and supports checking the item held in the main hand.

Changes

  • Moved certain entries originally under interact_block_with_item to open_inventory to improve detection accuracy, if this is not the first time you’ve run this on your server, make sure to delete the old criteria.yml file to fit the new changes.
    (interact_block_with_item relied on PlayerInteractEvent, which could cause false triggers, while open_inventory now uses InventoryOpenEvent.)

Fixes

  • Fixed an issue where transfer_item did not correctly verify whether the target container type matched target_inventory.
  • Fixed validation when offline players leave a team and enforced cooldown reset for the guess module.
  • Fixed an issue where InteractBlockWithItemCriteria could be triggered even without an actual interaction.

Special thanks to LittleSadSheep for the fix and pull request! 💖

DontDoIt-1.21.8-1.0.2

04 Oct 18:16

Choose a tag to compare

新内容

  1. 为游戏设置添加了“是否启用无限夜视”项,启用后所有玩家获得持续时间无限的夜视效果

更改

  1. 降低了rotation词条(视角旋转角度)的权重
  2. 微调部分词条的难度和数值

修复

  1. 修复基岩层生成高度偏低的问题

New Features

  1. Added a new option in game settings: "Infinite Night Vision Enabled". When enabled, all players receive a night vision effect with infinite duration.

Changes

  1. Reduced the weight of the rotation criteria (view rotation angle).
  2. Fine-tuned the difficulty and values of certain criteria.

Fixes

  1. Fixed an issue where the bedrock layer was generated at an incorrect (too low) height.

DontDoIt-1.21.8-1.0.1

30 Sep 21:11
072c569

Choose a tag to compare

对比数据包版本的最新版的更新:

新内容

  1. 添加了猜词条玩法。
  2. 重新加入了仓检机制,它可以调整词条出现概率。
  3. 基于对话框API,添加了可在游戏内动态调整的游戏设置。
  4. 将编辑自定义词条的界面从书本GUI改成了对话框GUI。
  5. 钻石行为现在会根据其他队伍的剩余血量自动判断是否要生效。
  6. 现在钻石进入背包在正常触发钻石行为的同时不会被清除。
  7. 添加了大量新词条。
  8. 现在可以通过修改插件文件夹中的criteria.yml文件来定制词条。

修复

  1. 修复自定义词条名称中间包含空格时会导致词条无法切换的问题。

Updates compare to latest datapack version:

New Features

  1. Added the Guess Criteria gameplay mode.
  2. Reintroduced the Inventory Inspection mechanism, which can adjust the appearance probability of criteria.
  3. Added in-game adjustable settings based on the dialog API.
  4. Changed the custom criteria editing interface from a book GUI to a dialog GUI.
  5. Diamond behavior now automatically determines whether to activate based on the remaining health of other teams.
  6. Diamonds entering a player’s inventory will now trigger diamond behavior normally without being removed.
  7. Added a large number of new criteria.
  8. Criteria can now be customized by editing the criteria.yml file in the plugin folder.

Fixes

  1. Fixed an issue where custom criteria names containing spaces caused criteria switching to fail.