-
Notifications
You must be signed in to change notification settings - Fork 60
custom enchant.json
Ján Kluka edited this page Aug 13, 2025
·
1 revision
{
"class": "dev.drawethree.xprison.enchants.model.CommandRewardEnchantBase",
"id": 999,
"rawName": "custom-enchant-1",
"name": "<yellow>Your Custom Enchant</yellow>",
"enabled": true,
"increaseCostBy": "baseCost * pow(1.05, level)",
"maxLevel": 1000,
"chance": 0.000025,
"initialCost": 1000,
"pickaxeLevelRequired": 1,
"currency": "GEMS",
"refund": {
"enabled": true,
"guiSlot": 34,
"percentage": 50.0
},
"gui": {
"name": "<yellow>Your Custom Enchant</yellow>",
"material": "COMMAND_BLOCK",
"customModelData": 0,
"slot": 34,
"description": [
"<gray>This is your custom enchant!</gray>",
" ",
"<gray>This enchant executes commands based on a given chance.</gray>",
" ",
"<gray>You can create as many as you want of these</gray>",
"<gray>by copying the custom-enchant.json</gray>",
"<gray>renaming it, and modify it to your liking!</gray>"
]
},
"commands": [
{
"commands": ["money give %player% 1000"],
"chance": 33
},
{
"commands": ["tokens give %player% 1000"],
"chance": 33
},
{
"commands": ["gems give %player% 1000"],
"chance": 33
}
]
}- config.yml
- autominer.yml
- autosell.yml
- block-rewards.yml
- enchants.yml
- currencies.yml
- multipliers.yml
- ranks.yml
- prestiges.yml
- pickaxe-levels.yml
- pickaxe-skins.yml
- gangs.yml
- mines.yml
- bombs.yml
- blocks.yml
- mining-stats.yml
- rebirths.yml
- autosell.json
- blessing.json
- blockbooster.json
- charity.json
- efficiency.json
- explosive.json
- fly.json
- fortune.json
- gangvaluefinder.json
- gemfinder.json
- haste.json
- jumpboost.json
- keyalls.json
- keyfinder.json
- laserbeam.json
- layer.json
- nightvision.json
- nuke.json
- prestigefinder.json
- salary.json
- speed.json
- tokenfinder.json
- unbreaking.json
- voucherfinder.json
- robotfinder.json
- gem-merchant.json
- token-merchant.json
- custom-enchant.json
- custom-currency-enchant.json
