Skip to main content
autosell.yml is the single source of truth for all block prices. Every mining tool in JPPrison — enchants, bombs, drills, autominer, and minions — uses these prices for payouts.

Basic Block Entry

Add each block you want to sell under the blocks key. Use the Bukkit Material name as the key, then set a price and xp reward.

Multiple Economy Payouts

You can pay into multiple economies at once by adding extra economy ID keys alongside price. Each key must match the id of an economy file in plugins/JPPrison/economies/.
In the example above, mining and selling a Gold Ore pays 500 tokens, 1 gem, and 5 crystals simultaneously. The price key targets the default economy configured in config.yml.

Block Name Format

Use Bukkit Material names — all uppercase letters with underscores between words. For blocks introduced in Minecraft 1.13 or later, use the modern name (e.g. DEEPSLATE_IRON_ORE rather than a legacy ID). JPPrison handles version differences internally so the same config works across supported server versions. Examples of valid material names:

Applying Changes

After editing autosell.yml, save the file and run:
New prices take effect immediately — no server restart needed.
Block prices affect every tool: manual sell, autosell, bombs, drills, autominer, and minions all reference this file. Changing a price here updates the payout across every system at once.