Skip to content

voucherfinder.json

Ján Kluka edited this page Jul 16, 2025 · 2 revisions
{
  "class": "dev.drawethree.xprison.enchants.model.impl.VoucherFinderEnchant",
  "id": 20,
  "rawName": "voucher",
  "name": "&bVoucher Finder",
  "enabled": true,
  "increaseCostBy": 5000,
  "maxLevel": 500,
  "chance": 0.2,
  "initialCost": 5000,
  "currency": "GEMS",
  "refund": {
    "enabled": true,
    "guiSlot": 30,
    "percentage": 50.0
  },
  "gui": {
    "name": "&bVoucher Finder",
    "material": "BEACON",
    "customModelData": 0,
    "slot": 30,
    "description": [
      "&7Increases your chance to discover",
      "&7store vouchers while mining."
    ]
  },
  "commands": [
    {
      "command": "voucher give %player% 5$",
      "chance": 50
    },
    {
      "command": "voucher give %player% 10$",
      "chance": 25
    },
    {
      "command": "voucher give %player% 25$",
      "chance": 10
    },
    {
      "command": "voucher give %player% 50$",
      "chance": 5
    },
    {
      "command": "voucher give %player% 50$",
      "chance": 1
    }
  ]
}

Clone this wiki locally