⚡X PRISON CORE ⚡ [1.13 - 1.21.X] ⭐  #1 PRISON CORE ⭐  All-in-One ⭐15 Plugins in 1⭐ icon

⚡X PRISON CORE ⚡ [1.13 - 1.21.X] ⭐ #1 PRISON CORE ⭐ All-in-One ⭐15 Plugins in 1⭐ -----

✨ INFINITE ENCHANTS ✨ MINES ✨ AUTOSELL ✨CURRENCIES ✨ RANKS ✨ REBIRTHS ✨ MUTLIPLIERS ✨ BOMBS ✨REWARDS



X Prison Core - 2025.4.1.0 - Unlimited Custom Currency Enchants
X Prison Core – Update v2025.4.1.0

New Feature: Unlimited Custom Currency Enchants
We’re excited to introduce customization - Custom Currency Enchants!

You can now create unlimited currency-giving enchants for any of your custom currencies using a simple JSON configuration.

New: custom-currency-enchant.json Template
A new enchant type has been added:

dev.drawethree.xprison.enchants.model.CurrencyRewardEnchantBase

With this, you can fully define how a custom enchant gives rewards in any currency — not just Tokens or Gems!

Example configuration:
{
"class": "dev.drawethree.xprison.enchants.model.CurrencyRewardEnchantBase",
"id": 998,
"rawName": "custom-currency-enchant-1",
"name": "<yellow>Currency Finder</yellow>",
"enabled": true,
"increaseCostBy": "baseCost * pow(1.05, level)",
"maxLevel": 1500,
"chance": 1.0,
"amountToGive": "level * 1000",
"currency": "TOKENS",
"initialCost": 20,
"currencyToGive": "MONEY",
"refund": {
"enabled": true,
"guiSlot": 35,
"percentage": 40.0
},
"gui": {
"name": "<yellow>Currency Finder</yellow>",
"material": "SUNFLOWER",
"slot": 35,
"description": [
"<gray>This is your custom currency finder enchant!</gray>",
" ",
"<gray>This enchant gives currency to player based on a given chance.</gray>",
" ",
"<gray>You can create as many as you want of these</gray>",
"<gray>by copying the custom-currency-enchant.json</gray>",
"<gray>renaming it, and modify it to your liking!</gray>"
]
}
}

⚙️ How It Works
  • You can now clone and modify the provided custom-currency-enchant.json file.

  • Each file defines a new custom enchant that can give any currency you’ve configured in your server.

  • The enchant supports:
    • ✅ Fully customizable cost formulas (increaseCostBy, initialCost)

    • ✅ Adjustable reward logic (amountToGive, chance)

    • ✅ Refund options with percentage and GUI integration

    • ✅ Unique GUI layouts and item icons
Examples
  • TokenFinder → rewards Tokens

  • GemFinder → rewards Gems

  • MoneyFinder, CrystalFinder, or any other currency — now easily possible!
Summary
  • ➕ Added support for unlimited custom currency-giving enchants

  • Introduced CurrencyRewardEnchantBase enchant type

  • ️ New custom-currency-enchant.json template for easy creation

  • ⚡ Extends existing functionality of TokenFinder and GemFinder
Developer Notes
To add your own currency enchant:

  1. Copy custom-currency-enchant.json

  2. Rename it (e.g. money-finder.json)

  3. Edit the values to match your custom currency and behavior

  4. Reload or restart your server
    That’s it — your new enchant will automatically load and appear in-game!
----------, Oct 12, 2025
Resource Information
Author:
----------
Total Downloads: 1,257
First Release: Dec 18, 2020
Last Update: Yesterday at 5:13 PM
Category: ---------------
All-Time Rating:
128 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings