Sterra AIBotChat - Minecraft AI 助手插件
AIBotChat 是一款 Spigot/Paper 插件,可将基于 AI 的聊天助手无缝集成到您的 Minecraft 服务器中,允许玩家在游戏中直接提问。该插件采用本地 AI 技术,能够为服务器规则、游戏技巧或自定义背景故事提供有用的回复,且不会造成任何服务器延迟。
主要特性
-
基于角色的 AI:自定义 AI 的人格与知识库,以适配你的服务器。
-
游戏内聊天集成:玩家只需使用 /ai <问题> 等简单命令即可进行交互。
-
异步处理:确保在 AI 请求期间服务器的流畅运行。
-
冷却系统:防止滥用并保护你的 API 资源。
-
可配置设置:通过 config.yml 轻松调整 API 端点、响应长度、创意程度等更多选项。
依赖项
要让 AIBotChat 正常运行,text-generation-webui 是绝对必需的。此开源工具必须安装并在本地运行,且启用了 API。此外,必须在 text-generation-webui 中加载模型,以便 AI 生成回复——如果没有加载模型,插件将无法工作。
设置指南
- 安装并启动带有 API 支持的 text-generation-webui(例如
python server.py --api --listen)。
- 在 text-generation-webui 的 Character(角色)选项卡中,创建或编辑一个角色。在该角色的上下文(context)中,你可以输入有关你的 Minecraft 服务器的特定信息(例如规则、命令或自定义背景故事),以定制 AI 的回复。
- 保存该角色并记下其确切名称。
- 在 Spigot/Paper 服务器(Minecraft 1.20+,Java 17+)上构建并安装插件 JAR 文件。
- 在插件的
config.yml 中,将 character 字段设置为你保存的角色名称。
- 使用
/aireload 重新加载配置文件,随后你选择的角色就会回答你的问题了。
有关详细的安装步骤,请参阅完整的 README 文档。
作者与社区
本插件由 zfzfg 开发。请访问我的网站 sterra.online。加入 Sterra Community Discord 服务器以获取支持、讨论和反馈:Sterra Community。
Sterra AIBotChat - Minecraft AI Assistant Plugin
AIBotChat is a Spigot/Paper plugin that seamlessly integrates an AI-powered chat assistant into your Minecraft server, allowing players to ask questions directly in-game. Powered by local AI technology, it provides helpful responses for server rules, gameplay tips, or custom lore without causing any server lag.
Key Features
- Character-Based AI: Customize the AI's personality and knowledge base for your server.
- In-Game Chat Integration: Players use simple commands like
/ai <question> to interact.
- Async Processing: Ensures smooth server performance during AI requests.
- Cooldown System: Prevents spam and protects your API resources.
- Configurable Settings: Easily adjust API endpoints, response length, creativity, and more via config.yml.
Requirements
To get AIBotChat running, text-generation-webui is absolutely essential. This open-source tool must be installed and running locally with the API enabled. Additionally, a model must be loaded in text-generation-webui for the AI to generate responses—without a loaded model, the plugin won't function.
Setup Guide
- Install and start text-generation-webui with API support (e.g.,
python server.py --api --listen).
- In text-generation-webui's Character tab, create or edit a character. In the character's context, you can input specific information about your Minecraft server (e.g., rules, commands, or custom lore) to tailor the AI's responses.
- Save the character and note its exact name.
- Build and install the plugin JAR on your Spigot/Paper server (Minecraft 1.20+, Java 17+).
- In the plugin's
config.yml, set the character field to your saved character's name.
- Reload the config file with
/aireload then the character you selected should answer your questions.
For detailed installation steps, check the full README.
Author and Community
This plugin is developed by zfzfg. Visit my website at sterra.online. Join the Sterra Community Discord server for support, discussions, and feedback: Sterra Community.
评论 0
登录后参与评分
还没有评论,来抢沙发吧