An AI chat assistant for servers. Players ask questions in chat with !ask <question> and a configurable AI persona ("Notch" by default) answers, optionally calling tools to fetch live information.
Supports three providers — Gemini (default), Ollama (local or cloud), and NVIDIA NIM — with agentic tool use for web search (Brave) and the Minecraft Wiki.
!Screenshot 2024-08-08 014911
!Screenshot 2024-08-08 015430
plugins/ directory.plugins/AiChatBuddy/config.yml.config.yml (see below), and start again — or edit live and run /aichat reload.Default config.yml:
provider: gemini # gemini | ollama | nvidia
bot-name: "Notch"
private-questions: false # true = whisper replies, false = broadcast
max-history: 8 # rolling per-player message history; 0 = stateless
agent-max-steps: 8 # max tool-calling iterations before forcing a best-effort answer
prompt-template: |
You are Notch — the ancient architect and silent overseer ...
(full Notch persona, see config.yml)
providers:
gemini:
api-key: ""
api-url: "https://generativelanguage.googleapis.com/v1beta/models/gemma-4-31b-it:generateContent"
temperature: 0.5
top-p: 0.99
ollama:
base-url: "http://localhost:11434" # or https://ollama.com for cloud
api-key: "" # cloud only
model: "gpt-oss:20b"
temperature: 0.7
nvidia:
base-url: "https://integrate.api.nvidia.com"
api-key: "" # must start with nvapi-
model: "meta/llama-3.3-70b-instruct"
temperature: 0.5
tools:
web-search:
enabled: true
api-key: "" # Brave Search API key; tool is hidden from the LLM if blank
max-results: 3
minecraft-wiki:
enabled: true
max-results: 3
You only need to fill in the api-keys for the provider(s) and tool(s) you want to use. Unconfigured providers/tools are simply skipped.
AIza…) into providers.gemini.api-key.Switch models by editing providers.gemini.api-url — the URL contains the model name. Defaults to gemma-4-31b-it (function-calling capable, fast, free). Other good choices:
gemini-2.5-flash — fast, low-cost, strong tool use.gemini-2.5-pro — better quality, slower.gemma-4-26b-a4b-it — bigger context window, only ~4B active params per token.web_search tool)tools.web-search.api-key. Leave blank to disable web search.nvapi-) into providers.nvidia.api-key.Recommended models for providers.nvidia.model:
meta/llama-3.3-70b-instruct (default)nvidia/llama-3.1-nemotron-70b-instructmistralai/mixtral-8x22b-instruct-v0.1You can run Ollama locally (free, private) or use Ollama cloud.
Local:
ollama pull llama3.1 or ollama pull qwen2.5.config.yml:
providers.ollama.base-url: "http://localhost:11434"providers.ollama.api-key: "" (not needed locally)providers.ollama.model: "llama3.1" (or whichever you pulled)Cloud :
config.yml:
providers.ollama.base-url: "https://ollama.com"providers.ollama.api-key: "<your-key-key>"providers.ollama.model: "gpt-oss:20b" (or gpt-oss:120b, qwen3-coder:480b, deepseek-v3.1:671b, glm-4.7, kimi-k2.6, etc.)Switch providers at any time by editing provider: and running /aichat reload.
| Command | Permission | Description |
|---|---|---|
!ask <question> | aichatbuddy.ask (default: everyone) | Ask the AI in chat. |
/aichat reload | aichatbuddy.reload (default: op) | Reload config.yml and clear in-memory history. |
/aichat forget | aichatbuddy.forget.self (default: everyone) | Clear your own conversation history. |
/aichat forget <player> | aichatbuddy.forget.others (default: op) | Clear another player's history. |
Type !ask followed by your question in the chat, e.g., !ask How do I make a crafting table?. The AI will respond with an answer.
If you have any questions, issues, or feature requests, please open an issue on [GitHub](link-to-your-github-repo.
Contributions are welcome! Please feel free to fork this repository and submit pull requests.
This project is licensed under the MIT License.

A Minecraft plugin that lets players ask questions in chat and get answers from AI