ModsJava
CoreAI
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot✨ Your AI-powered Minecraft Toolkit ✨
CoreAI is a powerful, extensible plugin that integrates OpenAI directly into your Minecraft server — now with support for image generation!
- Per-player secure API keys (AES-GCM encrypted on disk)
- Full conversation memory with ChatGPT-style context
- Dynamic model picker GUI with support for any available model
- AI image generation and map tiling with `/imagegenmap`
- ️ Render images from URLs directly to maps with `/imagemap`
- Auto-cleanup system for unused generated image maps
- ⚡ Async calls for maximum performance and stability
- Beautiful Adventure-style messages with clickable components
✨ Commands
/chat <message> — Talk with ChatGPT directly in-game
/setapikey — Store your personal OpenAI API key securely
/models — Browse and pick from your key’s supported models
/modelinfo — View metadata about your selected model
/imagemap <url> — Render any image to a map (supports tiling with `WxH`)
/imagegenmap <prompt> — Generate an image from a prompt (AI DALL·E)
/cleanup — Manually remove old, unused map image files
API Key Security
- Keys are stored using AES-GCM encryption on disk
- No keys are ever printed to console or chat logs
- Not even server owners can read stored player keys
Map Image Cleanup System
Generated map tiles are stored on disk and reloaded after restarts. CoreAI tracks "last seen" usage of every map (inventory, item frames, ground items).
You can configure:
- cleanup.auto-enabled = true/false
- cleanup.max-age-days = Days until image is considered unused
Manual cleanup is possible via `/cleanup`.
⚙️ Setup Instructions
- Drop CoreAI.jar into your `/plugins/` folder
- Restart your server
- (Optional) Set a default API key in `config.yml`
- (Optional) Players can use /setapikey to store a personal key
- Start chatting or generating maps!
Requirements
- Minecraft 1.21.4+
- Java 21+
- Paper / Spigot / Purpur compatible
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.
CoreAI is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 70 times (via Spigot). Download it and open it directly in the game.