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

1496

Back to catalogue

GamesAI-v0.8.0.mcdr

Version

0.8.0

Date

October 24, 2026

Size

648.16 KiB

Downloads

4

MD5

411f1cf187e2110a105f0ad153097b36

SHA256

e376cb7856a54307db87afa7b6895b0cc00c5d7a378c071f2e11b248f75a24b4

MCDR Plugin Dependencies

Plugin IDRequirement
mcdreforged>=2.15.0

Python Package Requirements

Python PackageRequirement

none

GamesAI 0.8.0 — Cross-server linking

This release is about cross-server linking: several MCDR servers can now form one cluster and share a single AI assistant, one conversation history and one public database, so players keep their assistant wherever they go.

🌐 Cross-server

  • The role is automatic: a GamesAI hub answering on the configured address makes this instance a client; otherwise it becomes the hub itself. A standalone server behaves exactly as before.
  • One AI, one conversation history and one public database for the whole cluster. The assistant follows players between servers, and the model is told when a player moves.
  • Commands, permissions and rich chat output (colors, hover texts, buttons) behave the same on every instance of the cluster.
  • New in-depth guide: Cross-server.

💬 Conversations

  • Every conversation is saved and restored on load: reloading, updating, restarting or reinstalling the plugin no longer loses anyone's history.
  • A question asked while the assistant is still answering is queued and answered together with the next round, instead of starting a second one.
  • !!ask stop keeps what the round already wrote; only a tool call whose result never arrived is dropped.
  • New !!gamesai clear <name> lets a permitted operator clear another player's conversation.
  • New tool send_message_to_player_ai: hand one message to another player's assistant (they read it at their next question).

🤖 Mineflayer bot

  • The bot now joins the cluster like any other client — no separate address or port to configure.
  • Start/stop follows the real process; a failing bot action no longer kills the bot, and a failed goto stops walking instead of leaving it wandering.

🔄 Updates, safety & clarity

  • The plugin updates itself from its own releases (!!MCDR plugin install is no longer needed); in a cluster, nodes update first and the hub last.
  • Missing Python packages are installed automatically on first start.
  • Failed requests explain themselves in the log and in the player's reply, no debug mode needed.
  • !!ask context --all shows one row per configured assistant, and a colored assistant name no longer turns the rest of its row white.
  • Skill tools can only touch files inside the skills folder, and the timer tool refuses unreasonably long waits unless explicitly allowed.
  • The assistant's time reading now carries the server's timezone and the time since the previous round/message.

⬆️ Upgrading

Your configuration migrates automatically. In a cluster, install 0.8.0 by hand once on every instance, since an older node cannot take part in the new update order. Back up config/games_ai before upgrading.

Full details: changelog.


GamesAI 0.8.0 — 跨服连接

本次更新的主题是跨服连接:多台 MCDR 服务器可以组成一个集群,共用同一个 AI 助手、同一份对话历史与同一份公共数据库;玩家走到哪台服务器,助手都跟着他。

🌐 跨服连接

  • 角色自动决定:配置的地址上有 GamesAI hub 应答时,本实例作为客户端接入;没有应答时,本实例自己成为 hub。单机服务器行为完全不变。
  • 整个集群共用同一个 AI、同一份对话历史与同一份公共数据库:助手跟随玩家跨服移动,模型也会被告知玩家换了服务器。
  • 命令、权限与富文本回复(颜色、悬停、按钮)在集群中每个实例上表现一致。
  • 新增完整指南:跨服连接。

💬 对话

  • 每条对话都会保存,并在插件加载时还原:重载、更新、重启乃至重新安装插件都不再丢失任何人的历史。
  • 助手还在回答时再发的提问会排队,与下一轮一起回答,而不是另起一轮。
  • !!ask stop 会保留这一轮已经写下的内容,只丢弃结果从未到达的那个工具调用。
  • 新增 !!gamesai clear <name>:有权限的管理者可以清除指定玩家的对话。
  • 新增工具 send_message_to_player_ai:把一条消息转交给其他玩家的助手(对方下次提问时读到)。

