AiCraft
🟡 Updated this year🔍 Analysis
- 🏆 #723 of 1080 bukkit mods in this game by downloads
📋 About This Mod
**Aicraft** adds private AI chat to your Paper server — in-game and in the browser. Talk to Ollama, Unsloth, vLLM, or any OpenAI-compatible API. Conversations are saved per player, with a web UI for history and linking your Minecraft account. **v1.1.0** adds the web UI, SQLite/Postgres chat history, per-player chat IDs, account linking, and LuckPerms-friendly daily chat limits. --- <details> <summary><strong>Requirements</strong></summary> - **Paper** 1.21 or newer, including **26.x** (Spigot is not supported) - **Java 21** for Paper 1.21.x servers, **Java 25** for Paper 26.x servers - An **OpenAI-compatible** chat API — local or cloud - **Optional:** open port **8765** (or your chosen port) if you want the web UI reachable from outside the host Works with: - (https://ollama.com/) on `localhost` - Unsloth / vLLM / LM Studio and other `/v1/chat/completions` endpoints - OpenAI, Groq, OpenRouter, etc. </details> <details> <summary><strong>Installation</strong></summary> 1. Download the latest **Aicraft** `.jar` from the **Versions** tab on this page. 2. Drop it into your server's `plugins/` folder. 3. Start or restart the server. 4. On first run, Aicraft creates: - `plugins/Aicraft/config.yml` — AI endpoint settings - `plugins/Aicraft/web.yml` — web UI, database, and rate limits - `plugins/Aicraft/aicraft.db` — SQLite database (created automatically) 5. Edit `config.yml` before players use the plugin (see **Configuration** below). 6. Restart after changing config (safest). Reloading may not restart the web server or database. </details> <details> <summary><strong>AI configuration</strong> (`config.yml`)</summary> ```yaml endpoint: "http://localhost:11434/v1/chat/completions" api-key: "ollama" model: "llama3.2" system-prompt: "You are a helpful assistant inside a Minecraft server. Keep replies concise and game-friendly." timeout-seconds: 120 max-history-messages: 20 ``` | Option | Description | |--------|-------------| | `endpoint` | Full URL to the chat completions API (`/v1/chat/completions`) | | `api-key` | API key sent as `Authorization: Bearer …`. Use any placeholder (e.g. `ollama`) if your server ignores auth | | `model` | Model name your provider expects | | `system-prompt` | Prepended to every new chat | | `timeout-seconds` | HTTP timeout for AI requests | | `max-history-messages` | Max user + assistant messages kept in the AI context window | ### Ollama (local, recommended) On the **same machine** as Minecraft: ```bash ollama pull llama3.2 ollama serve ``` ```yaml endpoint: "http://localhost:11434/v1/chat/completions" api-key: "ollama" model: "llama3.2" ``` If Ollama runs on another host, replace `localhost` with that machine's IP or hostname. ### OpenAI (cloud) ```yaml endpoint: "https://api.openai.com/v1/chat/completions" api-key: "sk-your-key-here" model: "gpt-4o-mini" ``` ### Other local providers Point `endpoint` at whatever `/v1/chat/completions` URL your stack exposes. `localhost` and private LAN addresses are supported. </details> <details> <summary><strong>Web & database configuration</strong> (`web.yml`)</summary> ```yaml enabled: true port: 8765 bind-address: "0.0.0.0" database: type: sqlite sqlite-file: "aicraft.db" postgres: host: "localhost" port: 5432 database: "aicraft" username: "aicraft" password: "" rate-limits: default-chats-per-day: 50 linking: link-code-expiry-minutes: 2 web-session-days: 30 ``` | Option | Description | |--------|-------------| | `enabled` | Turn the web UI on or off | | `port` / `bind-address` | Where the web server listens (`0.0.0.0` = all interfaces) | | `database.type` | `sqlite` (default) or `postgres` | | `database.sqlite-file` | SQLite file inside `plugins/Aicraft/` — **created automatically** | | `database.postgres.*` | Postgres connection settings (database must exist beforehand) | | `rate-limits.default-chats-per-day` | Max **new** chats per player per 24h when no permission overrides it | | `linking.link-code-expiry-minutes` | How long an `/ailink` code stays valid | | `linking.web-session-days` | How long a linked web session lasts | **Database notes:** - SQLite is zero-setup — the `.db` file and tables are created on first startup. - Migrations run automatically; you never need to run SQL by hand. - The database is always used (even with `enabled: false`) so in-game chats are saved. - For Postgres, create the database first, then set `type: postgres` and fill in credentials. </details> <details> <summary><strong>How to use in-game</strong></summary> | Command | What it does | |---------|----------------| | `/newchat` | Start a new private chat — you get **Chat #N** (your personal ID) | | `/ai <message>` | Send a message in your active chat | | `/endchat` | End your active chat (history is still saved) | | `/reopenchat <id>` | Reopen one of **your** saved chats (e.g. `/reopenchat 1`) | | `/ailink` | Link your account to the web UI (after entering your username on the web)
Aicraft adds private AI chat to your Paper server — in-game and in the browser. Talk to Ollama, Unsloth, vLLM, or any OpenAI-compatible API. Conversations are saved per player, with a web UI for history and linking your Minecraft account.
v1. 1. 0 adds the web UI, SQLite/Postgres chat history, per-player chat IDs, account linking, and LuckPerms-friendly daily chat limits.
Requirements
- Paper 1. 21 or newer, including 26.x (Spigot is not supported)
- Java 21 for Paper 1. 21.x servers, Java 25 for Paper 26.x servers
- An OpenAI-compatible chat API — local or cloud
- Optional: open port 8765 (or your chosen port) if you want the web UI reachable from outside the host
Works with: - (https://ollama.com/) on `localhost` - Unsloth / vLLM / LM Studio and other `/v1/chat/completions` endpoints - OpenAI, Groq, OpenRouter, etc.
Installation
1. Download the latest Aicraft `.jar` from the Versions tab on this page. 2. Drop it into your server's `plugins/` folder. 3. Start or restart the server. 4. On first run, Aicraft creates: - `plugins/Aicraft/config.yml` — AI endpoint settings - `plugins/Aicraft/web.yml` — web UI, database, and rate limits - `plugins/Aicraft/aicraft.db` — SQLite database (created automatically) 5. Edit `config.yml` before players use the plugin (see Configuration below). 6. Restart after changing config (safest). Reloading may not restart the web server or database.
AI configuration (`config.yml`)
```yaml endpoint: "http://localhost:11434/v1/chat/completions" api-key: "ollama" model: "llama3. 2" system-prompt: "You are a helpful assistant inside a Minecraft server. Keep replies concise and game-friendly." timeout-seconds: 120 max-history-messages: 20 ```
| Option | Description | |--------|-------------| | `endpoint` | Full URL to the chat completions API (`/v1/chat/completions`) | | `api-key` | API key sent as `Authorization: Bearer …`. Use any placeholder (e.g. `ollama`) if your server ignores auth | | `model` | Model name your provider expects | | `system-prompt` | Prepended to every new chat | | `timeout-seconds` | HTTP timeout for AI requests | | `max-history-messages` | Max user + assistant messages kept in the AI context window |
### Ollama (local, recommended)
On the same machine as Minecraft:
```bash ollama pull llama3. 2 ollama serve ```
```yaml endpoint: "http://localhost:11434/v1/chat/completions" api-key: "ollama" model: "llama3. 2" ```
If Ollama runs on another host, replace `localhost` with that machine's IP or hostname.
### OpenAI (cloud)
```yaml endpoint: "https://api.openai.com/v1/chat/completions" api-key: "sk-your-key-here" model: "gpt-4o-mini" ```
### Other local providers
Point `endpoint` at whatever `/v1/chat/completions` URL your stack exposes. `localhost` and private LAN addresses are supported.
Web & database configuration (`web.yml`)
```yaml enabled: true port: 8765 bind-address: "0. 0. 0. 0"
database: type: sqlite sqlite-file: "aicraft.db" postgres: host: "localhost" port: 5432 database: "aicraft" username: "aicraft" password: ""
rate-limits: default-chats-per-day: 50
linking: link-code-expiry-minutes: 2 web-session-days: 30 ```
| Option | Description | |--------|-------------| | `enabled` | Turn the web UI on or off | | `port` / `bind-address` | Where the web server listens (`0. 0. 0. 0` = all interfaces) | | `database.type` | `sqlite` (default) or `postgres` | | `database.sqlite-file` | SQLite file inside `plugins/Aicraft/` — created automatically | | `database.postgres.*` | Postgres connection settings (database must exist beforehand) | | `rate-limits.default-chats-per-day` | Max new chats per player per 24h when no permission overrides it | | `linking.link-code-expiry-minutes` | How long an `/ailink` code stays valid | | `linking.web-session-days` | How long a linked web session lasts |
Database notes: - SQLite is zero-setup — the `.db` file and tables are created on first startup. - Migrations run automatically; you never need to run SQL by hand. - The database is always used (even with `enabled: false`) so in-game chats are saved. - For Postgres, create the database first, then set `type: postgres` and fill in credentials.
How to use in-game
| Command | What it does |
|---------|----------------|
| `/newchat` | Start a new private chat — you get Chat #N (your personal ID) |
| `/ai
📊 Mod Details
- Game
- Minecraft Plugins
- Author
- codingsushi
- Version
- v1.1.2+26.x.x
- Downloads
- 47
- Endorsements
- 0
- Category
- bukkit
- Created
- 6/20/2026
- Updated
- 6/12/2026
- Game Versions
- 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
- Tags
- game-mechanics, social, technology
🔧 How to Install Minecraft Plugins Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Plugins →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Plugins versions does AiCraft support?
The author lists 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5. Other versions may work but are untested by the author.
What is the latest version of AiCraft?
Version v1.1.2+26.x.x, published 2026-06-12 with 47 downloads recorded at the source.
Keep browsing — more Minecraft Plugins mods await