LLMChat
Imagine your Minecraft server buzzing with intelligent, real-time conversations between players and advanced AI. LLMChat makes that a reality. This powerful plugin bridges the gap between your server and a wide range of Large Language Models, allowing players to ask questions, get help, or simply enjoy a chat without ever leaving the game. Designed with server administrators in mind, LLMChat offers robust control, security, and flexibility, turning your server into a dynamic, interactive experience.
Key Features of LLMChat
LLMChat is packed with features that make AI integration smooth and manageable. Here is what sets it apart:
- Multiple API Support: Configure several LLM APIs simultaneously, including OpenAI, SiliconFlow, DeepSeek, and Azure OpenAI. Any service compatible with the OpenAI API format works out of the box.
- Multiple Model Selection: Each API can host multiple models, giving players the freedom to choose the AI that best fits their needs, from Qwen to DeepSeek-V3.
- Flexible Commands: Players can specify which API and model to use directly in chat, making every interaction customizable.
- Cooldown Management: Prevent API abuse with configurable rate limiting. Set per-minute request caps and cooldown durations globally or per model.
- Whitelist System: Grant trusted players or staff the ability to bypass cooldown restrictions entirely.
- Chat Logging: All conversations are automatically logged with daily file rotation, perfect for moderation and review.
- Health Check: A console command instantly verifies the availability of all configured APIs and models.
- Hot Reload: Apply configuration changes without restarting the server, saving valuable uptime.
- Security Design: Enforces HTTPS connections and automatically sanitizes sensitive data from logs.
How to Install LLMChat for Minecraft
Getting LLMChat up and running is straightforward. The plugin is built for Paper 1.20+ and any Spigot or Bukkit-compatible server running Java 21 or higher. First, download LLMChat from the official releases page. You will get a jar file named something like LLMChat-x.x.jar. Place this file into your server's plugins directory. Start the server, and the plugin will automatically generate a default configuration folder at plugins/LLMChat-Sodium_Sulfate. For those who prefer a streamlined setup, the foxygame.net launcher includes LLMChat in its curated add-on catalog, offering a one-click install that automatically matches the correct version to your server environment and keeps it updated. Once the plugin is loaded, you can dive into the configuration to connect your preferred AI services.
Configuration and Setup
All settings live inside config.yml. Open it with a text editor to define your APIs. Under the apis section, add entries for each service, providing the endpoint URL, API key, a default model, and an optional system prompt that guides the AI's behavior. For example, you might set a system prompt like "You are a helpful Minecraft assistant. Keep answers brief and friendly." The cooldown section lets you set global limits and override them for specific models. A whitelist of player names can bypass all restrictions. Remember: never share your config.yml file publicly if it contains real API keys. After editing, use /llmchat reload in the console to apply changes instantly.
Commands and Permissions
LLMChat adds a simple yet powerful command set. The base command is /llmchat, followed by your message. You can also target a specific API with -api:<name> or a specific model with -model:<name>, or combine both. Other useful commands include /llmchat list to see available APIs and models, /llmchat help for in-game guidance, and admin-only commands like /llmchat check and /llmchat reload for console use. Permissions are granular: llmchat.use allows chatting, llmchat.list allows viewing the list, and llmchat.admin grants access to reload and check. Operators automatically receive admin permissions, and a special llmchat.bypass.cooldown node lets staff ignore rate limits.
Supported APIs and Models
LLMChat is designed to work with any service that follows the OpenAI API chat completions format. This includes OpenAI's own GPT-3.5 and GPT-4, SiliconFlow's Qwen and DeepSeek models, Azure OpenAI, Cloudflare Workers AI, Aliyun DashScope, Zhipu AI, Moonshot, and many more. As long as you have the correct endpoint URL and a valid API key, you can integrate virtually any compatible LLM. This flexibility ensures your server can always use the latest and most cost-effective AI models available.
Why LLMChat Transforms Your Server
Adding an AI chat dimension to Minecraft does more than entertain. It provides instant, in-game support for new players, answers questions about server rules or mechanics, and creates a unique social feature that sets your community apart. With LLMChat, you are not just installing a plugin; you are opening a direct line between your players and the cutting edge of conversational AI. The combination of easy installation, deep configuration, and broad API support makes LLMChat an essential tool for any modern Minecraft server administrator looking to innovate.
===ARTICLE===