<Steve> /imagine create a /heal command that restores full health * Generating code... (this may take a few minutes) * Compiling... * Downloading jar... * HealCommand loaded successfully!
Normally, adding a small feature to a Minecraft server means finding a plugin that almost does what you want, or paying someone to write one. Even with an AI plugin maker, you still download the .jar, upload it to your server and restart.
Imagine skips all of that. It's a plugin that makes other plugins: you describe a feature in chat, and it writes, compiles and loads the plugin onto your server while the game keeps running.
What you need
- A Spigot, Paper or Folia server on Minecraft 1.13 or newer.
- Operator access, since the commands are for operators by default.
- A Kodari account, free to create. Each generation uses credits.
Setting it up
- Create a free Kodari account, then make an API key on the API keys page.
- Download Imagine from SpigotMC and put it in your server's plugins folder.
- Start the server once so Imagine creates its config.
- Add your key to
plugins/Imagine/config.yml, or run/kod <your key>in game. - Run
/imaginefollowed by your idea.
api-key: "kod-your-api-key"What to ask for
Imagine works best with small, specific features. Describe what should happen in game, not how to code it:
/imagine create a /heal command that restores full health
/imagine when a player breaks diamond ore, fireworks explode
/imagine greet new players with a title and give them bread
/imagine every 10 minutes drop a random reward at spawn
/imagine stop players placing lava within 50 blocks of spawn- One feature per command. Two small plugins are easier to test than one that does everything.
- Give numbers. Cooldowns, radiuses and amounts get you exactly what you pictured.
- Name the trigger. "When a player joins", "every 10 minutes", "when a creeper explodes".
For bigger plugins, like a full economy or a minigame, use the web editor in Kodari's plugin maker, where you can see every file and refine it over several messages.
Using it safely
Imagine loads new code onto a running server, so treat it like giving someone the power to install plugins:
- Keep the permissions tight.
imagine.useandimagine.admindefault to operators. Only give them to people you trust. - Try ideas on a test server first. Generated plugins load straight away, without a review step.
- Read the code when it matters. Every plugin is a project on your Kodari account, so you can open it on the web and check what it does.
- Back up before big changes. The same advice as installing any new plugin.
If something goes wrong
- "Kodari API key not configured". Add your key with
/kod <key>or in config.yml. - "Compilation failed". Nothing was loaded. Try a simpler or more specific description, or open the project on kodari.ai and fix it there.
- The command doesn't respond. Check that you have the
imagine.usepermission or are an operator. - You ran out of credits. Claim your daily reward on kodari.ai or top up, then try again.
The fastest way to find out if an idea is fun is to have it running in five minutes.
Frequently asked questions
Can you make Minecraft plugins in game?
Yes. With the Imagine plugin you type /imagine and describe a feature. It writes the plugin with Kodari's AI, compiles it and loads it onto your server without a restart.
Is Imagine free?
The plugin is free. Each generation uses credits from your Kodari account. New accounts get 10 credits, plus 50 more on the first daily reward claim.
Does it need a server restart?
No. Imagine loads and enables the plugin while the server runs, and new commands work right away.
Can regular players use it?
Not by default. The imagine.use and imagine.admin permissions default to operators. Only give them to people you trust.
Which servers are supported?
Spigot, Paper and Folia on Minecraft 1.13 and newer.