🤖 假人

  • 假人改为像普通客户端一样接入集群,不再需要单独配置地址或端口。
  • 启停以真实进程为准;机器人动作失败不会再弄死机器人,goto 失败会停止寻路,而不是让它继续乱走。

🔄 更新、安全与可读性

  • 插件自行下载并安装新版本(不再需要 !!MCDR plugin install);集群中先更新节点、最后更新 hub。
  • 首次启动时缺少的 Python 依赖包会自动补装。
  • 请求失败时,日志与玩家回复都会直接说明原因,不需要开启 debug。
  • !!ask context --all 按配置的助手逐行列示;带颜色的助手名不再把该行其余内容刷成白色。
  • 技能工具只能操作技能目录内的文件;计时工具默认拒绝过长的等待(除非明确允许)。
  • 助手的时间提示会带上服务器时区,并说明距离上一轮/上一条消息过了多久。

⬆️ 升级提示

现有配置会自动迁移。集群环境中,请先在每个实例上手动安装一次 0.8.0(旧版本的节点无法参与新的更新顺序);升级前请备份 config/games_ai。

完整更新日志:changelog。


GamesAI 0.8.0 — 跨服連線

本次更新的主題是跨服連線:多台 MCDR 伺服器可以組成一個叢集,共用同一個 AI 助手、同一份對話歷史與同一份公共資料庫;玩家走到哪台伺服器,助手都跟著他。

🌐 跨服連線

  • 角色自動決定:設定的位址上有 GamesAI hub 應答時,本實例以客戶端接入;沒有應答時,本實例自己成為 hub。單機伺服器行為完全不變。
  • 整個叢集共用同一個 AI、同一份對話歷史與同一份公共資料庫:助手跟隨玩家跨服移動,模型也會被告知玩家換了伺服器。
  • 指令、權限與富文字回覆(顏色、懸停、按鈕)在叢集中每個實例上表現一致。
  • 新增完整指南:跨服連線。

💬 對話

  • 每條對話都會保存,並在外掛載入時還原:重載、更新、重啟乃至重新安裝外掛都不再遺失任何人的歷史。
  • 助手還在回答時再送的提問會排隊,與下一輪一起回答,而不是另起一輪。
  • !!ask stop 會保留這一輪已經寫下的內容,只丟棄結果從未到達的那個工具呼叫。
  • 新增 !!gamesai clear <name>:有權限的管理者可以按名字清除指定玩家的對話。
  • 新增工具 send_message_to_player_ai:把一則訊息轉交給其他玩家的助手(對方下次提問時讀到)。

🤖 假人

  • 假人改為像一般客戶端一樣接入叢集,不再需要單獨設定位址或連接埠。
  • 啟停以真實行程為準;機器人動作失敗不會再弄死機器人,goto 失敗會停止尋路,而不是讓它繼續亂走。

🔄 更新、安全與可讀性

  • 外掛自行下載並安裝新版本(不再需要 !!MCDR plugin install);叢集中先更新節點、最後更新 hub。
  • 首次啟動時缺少的 Python 依賴套件會自動補裝。
  • 請求失敗時,日誌與玩家回覆都會直接說明原因,不需要開啟 debug。
  • !!ask context --all 按設定的助手逐列列出;帶顏色的助手名不再把該列其餘內容刷成白色。
  • 技能工具只能操作技能目錄內的檔案;計時工具預設拒絕過長的等待(除非明確允許)。
  • 助手的時間提示會帶上伺服器時區,並說明距離上一輪/上一則訊息過了多久。

⬆️ 升級提示

現有設定會自動遷移。叢集環境中,請先在每個實例上手動安裝一次 0.8.0(舊版本的節點無法參與新的更新順序);升級前請備份 config/games_ai。

完整更新日誌:changelog。