MCAI Assistant 图标

MCAI Assistant

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.5.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/mcai_mod
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2 26.2

平台: fabric

标签: management

资源介绍

MCAI - Minecraft AI Assistant

License: MIT
Fabric
Java

MCAI is a Fabric mod that lets AI manage your Minecraft server. This entire project is AI-developed.

TL;DR: Players type /ai how do I enchant a diamond sword?, AI answers. Someone swears? AI warns or kicks. Dangerous ops need admin approval.


Quick Start

What How
Chat with AI /ai <question> or !ai <question>
AI executes commands /ai give me a diamond sword (admin approval)
Check behavior score /aiscore
Search wiki /aikb enchantment
Admin approve /aiaccept 1 approve / /aireject 1 reject

Features

AI Chat

  • Players use !ai or /ai to chat with AI
  • AI has full server context (chat logs, weather, time, players)
  • Multi-turn conversation with history

Auto Behavior Review

  • AI analyzes chat every 30 minutes
  • Three-tier penalty: score deduction -> yellow card -> red card (kick)
  • Admin messages are trusted; admins can declare server rules

Admin Approval

  • Dangerous commands (op, ban, kick) require manual admin approval
  • 3-minute timeout auto-cancels pending approvals
  • Strict mode: only whitelisted safe commands skip approval

Game Knowledge Base

  • Built-in Chinese Minecraft Wiki entries
  • Online search with local fallback

Installation

Requirements

  • Minecraft Fabric server 26.1+
  • Java 25
  • A DeepSeek API Key (Recommended) or any OpenAI-compatible API

Steps

  1. Download the latest JAR from Releases
  2. Place it in mods/ folder
  3. Start the server to auto-generate config
  4. Edit config/mcai/config.json, fill in your API Key
  5. Config auto-reloads; or run /aireload manually

    Single-Player Usage

The mod works in single-player too (no dedicated server required):

  1. Install Fabric client (same version 26.1+ as the server)
  2. Place the JAR in .minecraft/mods/ folder
  3. Launch the game and enter a single-player world
  4. Config and commands are identical to the server setup
  5. You are the world owner with full admin permissions by default
  6. (Optional) Install Mod Menu for in-game config editing

Tip: The behavior review system is auto-disabled in single-player (no need to review yourself).


Commands

Player Commands

Command Description
!ai <msg> /ai <msg> Chat with AI
/aiscore Check behavior score

Admin Commands

Command Description
/aiaccept <n> Approve pending action
/aireject <n> Reject pending action
/aiquery List pending approvals
/aiclear Clear AI chat history
/aireload Manually reload config (auto-reloads on file change)
/aikb <keyword> Search knowledge base

Review Management

Command Description
/aicheck start Trigger manual review
/aicheck approve <id> Approve kick
/aicheck reject <id> Reject kick
/aicheck last View last review result
/aicheck last reasoning View AI reasoning

Configuration

File: config/mcai/config.json. Auto-reloads on change (or use /aireload).

Key Default Description
apiEndpoint https://api.deepseek.com API endpoint
apiKey "" API key
model deepseek-v4-flash Model name
strictMode true Strict mode
aiCooldownSeconds 60 Non-admin AI cooldown (seconds)
aiMaxConcurrent 3 Max concurrent non-admin AI calls
reviewIntervalMinutes 30 Review interval (min)
yellowCardThreshold -30 Yellow card threshold
redCardThreshold -60 Red card threshold
systemPromptPath "" System prompt file (under config/mcai/)
reviewPromptPath "" Review prompt file

Prompt files system_prompt.txt / review_prompt.txt are auto-created on first start.


Importing Knowledge Bases

More at https://github.com/lll114514lll1919810lll/mcai_mod

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Dash Amulet

价格:0 墨喵币
下载量:0

查看详情
Better 3D Tools

价格:0 墨喵币
下载量:0

查看详情
LOTR Night Sky

价格:0 墨喵币
下载量:0

查看详情
RemoveDuplicateMove

价格:0 墨喵币
下载量:0

查看详情