A plugin for Minecraft servers (Paper/Folia) that lets you chat with AI directly in the game using the OpenAI API.
/llm <question>command to ask the AI/llmreloadcommand to reload configuration- Conversation history saved in SQLite
- Configurable (API key, base URL, model, max tokens, instructions)
- Compatible with Paper and Folia
- Download the
.jarfile from the actions section - Place the
.jarfile in theplugins/folder of your Paper server - Restart the server to load the plugin
The configuration file is located at plugins/MinecraftLLM/config.yml:
Config:
instructions: "You are a helpful assistant in Minecraft. Respond concisely and friendly."
apiKey: "your-api-key-here"
baseUrl: ""
model: "gpt-4o-mini"
maxTokens: 800instructions: System instructions for the AIapiKey: Your OpenAI API keybaseUrl: API base URL (empty = official OpenAI, e.g.http://localhost:11434/v1for Ollama)model: AI model to use (default: gpt-4o-mini)maxTokens: Maximum number of tokens in the response
/llm <question>- Ask a question to the AI/llmreload- Reload configuration
- Paper or Folia
- Jackson Databind 2.21.4
- SQLite JDBC 3.45.1.0
./gradlew buildThe JAR will be generated in build/libs/
MIT License - See LICENSE for details.