ModsJava
Simple AI Chat Plugin
Java mod listed for Minecraft 1.21. Download on the author's site.
⬇ Download on SpigotSimpleAIChatPlugin
A lightweight Minecraft plugin that allows players to interact with an AI directly through in-game chat. Powered by the Cerebras AI API with support for free tier models.
Features
- Chat with AI directly from in-game using simple commands
- Cerebras AI API powered with free tier models available
- Lightweight and performance-friendly - minimal server impact
- Personality Profiles - 5 different AI personalities (Helper, Tutor, Entertainer, Expert, Casual)
- Player Management - Whitelist/blacklist system to control access
- Conversation Storage - Automatic conversation tracking and memory per player
- Response Control - Choose between short (simple) or long (detailed) responses
- Simple setup with API key configuration
- Clean command system - easy to use
- Suitable for small and large servers
Supported AI Models
- Llama-3.1-8B (default)
- Qwen-3-32B
- GPT-OSS-120B
- ZAI GLM 4.6
- Llama-3.3-70B
- Qwen3-235B (Instruct)
Commands
# Player Commands
- /ai <prompt> - Chat with AI directly
- Example: /ai How do I build a house?
# Admin Commands
- /aiadmin reload - Reload config after file edit
- /aiadmin setkey <key> - Update API key instantly (no restart needed!)
- /aiadmin status - Shows all current configuration
- /aiadmin setmodel <model> - Switch AI model without restart
- /aiadmin models - List available AI models
- /aiadmin personalities - List available AI personalities
- /aiadmin setpersonality <name> - Set default AI personality
- /aiadmin whitelist <enable|disable|list> - Manage player whitelist
- /aiadmin blacklist <add|remove|list> - Manage player blacklist
- /aiadmin help - Show help message
# Permissions
- aiplugin.use - Allows players to use the `/ai` command to chat with AI (default: true)
- aiplugin.admin - Allows access to `/aiadmin` command and administrative features (default: op)
# Installation
1. Download the plugin JAR: SimpleAIChatPlugin-1.2.0.jar
2. Place in your server's plugins folder
3. Restart your server
4. Edit plugins/SimpleAIChatPlugin/config.yml and add your Cerebras AI API key
5. Run /aiadmin reload to apply changes
Or restart your server's
## Configuration
# Cerebras AI API Configuration
# Getting a Cerebras AI API Key
1. Sign up at [Cerebras AI]( https://www.cerebras.ai/)
2. Create an API key in your account settings
3. Copy your API key and paste it in the config file
4. Run `/aiadmin reload` to activate
If you find bugs or add new Features, you can contact me :
[email protected]
A lightweight Minecraft plugin that allows players to interact with an AI directly through in-game chat. Powered by the Cerebras AI API with support for free tier models.
Features
- Chat with AI directly from in-game using simple commands
- Cerebras AI API powered with free tier models available
- Lightweight and performance-friendly - minimal server impact
- Personality Profiles - 5 different AI personalities (Helper, Tutor, Entertainer, Expert, Casual)
- Player Management - Whitelist/blacklist system to control access
- Conversation Storage - Automatic conversation tracking and memory per player
- Response Control - Choose between short (simple) or long (detailed) responses
- Simple setup with API key configuration
- Clean command system - easy to use
- Suitable for small and large servers
Supported AI Models
- Llama-3.1-8B (default)
- Qwen-3-32B
- GPT-OSS-120B
- ZAI GLM 4.6
- Llama-3.3-70B
- Qwen3-235B (Instruct)
Commands
# Player Commands
- /ai <prompt> - Chat with AI directly
- Example: /ai How do I build a house?
# Admin Commands
- /aiadmin reload - Reload config after file edit
- /aiadmin setkey <key> - Update API key instantly (no restart needed!)
- /aiadmin status - Shows all current configuration
- /aiadmin setmodel <model> - Switch AI model without restart
- /aiadmin models - List available AI models
- /aiadmin personalities - List available AI personalities
- /aiadmin setpersonality <name> - Set default AI personality
- /aiadmin whitelist <enable|disable|list> - Manage player whitelist
- /aiadmin blacklist <add|remove|list> - Manage player blacklist
- /aiadmin help - Show help message
# Permissions
- aiplugin.use - Allows players to use the `/ai` command to chat with AI (default: true)
- aiplugin.admin - Allows access to `/aiadmin` command and administrative features (default: op)
# Installation
1. Download the plugin JAR: SimpleAIChatPlugin-1.2.0.jar
2. Place in your server's plugins folder
3. Restart your server
4. Edit plugins/SimpleAIChatPlugin/config.yml and add your Cerebras AI API key
5. Run /aiadmin reload to apply changes
Or restart your server's
## Configuration
# Cerebras AI API Configuration
Code (Text):
api:
key: "YOUR_API_KEY_HERE"
base_url: "https://api.cerebras.ai/v1"
model: "llama3.1-8b"
timeout: 30
# Chat Settings
chat:
prefix: "&8[&bAI&8]&r "
max_prompt_length: 500
cooldown_seconds: 5
# Response Settings (short = 1-2 sentences, long = detailed)
response:
max_length: 256
split_long_messages: true
response_style: "short"
# Conversation Storage
storage:
enabled: true
max_conversations_per_player: 100
cleanup_days: 30
# AI Personality (helper, tutor, entertainer, expert, casual)
personality:
default: "helper"
# Player Management
player_management:
whitelist_enabled: false
whitelist: []
blacklist: []
key: "YOUR_API_KEY_HERE"
base_url: "https://api.cerebras.ai/v1"
model: "llama3.1-8b"
timeout: 30
# Chat Settings
chat:
prefix: "&8[&bAI&8]&r "
max_prompt_length: 500
cooldown_seconds: 5
# Response Settings (short = 1-2 sentences, long = detailed)
response:
max_length: 256
split_long_messages: true
response_style: "short"
# Conversation Storage
storage:
enabled: true
max_conversations_per_player: 100
cleanup_days: 30
# AI Personality (helper, tutor, entertainer, expert, casual)
personality:
default: "helper"
# Player Management
player_management:
whitelist_enabled: false
whitelist: []
blacklist: []
1. Sign up at [Cerebras AI]( https://www.cerebras.ai/)
2. Create an API key in your account settings
3. Copy your API key and paste it in the config file
4. Run `/aiadmin reload` to activate
If you find bugs or add new Features, you can contact me :
[email protected]
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Simple AI Chat Plugin is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 130 times (via Spigot). Download it and open it directly in the game.