Drill Enchant — Custom Addon for X-Prison
What is Drill Enchant ?
Drill Enchant is a powerful paid enchantment designed to drill a tunnel towards player direction when mining.
How It Works
Works passively while equipped on a pickaxe.
Configurable depth and size
Configuration (JSON)
{"class": "dev.drawethree.xprison.enchant.DrillEnchant",
"id": 200,
"rawName": "drill",
"name": "<aqua>Drill</aqua>",
"enabled": true,
"increaseCostBy": "baseCost * pow(1.05, level)",
"maxLevel": 100,
"chance": 0.01,
"depth": 3,
"size": 3,
"initialCost": 5000,
"pickaxeLevelRequired": 1,
"currency": "GEMS",
"refund": {
"enabled": true,
"guiSlot": 10,
"percentage": 50.0
},
"prestige": {
"enabled": true,
"maxPrestige": 5,
"requiredActivationsFormula": "2000 * pow(10, prestige)",
"multiplierPerPrestige": 0.2
},
"gui": {
"name": "<aqua>Drill</aqua>",
"material": "IRON_PICKAXE",
"customModelData": 0,
"slot": 10,
"description": [
"<gray>Drills a <aqua>3x3</aqua> tunnel</gray>",
"<gray><aqua>3</aqua> blocks deep in your</gray>",
"<gray>facing direction.</gray>"
]
}
}
Requirements
X-Prison Plugin
Does not work with other prison systems
Tested with Spigot, Paper, and Purpur
Perfect for Paid Enchant Addons
This enchant was designed with microtransactions or donor perks in mind. You can easily:
- Sell this enchant via GUI shop
- Add it as a reward in crates or kits
- Bundle it with premium ranks
Installation
- Drop DrillEnchant.jar into your plugins/X-Prison/addons folder
- Reload or restart your server
- Use the in-game Enchant GUI to apply the enchant!
- Configure the enchant to your liking under plugins/X-Prison/addons/DrillEnchant/drill.json
Support
Need help or want custom enchants built?
Terms
- You are allowed to use this on any number of servers you own.
- Redistribution or resale is not permitted.
- This addon is protected under the same license as X-Prison.
