
NSR-AI 1.1-pre2
Gemini + ChatGPT Powered AI Chat for Minecraft: Fast, Smart & Server-Friendly.
⚡ NSR-AI 1.1-pre2
Advanced Multi-API AI Chat Plugin for Minecraft
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✔ Multi-API • ✔ Addon Support • ✔ Easy Setup
MC Versions: 1.16.5 – 1.21.4 • JAR Size: 3 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 3MB.
- 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.1-pre2
- Admin-Only Knowledge Base Management: `/ai add` and `/ai remove` commands are now restricted to players in admin mode.
- Secure Confirmation System: A 6-digit code confirmation system for all knowledge base modifications.
- AI-Powered Content Correction: The `/ai add` command now uses AI to correct grammar and spelling.
- AI-Generated Headings: The AI automatically generates descriptive headings for new knowledge base entries.
- Separated Chat and Knowledge Base Queries: Use `/ai data ` for knowledge base queries and `/ai ` for general AI chats.
- Enhanced Knowledge Base Search: An improved fuzzy matching algorithm finds more relevant information.
- Asynchronous API Calls: Prevents server lag by making all AI API calls asynchronously.
Optional Dependencies
- PlaceholderAPI: Allows you to use NSR-AI placeholders in other plugins.
- NSR-AI-Advanced-Player-Stats (Addon): This addon is optional, but it provides the player stats, privacy, and AFK tracker features.
Admin Commands
/ai admin - Activates admin mode.
/ai disable - Deactivates admin mode.
/ai add - Adds content to the knowledge base.
/ai remove - Removes an entry from the knowledge base.
/ai confirm [keyword] - Confirms an add or remove action.
/ai reload - Reloads the plugin configuration.
General Commands
/ai - Chat with the AI.
/ai data - Query the knowledge base.
Permissions
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
[SPOILER="Example Configuration"]
# 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"]
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
chat-prefixes:
ai: "&b[AI]"
user: "&7[You]"
admin-ai: "&c[AI]"
chat-history:
enabled: true
max-size: 100
code-blocker:
enabled: true
message: "&cThis is a game built for fun and answering, not for coding."
config-version: 2
[/SPOILER]
[SPOILER="Directory Tree"]
plugins/
└── NSR-AI/
├── addons/
│ ├── NSR-AI-Advanced-Player-Stats.jar
│ └── NSR-AI-Advanced-Player-Stats/
│ ├── playerprivacy/
│ │ └── -.yml
│ └── privacy.yml
├── config.yml
└── knowledge.yml
[/SPOILER]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Need help or found a bug? Comment below & I’ll respond ASAP!