MonitoringMinecraft MonitoringMinecraft

MCAI Assistant

Мод Fabric

MCAI Assistant — мод для Майнкрафт с ИИ-ассистентом на сервере и клиенте, подключается к OpenAI-совместимому API

94 скачивания 0 подписчиков
Оцените первым

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

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1161 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
Minestory
3 онлайн
1.21 — 26.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
BULLCRAFT
BULLCRAFT Java + BE
88 онлайн
26.2 версия
Анархия! PvP | Работают поршни и вагонетки
ReallyWorld КОПИЯ ВСЕМ АДМИНКА
43 онлайн
1.16.5 — 1.21.1 версия
ПвП, Гриферство, бесплатный донат Dragon, AIR DROP
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.4. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат