1.0.2
Compatibility
Changes
ExAI — AI Assistant Plugin for Minecraft
ExAI brings an LLM-powered, in-game AI assistant to your Minecraft server. It answers player questions with a community-curated knowledge base, using RAG (vector retrieval + LLM) for grounded, server-specific replies. Everything happens inside a chest GUI — no command memorization required.
Features
- Chest GUI assistant — players talk to the AI through a clean menu, no chat spam.
- Public chat response — auto-replies to questions in public chat by keyword triggers (configurable, with cooldown).
- Knowledge base with review workflow — players submit Q&A via a written book → OP approves/rejects in GUI → approved entries enter the vector store.
- RAG retrieval — DashScope text-embedding-v3 (1024-dim) for semantic search; configurable similarity threshold.
- Reward system — Vault currency + custom item rewards for approved submissions.
- OP tools — chat history viewer, knowledge base editor, per-record edit-and-promote.
- Flexible storage — choose between MySQL or pure local YAML files via storage.type; zero database setup required for small servers.
- i18n — built-in zh_CN / en_US, hot-reloadable.
- LLM backend — OpenAI-compatible API (default Aliyun DashScope / Qwen, easy to swap to OpenAI, DeepSeek, etc.).
Commands & Permissions
Command Description /exai opengui Open the assistant GUI /exai question <player> <q> Send a question to a player (OP) /exai reload Reload config (OP) /exai help Show help Permission node: exai.op (knowledge review).
Quick Setup
- Drop ExAI.jar into plugins/.
- Start the server once → edit plugins/ExAI/config.yml:
- Choose storage.type: yml (default, no DB) or mysql.
- If mysql, fill in MySQL credentials.
- Fill in your LLM API key (llm.apiKey).
- Adjust assistant name / language / rewards.
- (Optional) Edit plugins/ExAI/knowledge.yml to seed your knowledge base.
- /exai reload.
Storage modes
- yml (default)
- mysql
Requirements
- Spigot/Paper 1.12.2 or compatible
- Java 8+
- MySQL 5.7+ — only if storage.type: mysql
- Vault — optional, for currency rewards
- An OpenAI-compatible LLM endpoint + embedding endpoint
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:rCfAOz97:9uVeAhik"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:rCfAOz97:9uVeAhik"
}

