NSR-AI icon

NSR-AI -----

Gemini + ChatGPT Powered AI Chat for Minecraft: Fast, Smart & Server-Friendly




⚡ New Server Runtime – Artificial Intelligence
⚡ N.S.R-A.I 1.2-Beta
Advanced Multi-API AI Chat Plugin for Minecraft
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✔ Multi-API✔ Addon Support✔ Easy Setup✔ Powerful & highly Customizable

MC Versions: 1.16.5 – 1.21.4 • JAR Size: 3.5 MB • AI Models: Gemini, Claude, OpenAI

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


⚙ Core Capabilities
  • Multi-API Integration — Seamlessly switch between Gemini, Claude, and OpenAI APIs to find the perfect balance of speed, intelligence, and cost for your server.
  • Lightweight & Optimized — Designed for performance, NSR-AI has a minimal impact on your server's resources, with a JAR size of approximately 3.5 MB.
  • Custom Chat Presentation — Customize the look and feel of the AI's chat messages with configurable colors and prefixes for both regular and admin users.
  • API Key Rotation — Supports up to 20 API keys with automatic cycling to prevent rate-limiting and ensure high availability.
  • Persistent Knowledge Base — Teach the AI custom facts and information about your server that will be remembered across restarts.
  • Enhanced Error Handling — Clear and user-friendly error messages make it easy to diagnose and resolve any issues.
  • AI Self-Description — The AI can describe itself and its features to players on request.
  • Code Blocker — A security feature that prevents the AI from providing code snippets in its responses.

Addon Support
  • Extendable Architecture — The powerful addon system allows you to extend the functionality of NSR-AI with new features and commands.
  • Easy to Install — Simply drop the addon `.jar` file into the `addons` folder and restart the server.

✨ Major New Features in 1.2-Beta
  • Pet Emotional Communication System
    • Pet Linking & Nicknames: Link named pets with `/ai pet tame`, assign unique nicknames with `/ai pet nickname <nickname>`.
    • Advanced AI-Powered Chat: Pets respond with unique dialogue, personality influenced by mood/bond. Species-specific sounds/emojis. Check mood with "what is your mood".
    • New Commands: `/ai pet list`, `/ai pet info <pet_name>`.
    • Pet Lifecycle: Remembers dates, heartfelt goodbyes, link broken on death.
    • Ownership: Only owner can chat/change nickname.
  • Per-Player API Keys
    • Bring Your Own Key: Players add temporary API keys (`/ai apikey <key>`) for Gemini, OpenAI, or Claude.
    • Session-Based & Secure: Keys are temporary, not stored, not visible to admins.
    • Fallback System: Server's global API key used if player doesn't provide one.
    • New Commands: `/ai apikey then in chat <key>`, `/ai apikey list`, `/ai apikey clear`.
  • Automatic Security & Bug Fixer Downloader
    • Automatic Updates: Plugin automatically checks for and downloads security updates and critical bug fixes.
    • Intelligent Version Tracking: `bug.txt` tracks installed bug-fix version.
    • Server Restart for Main Plugin Updates: Notifies when restart is needed for core plugin updates.
    • Transparent Logging: Clear log messages for update checks and downloads.

Optional Dependencies

Video Demonstration


Video Demonstration of 1.2-Beta


Admin Commands
Code (Text):

/ai admin <activation_code> - Toggle admin mode.
/ai disable - Disable admin mode.
/ai add <keyword>, <message_content> - Add knowledge with AI-generated heading.
/ai remove <keyword> - Remove knowledge.
/ai confirm <code> or /ai confirm yes - Confirm actions.
/ai reload [config|features|knowledge|nsr-ai] - Reload parts of the plugin.
/ai cache <clear|refresh> [player|all] - Manage session cache.
/ai memory <clear|refresh> [player|all] - Manage AI-powered memory.
 
General Commands
Code (Text):

/ai <message> - Chat with the AI.
/ai data <query> - Query the knowledge base.
/ai version or /ai v - Check plugin version.
/ai help - Show help message.
/ai pet tame - Link a named pet to the AI.
/ai pet nickname <nickname> - Give your linked pet a unique nickname.
/ai pet list - See a list of all your linked pets and their status.
/ai pet info <pet_name> - Get detailed information about a specific pet.
/ai apikey - Add a temporary API key for your session.
/ai apikey list - View your active session keys (masked for security).
/ai apikey clear - Remove all your active session keys.
 
Permissions
Code (Text):

nsr-ai.use    — Default: true
nsr-ai.admin   — Default: OP
nsr-ai.reload  — Default: OP

# Addon Permissions
nsr-ai.stats.view — Default: true
nsr-ai.stats.view.others — Default: true
nsr-ai.privacy — Default: true
nsr-ai.admin.privacy — Default: OP
nsr-ai.admin.privacy.bypass — Default: OP
 
Code (Text):

# Main Plugin: config.yml
admin-activation-code: "3637"
default-gemini-model: "gemini-1.5-flash"
default-claude-model: "claude-3-opus-20240229"
default-openai-model: "gpt-4"
default-api-provider: "all"
api-keys: ["your_key_here"]
 

Code (Text):

# Features Plugin: features.yml
chat-colors:
  ai: "&b"
  user: "&7"
  knowledge-base: "&a"
chat-prefixes:
  ai: "&b[AI]"
  user: "&7[You]"
  admin-ai: "&c[AI]"
system-prompt: "You are a helpful AI assistant for a Minecraft server. Your answers should be concise and to the point. Prioritize answering questions about Minecraft. Do not provide code snippets or programming advice. If asked for code, respond with the configured message."
conversation-history-length: 10
code-blocker:
  enabled: true
  message: "&cThis is a game built for fun and answering, not for coding."
simple-knowledge-yml-approve: false
command-toggles:
  data: true
  admin: true
  disable: true
  version: true
  add: true
  add-confirm: true
  remove: true
  remove-confirm: true
  memory-clear: true
  memory-refresh: true
  cache-clear: true
  cache-refresh: true
 

Code (Text):

plugins/
└── NSR-AI/
    ├── addons/
    ├── playerchathistory
    ├── adminchathistory
    ├── summarychat
    ├── config.yml
    ├── features.yml
    └── knowledge.yml
 

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Need help or found a bug? Comment below & I’ll respond ASAP!
Resource Information
Author:
----------
Total Downloads: 108
First Release: Aug 6, 2025
Last Update: Oct 5, 2025
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings