OpenRouter Chatbot
🟠 Updated over a year ago🖼️ Gallery (2 images)
🔍 Analysis
- 🏆 #394 of 1080 bukkit mods in this game by downloads
📋 About This Mod
# OpenRouter Chatbot - Minecraft Plugin ## Overview OpenRouter Chatbot is a powerful and highly configurable Spigot plugin that integrates the OpenRouter AI API into your Minecraft server. It allows players and server administrators to interact with a variety of AI models directly in-game, with support for web search, dynamic model switching, and extensive customization. This plugin is designed to be a seamless and immersive addition to any server, providing both utility and entertainment. ## Core Features - **In-Game AI Chat**: Access a powerful AI chatbot from both the server console and in-game chat. - **Dynamic Model Switching**: Change the active AI model on the fly with a simple command. The plugin supports tab-completion for model names, making it easy to find and select the perfect model for your needs. - **Universal Web Search**: By appending `:online` to the model name, you can enable web search for any query, allowing the AI to provide up-to-date information on any topic. - **Intelligent Context Extension**: The plugin can automatically detect and use a model's extended context version (e.g., `:extended`), providing a larger context window for more complex conversations. - **Highly Configurable**: Nearly every aspect of the plugin is customizable via a detailed `config.yml` file. You can control everything from message formats and colors to advanced API parameters like temperature and token limits. - **Fine-Grained Permission Control**: You have complete control over who can use the plugin's commands. Each command can be configured to require operator (OP) status or a specific permission node. - **Public or Private Messaging**: Configure the plugin to broadcast AI interactions to the entire server or keep them private to the user who initiated the prompt. ## Commands and Permissions The plugin's commands are simple and intuitive: | Command | Description | Permission Node | Default | | --- | --- | --- | --- | | `/ai <prompt>` | Sends a prompt to the configured AI model. | `openrouterchatbot.use` | All Players | | `/ai set <model_slug>` | Sets the default AI model for all subsequent requests. | `openrouterchatbot.set` | Operators | | `/ai reloadmodels` | Refreshes the cached list of available models from the OpenRouter API. | `openrouterchatbot.reload` | Operators | You can change the default permission requirements in the `config.yml` file. ## Installation and Setup 1. **Download**: Get the latest release of `OpenRouterChatbot.jar` from the project's releases page. 2. **Install**: Place the `OpenRouterChatbot.jar` file into your server's `plugins` directory. 3. **First Run**: Start your server. The plugin will generate its default configuration file at `plugins/OpenRouterChatbot/config.yml`. 4. **Configure**: Stop the server and open the `config.yml` file with a text editor. - **API Key**: The most important step is to add your OpenRouter API key to the `openrouter-api-key` field. You can obtain a key from (https://openrouter.ai/keys). - **Customize**: Review the rest of the `config.yml` file and customize it to your liking. The file is extensively commented to explain every option. 5. **Restart**: Start your server again. The plugin is now configured and ready to use. ## How It Works The plugin operates by making asynchronous calls to the OpenRouter API. This means that the server's main thread is never blocked, preventing any lag or performance issues. When a user issues a command, the plugin immediately sends a "Thinking..." message (if enabled) and then sends the request to the API in the background. Once the API responds, the plugin schedules a task to send the AI's response back to the user in the main server thread, ensuring thread safety. On startup, the plugin also fetches and caches a list of all available models from the OpenRouter API. This allows for fast tab-completion of model names and enables the intelligent extended context feature without making an API call for every command. ## Configuration File (`config.yml`) Explained This section provides a detailed, toggle-by-toggle explanation of every setting available in the `config.yml` file. ### `Primary Settings` - `openrouter-api-key`: This is where you must paste your unique API key from OpenRouter. The plugin will not work without it. - `model`: This setting determines the default AI model that the plugin will use. You can find a list of available models on the OpenRouter website. This can be changed in-game with `/ai set`. ### `command-permissions` This section allows you to control who can use the plugin's commands. - `require-op-for-ai`: If set to `true`, only server operators (OPs) or players with the `openrouterchatbot.use` permission can use the `/ai <prompt>` command. If `false`, anyone can use it. - `require-op-for-set`: If set to `true`, only OPs or players with the `openrouterchatbot.set` permission can use the `/ai set` command. If `false`, anyone
# OpenRouter Chatbot - Minecraft Plugin
## Overview
OpenRouter Chatbot is a powerful and highly configurable Spigot plugin that integrates the OpenRouter AI API into your Minecraft server. It allows players and server administrators to interact with a variety of AI models directly in-game, with support for web search, dynamic model switching, and extensive customization. This plugin is designed to be a seamless and immersive addition to any server, providing both utility and entertainment.
## Core Features
- In-Game AI Chat: Access a powerful AI chatbot from both the server console and in-game chat.
- Dynamic Model Switching: Change the active AI model on the fly with a simple command. The plugin supports tab-completion for model names, making it easy to find and select the perfect model for your needs.
- Universal Web Search: By appending `:online` to the model name, you can enable web search for any query, allowing the AI to provide up-to-date information on any topic.
- Intelligent Context Extension: The plugin can automatically detect and use a model's extended context version (e.g., `:extended`), providing a larger context window for more complex conversations.
- Highly Configurable: Nearly every aspect of the plugin is customizable via a detailed `config.yml` file. You can control everything from message formats and colors to advanced API parameters like temperature and token limits.
- Fine-Grained Permission Control: You have complete control over who can use the plugin's commands. Each command can be configured to require operator (OP) status or a specific permission node.
- Public or Private Messaging: Configure the plugin to broadcast AI interactions to the entire server or keep them private to the user who initiated the prompt.
## Commands and Permissions
The plugin's commands are simple and intuitive:
| Command | Description | Permission Node | Default |
| --- | --- | --- | --- |
| `/ai
You can change the default permission requirements in the `config.yml` file.
## Installation and Setup
1. Download: Get the latest release of `OpenRouterChatbot.jar` from the project's releases page. 2. Install: Place the `OpenRouterChatbot.jar` file into your server's `plugins` directory. 3. First Run: Start your server. The plugin will generate its default configuration file at `plugins/OpenRouterChatbot/config.yml`. 4. Configure: Stop the server and open the `config.yml` file with a text editor. - API Key: The most important step is to add your OpenRouter API key to the `openrouter-api-key` field. You can obtain a key from (https://openrouter.ai/keys). - Customize: Review the rest of the `config.yml` file and customize it to your liking. The file is extensively commented to explain every option. 5. Restart: Start your server again. The plugin is now configured and ready to use.
## How It Works
The plugin operates by making asynchronous calls to the OpenRouter API. This means that the server's main thread is never blocked, preventing any lag or performance issues. When a user issues a command, the plugin immediately sends a "Thinking..." message (if enabled) and then sends the request to the API in the background. Once the API responds, the plugin schedules a task to send the AI's response back to the user in the main server thread, ensuring thread safety.
On startup, the plugin also fetches and caches a list of all available models from the OpenRouter API. This allows for fast tab-completion of model names and enables the intelligent extended context feature without making an API call for every command.
## Configuration File (`config.yml`) Explained
This section provides a detailed, toggle-by-toggle explanation of every setting available in the `config.yml` file.
### `Primary Settings`
- `openrouter-api-key`: This is where you must paste your unique API key from OpenRouter. The plugin will not work without it.
- `model`: This setting determines the default AI model that the plugin will use. You can find a list of available models on the OpenRouter website. This can be changed in-game with `/ai set`.
### `command-permissions`
This section allows you to control who can use the plugin's commands.
- `require-op-for-ai`: If set to `true`, only server operators (OPs) or players with the `openrouterchatbot.use` permission can use the `/ai
` command. If `false`, anyone can use it. - `require-op-for-set`: If set to `true`, only OPs or players with the `openrouterchatbot.set` permission can use the `/ai set` command. If `false`, anyone
📊 Mod Details
- Game
- Minecraft Plugins
- Author
- nickkostik
- Version
- 1
- Downloads
- 61
- Endorsements
- 1
- Category
- bukkit
- Created
- 8/7/2025
- Updated
- 7/31/2025
- Game Versions
- 1.21.8
- Tags
- magic, technology, utility
🔧 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 OpenRouter Chatbot support?
The author lists 1.21.8. Other versions may work but are untested by the author.
What is the latest version of OpenRouter Chatbot?
Version 1, published 2025-07-31 with 61 downloads recorded at the source.
Keep browsing — more Minecraft Plugins mods await

