autosell.yml. No chest shops, no manual /sell step; the moment a block breaks, the value hits the player’s balance.
Enabling and Disabling Autosell
Players control autosell themselves using a simple toggle:
When autosell is off, blocks still drop as items normally — players use
/sellall to cash out at the end of a mining session. When autosell is on, blocks never reach the inventory at all; they sell at the instant of the break.
Configuring Block Prices
Openplugins/JPPrison/autosell.yml to set the sell price and XP reward for every mineable block. Each block is identified by its Bukkit material name:
After editing the file, run
/jpprison reload to apply your changes without restarting the server.
Use Bukkit material names in ALL_CAPS (e.g.,
DIAMOND_ORE, DEEPSLATE_COAL_ORE). You can find a full list of valid material names in the Bukkit Material documentation.XP Rewards
Thexp field on each block grants pickaxe XP — the experience used to level up the pickaxe and unlock new enchants. Higher-tier ores should always award more XP to keep progression meaningful:
- Low-tier blocks like
STONEaward1XP → fast to mine, low reward. - Mid-tier blocks like
IRON_OREaward5XP → moderate progression speed. - High-tier blocks like
EMERALD_OREaward50XP → reserved for end-game mines.
xp values alongside block prices is how you control the pacing of your server’s progression curve. If players are reaching max level too quickly, lower the xp values on common blocks.
Multi-Economy Payouts
You can configure any block to pay into multiple economies simultaneously. Add the economyid as an extra field alongside price and xp:
id of a loaded economy in plugins/JPPrison/economies/. You can stack as many economies as you like on a single block — every one listed is paid out simultaneously on each mine event.
WorldGuard Flag Gate
Autosell rewards only trigger inside WorldGuard regions where thejpprison-enchants flag is set to allow. Blocks broken outside those regions still break and drop items normally, but no sell income or XP is awarded.
To activate autosell rewards in a region:
Earnings Recap
JPPrison automatically posts a chat summary of each player’s earnings at 1 minute and 5 minutes after they start mining. The summary shows total income, blocks mined, and top-earning enchants for that session window. For a live breakdown at any time, run:/earn board ranks every active enchant by total income generated this session, showing you exactly which enchants are pulling their weight and which upgrades will give you the best return.