August 6, 2026 · The Minely team
How to make a prison ranks plugin with AI (mines, rankups, sell-all)
Prison is the most mechanical game mode in Minecraft: mine blocks, sell blocks, rank up, repeat. The loop is simple, but the details make it work — mines that reset on a timer, sell prices that scale with rank, and a rankup cost curve that keeps players chasing the next letter.
What a prison ranks plugin actually is
A prison plugin gives players a progression ladder of ranks (A through Z, typically). Each rank unlocks a mine with better blocks and better sell prices. Players mine, sell with a command, and buy the next rankup when they can afford it. The dopamine is the ladder; the engineering is mines, prices, and resets.
How it works under the hood
A mine is a region with a block composition in config (70 percent stone, 25 percent coal, 5 percent iron, for example) and a reset timer that re-randomizes its contents. /sellall iterates the player's inventory, prices each stack from the per-rank price table, and pays out. /rankup checks the balance against the ladder's next cost and moves the player up, firing a permission or group change. Price and cost tables in config are the balance surface.
The prompt that builds it
You do not have to write this yourself. A precise description is enough:
a prison plugin with /rankup costs in config, per-rank mines with reset timers, /sellall with per-rank prices, and rank prefixes in chat
Name the commands, the permissions, and the exact messages players see. Precision here is what makes the first build land close.
Building it in the right order
- Define the rank ladder and cost curve in config.
- Implement mines as regions with composition tables and reset timers.
- Build /sellall with the per-rank price table.
- Wire /rankup with cost checks, group changes, and announcements.
- Add rank prefixes in chat so the ladder is visible.
The details that matter in production
In production, the first thing you learn is that the happy path is the easy half. The edges are where the work lives: restarts, protection interactions, full inventories, and players who treat every system like an exploit puzzle. Build for those from day one and the launch weekend is quiet instead of a fire drill.
Storage and cleanup deserve special attention. Write state as it changes rather than on shutdown, clear per-player state on quit and on world change, and make every admin-facing action leave an audit line. The first time something goes wrong, those records are the difference between a two-minute review and an evening of guessing.
Finally, test like a hostile user. Spam-click every GUI, rejoin mid-action, try the command with no permission and with every permission, and run it while the server is under load. The bugs that survive that pass are the ones worth shipping.
Tuning it after the first build
The cost curve is the game: early ranks should take minutes, mid ranks hours, late ranks days. A 3 to 5x cost multiplier per rank with sell prices rising slightly slower keeps the chase honest. Mine reset timers of 3 to 8 minutes keep blocks flowing without lagging the server.
Tips that save you a rebuild
- Reset mines region-by-region, not all at once — one big reset is a visible lag spike.
- Cap /sellall to whitelisted sellable items so players cannot sell quest items.
- Log rankups for the first week; the curve's weak spots show immediately.
- Keep one mine per rank simple; multi-mine ranks confuse new players.
Questions people ask
How do players know what a block sells for?
Ask for a /prices command showing the current rank's sell table in a GUI.
Can I add autosell?
Yes — an autosell toggle that sells mined blocks on break for players with the perk, at a small price penalty.
What about prestiges?
Ask for a prestige reset that returns the player to rank A with a permanent multiplier and a prestige point to spend.
Describe your version in the composer and see it built in minutes. Iterate with follow-up edits until it is exactly your server's flavor.
