-
Notifications
You must be signed in to change notification settings - Fork 58
drill.json
Jan Kluka edited this page Jul 20, 2026
·
1 revision
Drill bores a straight tunnel (size × size cross-section, depth blocks deep) in the direction
the player is facing. As of X-Prison 2026.3.0.3 the tunnelled blocks are sold (or dropped when
auto-sell is off), count toward mine resets, and the player is told how much they earned.
{
"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,
"currencyToGive": "money",
"message": "",
"earningsMessage": "<aqua><bold>DRILL</bold></aqua> <dark_gray>»</dark_gray> <white>You bored through the wall and earned <green>%amount%</green>!",
"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>"
]
}
}| Key | Meaning |
|---|---|
size |
Width & height of the tunnel cross-section (odd numbers centre on the player, e.g. 3 = 3×3). |
depth |
How many blocks deep the tunnel bores in the facing direction. |
| Key | Meaning |
|---|---|
currency |
The currency spent to buy / upgrade the enchant in the GUI. |
currencyToGive |
The currency the player earns when the drill sells the blocks it breaks. Defaults to money. Must be a currency defined in currency.yml. |
message |
Optional flavour line sent every time the drill triggers. Empty ("") by default. Raw MiniMessage. |
earningsMessage |
Sent when the player actually earns something. Supports %amount% (formatted earnings) and %currency% (currency display name). Leave empty to disable. Raw MiniMessage. |
Earnings honour your per-region sell prices, the player's Fortune, and this enchant's prestige
multiplier — exactly like normal mining. When a player has auto-sell off, the broken blocks are
dropped into their inventory instead (and no earningsMessage is sent).
- Currencies
- Ranks
- Prestiges
- Rebirths
- Mines
- AutoSell
- AutoMiner
- Enchants
- Pickaxe Levels
- Pickaxe Skins
- Gangs
- Multipliers
- Blocks
- Bombs
- History
- Mining Stats
- Nicknames
- Battle Pass
- Quests
- Daily Rewards
- 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
- history.yml
- mining-stats.yml
- rebirths.yml
- battlepass.yml
- quests.yml
- dailyrewards.yml
- efficiency.json
- fortune.json
- unbreaking.json
- haste.json
- speed.json
- fly.json
- nightvision.json
- jumpboost.json
- autosell.json
- tokenfinder.json
- gemfinder.json
- salary.json
- charity.json
- blessing.json
- gangvaluefinder.json
- prestigefinder.json
