Server Admin Guide
As a server owner or administrator, you have full control over how CraftyAI operates on your server and what features are available to players.
Discord Bot Registrationโ
To manage your server's AI features, you must register it via the CraftyAI Discord bot.
- Join Discord: Join the CraftyAI Discord community.
- Access Control Panel: Navigate to the
#craftychannel and use the Control Panel. - Get API Key: Click "Get API Key" and enter your server's Session ID.
Bot Commandsโ
You can interact with the Crafty bot using these commands:
/panel- Opens the interactive Control Panel to obtain API Keys, view plans, and access links./my-sessions- View your linked sessions, connection status, usage stats, memory usage, and tier information./ask <question>- Ask CraftyAI a Minecraft question directly inside Discord.
Web Admin Panelโ
Once you have your API key, you can access the powerful Web Admin Panel at https://craftyai-admin.pages.dev (or the URL provided by the bot).
Login: Use your server's API key to authenticate.
Features:
- Dashboard: View server status, tier, monthly usage, and rate limit.
- Analytics: View detailed usage statistics and request history.
- Settings: Update server name, AI name, and view your API key.
Subscription Tiersโ
CraftyAI offers several subscription tiers to fit your server's needs. Your current tier is visible in the Admin Panel and via /my-sessions.
| Tier | Rate Limit | Daily Requests | Daily Tokens | Max Compacted Memories |
|---|---|---|---|---|
| Free | 30 RPM | 100 | 10k | 5 |
| Starter | 100 RPM | 1,000 | 100k | 50 |
| Pro | 500 RPM | 10,000 | 1M | 250 |
| Enterprise | Custom | Custom | Custom | 1,000 |
Note: The Vision Scanner feature requires the Pro tier or higher.
Security Strikes & In-Game Alertsโ
CraftyAI includes a built-in security gateway that monitors for suspicious activity, such as unauthorized access attempts or spoofed client versions.
- In-Game Alerts: All online Administrators (OPs) will receive real-time alerts in chat if a "Security Strike" is triggered for your session.
- Alert Format:
ยงcยงl[CraftyAI Warning] ยง7<message> - Common Warnings:
- Non-Minecraft client detected: Triggered if your mod/plugin version is outdated or mismatched.
- Suspicious session traffic: Triggered if unauthorized tools try to use your Server ID.
AI Action Permissionsโ
By default, the AI can suggest and execute actions like changing time, weather, or healing players. You can control this via:
- Global Toggle: Set
enable_actions: false(plugin) orai_enable_actions: false(mod) in your config to disable all AI world modifications globally. - Permissions: Only players with the
crafty.actionspermission can have the AI execute actions for them. (Gamemode changes requirecrafty.actions.gamemode).
API Key Managementโ
Viewing Your API Keyโ
- Login to the admin panel.
- Navigate to the "API Key" section.
- Click "Show" to reveal the key.
Regenerating Your API Keyโ
If your key is compromised:
- Login to the admin panel.
- Navigate to the "API Key" section and click "Regenerate".
- Update your
config.ymlorcraftyai.jsonwith the new key and restart your server.