GrokChat

Integrates Grok AI into server chat with @mentions, auto-response, and contextual awareness

305

GrokChat

MCGrokChat

Bring Grok AI directly into your Minecraft server chat! Players can ask questions, get help, and have natural conversations with Grok AI using simple `@grok` mentions or commands.

GitHub Repository | Issues | Wiki

Features

- Full Permissions System - Mention `@grok` in chat or use `/grok` command - Full Permissions System - Grok joins conversations naturally when keywords are mentioned (enabled by default) - Full Permissions System - Remembers the last 10 messages for better conversation flow - Full Permissions System - Optional location, biome, health, and equipment awareness for location-specific advice - Full Permissions System - Smart autocomplete for all commands - Full Permissions System - Change Grok's personality with configurable prompts - Full Permissions System - Prevent spam with configurable limits - Full Permissions System - Reload config, test API, view stats, and more - Full Permissions System - Fine-grained control over who can use what

Requirements

- Java 17 or higher - Spigot/Paper/Purpur 1.21+ (or compatible Spigot-based server) - xAI API key (get one here)

Supported Servers

- Purpur 1.21+ - Purpur 1.21+ (recommended) - Purpur 1.21+ - Other Spigot-based servers

Configuration

All settings can be configured in `plugins/MCGrokChat/config.yml`. You'll need an xAI API key to get started - sign up at console.x.ai to get yours.

Example configuration:

```yaml api: key: "your-xai-api-key-here" model: "grok-3-mini"

chat: enable-auto-response: true auto-response-keywords: - "grok" - "hey grok"

chat-history: enabled: true size: 10 ```

Example Usage

```

Direct Mention (Private Response)

Player: @grok how do I find diamonds? [Grok] The best way to find diamonds is to mine at Y-level -59. Bring iron pickaxes and watch out for lava!

Auto-Response (Public - Everyone sees)

Player: hey grok what's the best enchantment for a sword? [Grok] For swords, Sharpness V is essential! Also get Sweeping Edge III for crowd control. Don't forget Looting III for better drops!

Command Usage

/grok what's the best food in minecraft? [Grok] Golden carrots are the best food for saturation, but cooked porkchops and steak are great for hunger restoration! ```

Documentation

- Full README - Complete documentation and examples - Configuration Examples - Pre-made config files for different setups - Setup Guide - Detailed installation instructions - Feature Guides - Guides for auto-response, chat history, customization, and more

Support

- Source Code: Source Code: - Source Code: %%MD1%% - Source Code: %%MD2%%

API Costs

This plugin uses the xAI API. Check xAI's pricing page for current rates. The plugin uses `grok-3-mini` by default, which is optimized for cost efficiency.

License

This project is licensed under the MIT License. See the LICENSE file for details.

---

Made with love for the Minecraft community

*Not affiliated with Mojang, Microsoft, or xAI*

ADS