charity.json - Drawethree/X-Prison GitHub Wiki
{
"class": "dev.drawethree.xprison.enchants.model.impl.CharityEnchant",
"id": 11,
"rawName": "charity",
"name": "&cCharity",
"enabled": true,
"increaseCostBy": "baseCost * pow(1.05, level)",
"maxLevel": 250,
"chance": 0.05,
"currency": "TOKENS",
"amountToGive": "level * 500",
"initialCost": 1000,
"messagesEnabled": true,
"currencyToGive": "MONEY",
"refund": {
"enabled": true,
"guiSlot": 29,
"percentage": 40.0
},
"gui": {
"name": "&cCharity",
"material": "SLIME_BALL",
"customModelData": 0,
"slot": 29,
"description": [
"&7Chance to reward all online players",
"&7with &cmoney &7as you mine."
]
}
}