GamesAI

This plugin allows you to use AI in the game

tool

Installation command

!!MCDR plugin install games_ai

Author

Synced at

...

Last update

...

Latest version

Total downloads

963

Back to catalogue

GamesAI-v0.6.4.mcdr

Version

0.6.4

Date

August 22, 2026

Size

112.68 KiB

Downloads

14

MD5

724674261230f68f9b3d2fe9c6431a35

SHA256

21b9ee119efbec318ca201747d7662992bc76222f5ff9d0dbd66475dc58728aa

MCDR Plugin Dependencies

Plugin IDRequirement
mcdreforged>=2.15.0

Python Package Requirements

Python PackageRequirement
openai
requests
websockets

Python Package Installation Command

pip install openai requests websockets

🎮 GamesAI v0.6.4

English

✨ Highlights

  • 🔐 Permission-Based AI Tools — AI tools can now be restricted by permission level. Players only see (and the AI can only use) the tools they are actually allowed to use, and the limits follow your permission config in real time.
  • ♻️ Reliable Hot Reload!!gamesai reload now completely rebuilds the AI tool set: built-in tools, your custom tools.py, and tools registered by other plugins all refresh correctly. Custom tools you delete actually disappear after a reload.
  • 🧰 Tool Set Adjustments — Whitelist management tools and Minecraft Wiki search have moved to the GamesAI-Extra plugin; online player queries now fall back to RCON when the online_player_api plugin is unavailable.
  • 🐛 Fixes — Fixed permission levels being locked at startup, fixed hot reload silently dropping all built-in tools, and removed leftover code that could crash tool registration.

🔧 For Developers

  • @register_tool now supports a perm parameter (a fixed level or a dynamic value that follows the plugin's permission setting).
  • Plugins that register AI tools are now automatically reloaded together with GamesAI during hot reload — no extra registration needed.

简体中文

✨ 更新亮点

  • 🔐 AI 工具权限系统 — AI 工具现在可以按权限等级限制使用。玩家只会看到(AI 也只会调用)自己有权使用的工具,限制实时跟随你的 permission 配置。
  • ♻️ 更可靠的热重载!!gamesai reload 现在会完整重建 AI 工具集:内置工具、你的自定义 tools.py 以及其他插件注册的工具都能正确刷新,删除的自定义工具在重载后真正消失。
  • 🧰 工具集调整 — 白名单管理工具和 Minecraft Wiki 搜索已迁移至 GamesAI-Extra 插件;在线玩家查询在缺少 online_player_api 插件时回退为 RCON 查询。
  • 🐛 修复 — 修复权限等级启动时被锁死、热重载后内置工具全部丢失、以及可能导致工具注册崩溃的残留代码。

🔧 开发者相关

  • @register_tool 新增 perm 参数(可填固定等级,也可动态跟随插件的 permission 设置)。
  • 注册了 AI 工具的插件现在会随 GamesAI 热重载自动重载,无需额外登记。

繁體中文

✨ 更新亮點

  • 🔐 AI 工具權限系統 — AI 工具現在可以按權限等級限制使用。玩家只會看到(AI 也只會呼叫)自己有权使用的工具,限制即時跟隨你的 permission 設定。
  • ♻️ 更可靠的熱重載!!gamesai reload 現在會完整重建 AI 工具集:內建工具、你的自訂 tools.py 以及其他插件註冊的工具都能正確刷新,刪除的自訂工具在重載後真正消失。
  • 🧰 工具集調整 — 白名單管理工具和 Minecraft Wiki 搜尋已遷移至 GamesAI-Extra 插件;線上玩家查詢在缺少 online_player_api 插件時回退為 RCON 查詢。
  • 🐛 修復 — 修復權限等級啟動時被鎖死、熱重載後內建工具全部遺失、以及可能導致工具註冊崩潰的殘留程式碼。

🔧 開發者相關

  • @register_tool 新增 perm 參數(可填固定等級,也可動態跟隨插件的 permission 設定)。
  • 註冊了 AI 工具的插件現在會隨 GamesAI 熱重載自動重新載入,無需額外登記。

🖥️ 安装方式:在 MCDR 控制台执行 !!MCDR plugin install games_ai · Install: run !!MCDR plugin install games_ai in the MCDR console