custom currency enchant.json - Drawethree/X-Prison GitHub Wiki

{
  "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>"
    ]
  }
}
⚠️ **GitHub.com Fallback** ⚠️