/dtools
also /ditems
Hand out a special tool with its hidden mark, or reload the settings
/dtools give <player> <tool> [amount] [uses:<n>] [time:<duration>]/dtools reloadNeeds dtools.admin, operators only by default.

Nine special tools you hand out with /dtools give: a 3x3 drill and shovel, a tree-felling axe, a sponge, a rocket, a bucket, a smelting pickaxe, a harvest hoe and a magnet. Each has a number of uses.
Main commands
/dtools give Steve drill/dtools give Alex magnet/dtools give Steve smelter 500/dtools reload/dtools reloadWhy does a renamed item not work as a tool?
Tools carry a hidden mark that /dtools give adds, so renaming an item does nothing. legacy-name-match lets old tools be recognised by name, but leave it off unless you need it briefly.
Who can use the tools?
Anyone holding one. The only permission is dtools.admin, for operators, which allows /dtools give and /dtools reload.
What happens when the uses run out?
The tool breaks and disappears.
Can the drill break spawners?
No. Spawners, trial spawners and vaults are listed under safety.never-break and are never broken as a side effect.
I used DItems before. What changes?
DTools is DItems under a new name. The folder, /ditems and ditems.admin carry over, and /ditems still works next to /dtools. Remove DItems.jar.
Menus and messages come from the default DTools files. Run a command, click an example, or pick a menu.
This plugin works through commands and chat. Try one below.
<name> you must fill in[name] optionalword typed as shown
also /ditems
Hand out a special tool with its hidden mark, or reload the settings
/dtools give <player> <tool> [amount] [uses:<n>] [time:<duration>]/dtools reloadNeeds dtools.admin, operators only by default.
Who has each one before you set anything up is in the middle column.
| Permission | Default | Grants |
|---|---|---|
| dtools.admin | Operators | Hand out special tools and reload the plugin |
plugins/DTools/aliases.yml
'dtools.admin'permissions:'ditems.admin': 'dtools.admin'
plugins/DTools/settings.yml
Special tools: drill, shovel, axe, vein miner, builder's wand, sponge, rocket, bucket, smelting pickaxe, harvest hoe, magnet. Edit, then run /dtools reload. A setting you delete comes back with its default. Help and support: https://discord.devamy.net or dstudios@devamy.net
ENLanguage of the plugin's texts.
EN = English FR = French ES = Spanish
'�B5FF&lSMP &8| 'Text shown in front of every /dtools answer. Use '' for no prefix. & colours and &#RRGGBB work.
--- Use counter --- Every tool has a limited number of uses. The number left is written in the item's lore, so it stays with the item in chests and after deaths. You can use: %left% (the number of uses left)
'%left% uses'How the plugin finds the counter line in the lore. It must match the lore line of your items (see the give list below). If it does not match, the counter is never found and the tool lasts forever.
'&7%left% uses'How the counter line looks after each use. Example: '&7%left% uses' shows grey text like "2999 uses".
100000The most uses one tool can be given with /dtools give, so a typo like uses:30000000 cannot hand out a tool that never wears out. A give list entry can set a lower `max-uses` of its own.
'&7Unlimited uses'The line that replaces the counter on a tool given with uses:infinite. It must not contain a number, otherwise the plugin would read it as a counter and count it down. Only tools with `allow-infinite: true` under `tools:` can be given this way.
--- Time limit --- A tool given with time:<duration> (for example time:2h or time:1d12h) disappears once that much real time has passed, whether the player is online or not. The time runs from the moment the tool is given, and a copy of the tool carries the same end time, so copying it never resets the clock. An expired tool is removed the next time it is used, when its owner joins or switches to it, when it sits in their inventory during the check below, or when someone opens the chest, ender chest or other container it is stored in. It never does anything after its time is up. You can use: %time% (the time left, like "1d 4h" or "35m") and %name% (the tool's name)
'&7Expires in %time%'The lore line that shows how long the tool has left. It is added under the other lore lines.
60How often, in seconds, the plugin checks each player's inventory for expired tools and updates the time shown in the lore. The tool in your hand and off hand is left alone so it does not bob in your hand every minute; its time is shown in the action bar instead, and its lore catches up when you switch away from it or use it. Lower values cost a little more work per player. Minimum 5.
'�B5FF%name% &8| &7expires in &f%time%'Shown in the action bar for a few seconds when you switch to a timed tool, use it, or during the check above. '' turns it off.
[]--- Blocked worlds --- Worlds where the tools do nothing, by the world's folder name. Example: [spawn, lobby] Why: a drill working on the spawn plaza would take it apart three blocks at a time. [] = tools work everywhere.
24--- Particles and sounds --- Each tool has a `particles:` and `sounds:` section under `tools:`, with one list per event (like `break`). An empty list [] = nothing.
Particle line: NAME:count:offsetX:offsetY:offsetZ:speed
NAME = the particle, e.g. WITCH (only this part is needed)
count = how many particles. Example: 5
offset = how far they spread, in blocks (X, Y, Z)
speed = how fast they move. 0 = standing still
Some particles need extra data at the end:
DUST :#RRGGBB:size example DUST:5:0.2:0.2:0.2:0:#9B5CFF:1.2
DUST_COLOR_TRANSITION :#from>#to:size example DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1
BLOCK, FALLING_DUST :MATERIAL example BLOCK:10:0.2:0.2:0.2:0:STONE
ITEM :MATERIAL example ITEM:6:0.2:0.2:0.2:0.05:DIAMOND
A name your Minecraft version does not know is skipped, with one warning in the console.
Sound line: NAME volume pitch example 'entity.item.break 1.0 1.0'
Several lines play together. Everyone nearby sees the particles; only the player holding the tool hears the sounds.Most particle bursts shown for one swing. Why: a swing that breaks many blocks (a whole tree) would lag everyone watching. The bursts are spread evenly over the blocks. A tool can set its own `max-spots` to override this. Example: 24.
--- Safety --- Blocks the area tools (drill, shovel, axe, vein miner, sponge) never touch. Claims and regions are respected too: every extra block a tool breaks or the builder's wand places goes through the same protection check as a block you break or place by hand. A region plugin that supports the allow-area-tools flag can also switch the area tools off in a region; the wand counts as one.
['SPAWNER', 'TRIAL_SPAWNER', 'VAULT']Blocks that are never broken as a side effect, even if the tool could normally take them. Example: ['SPAWNER', 'VAULT']
trueSkip blocks that hold data, like chests, signs and furnaces?
true = yes, a swing never destroys the contents of a container (recommended) false = no, they can be broken
--- Tools --- One section per tool. Keys every tool has:
enabled = true: the tool works. false: it is switched off.
name-contains = only used while legacy-name-match is on (bottom of the file)
use-cost = how many uses one action takes off the counter. Example: 1
particles = see "Particles and sounds" above, one list per event
sounds = the same for sounds. The `broke` sound plays when the last use is spent and the tool disappears.
allow-infinite = true lets /dtools give hand this tool out with uses:infinite. Leave it out (false) and
that option is refused for this tool.Drill: mines a 3x3 area in the direction you look. radius: 1 = 3x3, 2 = 5x5, up to 8.
true['SPECIAL DRILL']1145How steeply you must look up or down before it mines a flat layer instead of a wall, in degrees. Example: 45 = looking more than 45 degrees up or down mines a flat 3x3 layer above or below you.
['BEDROCK', 'BARRIER', 'END_PORTAL_FRAME', 'REINFORCED_DEEPSLATE']Blocks this tool never breaks.
[]Shovel: like the drill, but it only breaks the blocks listed under `breaks` around the one you hit (the block you mine yourself always breaks, as usual). Delete `breaks` and it takes everything, like the drill.
true['SPECIAL SHOVEL']1145['BEDROCK', 'BARRIER', 'END_PORTAL_FRAME', 'REINFORCED_DEEPSLATE'][]Axe: fells a whole tree in one swing.
true['SPECIAL AXE']1['BEDROCK', 'BARRIER']100Most logs one swing may break. Why: a jungle tree touching a dark oak forest is one big connected mass of logs, and without a limit one swing would walk through the whole chunk. Example: 100.
['_LOG']A block counts as a log if its name ends with one of these. Add '_STEM' to also fell crimson and warped trees, or '_WOOD' for bark blocks.
Sponge: right-click soaks up the blocks in `absorbs` around you and puts `replace-with` in their place. radius = how far, in blocks (up to 12).
true['SPECIAL SPONGE']141000Wait between two uses, in milliseconds. 1000 = 1 second.
['WATER', 'LAVA', 'KELP', 'KELP_PLANT', 'SEAGRASS', 'TALL_SEAGRASS']AIRRocket: an elytra rocket that is not used up. Only the boost costs a use.
true['SPECIAL ROCKET']1[]Bucket: a water bucket that never empties.
true['SPECIAL BUCKET']1[]Smelting pickaxe: drops come out already smelted. Each line is `drop: result`. The left side is the item that would drop, the right side is what the player gets instead. Fortune still multiplies the raw drop first. Add or remove lines freely; an unknown name is ignored.
true['SMELTING PICKAXE']1IRON_INGOTGOLD_INGOTCOPPER_INGOTIRON_INGOTIRON_INGOTGOLD_INGOTGOLD_INGOTCOPPER_INGOTCOPPER_INGOTGOLD_NUGGETNETHERITE_SCRAPGLASSGLASSSTONEHarvest hoe: breaking one ripe crop reaps every ripe crop of the listed types around it and replants them. radius = how far, in blocks (up to 3). Crops that are not ripe stay. One use per swing, however many crops it takes. `seeds` says which item each crop is replanted from. A crop with no line there is not reaped.
true['HARVEST HOE']11['WHEAT', 'CARROTS', 'POTATOES', 'BEETROOTS', 'NETHER_WART', 'COCOA']WHEAT_SEEDSCARROTPOTATOBEETROOT_SEEDSNETHER_WARTCOCOA_BEANSMagnet: right-click pulls dropped items nearby into your inventory. radius = how far, in blocks (up to 32). Items that do not fit stay on the ground; items that belong to another player are left alone.
true['MAGNET']183Seconds between two uses. Example: 3.
5How many particle spots are drawn along the line from each item to you (the `trail` particles). Example: 5.
[]Vein miner: sneak while you mine an ore and every touching block of the same ore breaks with it, up to `max-blocks` more. Without sneaking it is an ordinary pickaxe and costs nothing extra. Only the ore you mine yourself drops experience; the rest of the vein drops its items like a normal pickaxe would, Fortune included.
true['VEIN MINER']18How many blocks of one vein are paid for by a single use. With 8, a vein of 1 to 8 ores costs one use and a vein of 9 to 16 costs two. Raise it to make the tool last longer.
48The most extra blocks one swing may break, on top of the one you mine. A cap keeps a huge vein (or a wall of placed ore blocks) from lagging the server. Up to 256.
trueWhen true you have to sneak for the vein to break. Set it to false and every ore you mine takes its whole vein, which many players find too easy to trigger by accident.
The ores the vein miner follows. Anything not on this list is mined one block at a time. An empty list turns the vein feature off.
Ores that count as one vein. A vein that crosses from stone into deepslate keeps going because the two versions of each ore share a line here. An ore on no line only joins blocks of exactly its own kind.
['BEDROCK', 'BARRIER']Builder's wand: right-click the side of a block and the wand copies that block onto the free spaces in front of it and its neighbours, up to `max-blocks` at once. Each copy uses one matching block from your inventory, so the wand never builds for free; blocks that could not be placed go straight back to you. It only fills air, never replaces a block, and every copy goes through claim protection like a block you place by hand. In creative mode no blocks are taken.
true["BUILDER'S WAND"]19The most blocks one click places. 9 fills a 3x3 face. Up to 64.
trueWhen true the wand only spreads across neighbours of the same block you clicked, so clicking a stone wall extends that wall and stops at the edge. Set it to false and it spreads across any solid block in the same flat layer.
400Wait between two clicks, in milliseconds. 400 stops a held right-click from emptying your inventory in a second.
[]Only these blocks can be copied. Leave it empty to allow every solid block that passes the safety rules: no containers or other blocks that hold data, no doors or beds, no sand, gravel or other falling blocks.
['TNT', 'SPAWNER', 'TRIAL_SPAWNER', 'BEDROCK', 'BARRIER', 'END_PORTAL_FRAME', 'REINFORCED_DEEPSLATE', 'BUDDING_AMETHYST', 'COMMAND_BLOCK', 'CHAIN_COMMAND_BLOCK', 'REPEATING_COMMAND_BLOCK', 'STRUCTURE_BLOCK', 'JIGSAW', 'LIGHT']Blocks the wand never copies, even when allowed-blocks is empty.
--- Give list --- What `/dtools give <player> <tool> [amount] [uses:<n>] [time:<duration>]` hands out. Examples:
/dtools give Steve drill uses:3000 a drill with 3000 uses that never expires /dtools give Steve drill uses:500 time:1d a drill with 500 uses that disappears after one day /dtools give Steve wand 2 uses:1000 two wands with 1000 uses each /dtools give Steve drill 3000 the old form still works: a bare number on its own is uses
uses: takes a number from 1 to uses.max, or `infinite` for tools that allow it. time: takes a duration made of s, m, h, d and w (30m, 2h, 1d12h, 1w), or `never`. amount: (or a bare number next to uses:) is how many to give, up to 64. Anything you leave out comes from the entry below. Use this command in crates, kits, shops and vote rewards: dtools give %player% drill uses:3000 Items made here carry a hidden mark that makes them real tools. A crate that stores plain items would give dead tools, so make the crate run this command instead. To stop handing a tool out, add `enabled: false` to its entry (deleting the entry does not stick: it comes back). Keys of an entry:
tool-id = which tool it is (a name under `tools:`). Without it the item is just an item.
uses = uses it starts with when the command gives no number. Example: 3000. `infinite`
gives unlimited uses by default (only for tools with allow-infinite).
max-uses = a lower cap than uses.max for this entry only
time = how long it lasts when the command gives no time:, like 7d. Leave it out and the tool
never expires unless the command says so.
enabled = false stops /dtools give from handing it out
material = item type. Example: NETHERITE_PICKAXE
material-fallback = used if `material` does not exist on this Minecraft version
amount = stack size, default 1
name = display name. & colours and &#RRGGBB work.
lore = list of lore lines. %left% is the use counter. Keep the counter line matching `uses.line`.
enchantments = list of 'ENCHANT:level'. Example: 'EFFICIENCY:5'
glow = true adds an enchant glint
unbreakable = true means the item never loses durability
hide-attributes = true hides the attribute lines
custom-model-data = a number, for a resource pack model
potion, flight (0 to 3), head-texture, trim, base64 = for potions, rockets, player heads, armour trims, or a whole copied itemdrillNETHERITE_PICKAXEtrue'�B5FF&lSPECIAL DRILL'['EFFICIENCY:5']3000shovelNETHERITE_SHOVELtrue'�B5FF&lSPECIAL SHOVEL'['EFFICIENCY:5']3000axeNETHERITE_AXEtrue'�B5FF&lSPECIAL AXE'['EFFICIENCY:5']1000spongeSPONGEtrue'�B5FF&lSPECIAL SPONGE'['UNBREAKING:3']500rocketFIREWORK_ROCKETtrue'�B5FF&lSPECIAL ROCKET'5000bucketWATER_BUCKETtrue'�B5FF&lSPECIAL BUCKET'['UNBREAKING:3']750smelterDIAMOND_PICKAXEtrue'�B5FF&lSMELTING PICKAXE'['EFFICIENCY:5', 'FORTUNE:2']2000harvesterNETHERITE_HOEtrue'�B5FF&lHARVEST HOE'['EFFICIENCY:5']2000magnetHEAVY_CORELODESTONEtrue'�B5FF&lMAGNET'1000veinminerNETHERITE_PICKAXEtrue'�B5FF&lVEIN MINER'['EFFICIENCY:5']2000wandBLAZE_RODtrue'�B5FF&lBUILDER''S WAND'1000--- Messages --- Chat messages from /dtools. & colour codes and &#RRGGBB work. '' turns a message off. You can use: %player% %tool% %name% %uses% %tools% (every tool id) %count% %input% %block% %amount% %time% %max%
'&7Usage: &f/dtools give <player> <tool> [amount] [uses:<n>] [time:<duration>] &7or &f/dtools reload''&cYou are not allowed to do that.''&c&f%player%&c is offline - tools can only be handed to a player who is online.''&cNo tool called &f%tool%&c exists. &7(%tools%)''&f%input%&c is not a number of uses.''&f%input%&c uses is more than the limit of &f%max%&c.''&f%tool%&c cannot be given with unlimited uses. &7(allow-infinite under tools: in settings.yml)''&f%input%&c is not a time. Use something like time:30m, time:2h or time:1d12h.''&f%input%&c is not an amount from 1 to %max%.''&f%input%&c is not an option. Use uses:<n>, time:<duration> or amount:<n>.''&f%tool%&c could not be built - the console says why. &7(items.%tool% in settings.yml)''&fGave �B5FF%name% &f(�B5FF%uses%&f uses) to �B5FF%player%&f.''&fYou received �B5FF%name% &fwith �B5FF%uses%&f uses.''&fGave �B5FF%name% &f(�B5FF%uses%&f uses, lasts �B5FF%time%&f) to �B5FF%player%&f.''&fYou received �B5FF%name% &fwith �B5FF%uses%&f uses. It lasts �B5FF%time%&f.''unlimited''&cYour &f%name%&c ran out of time and crumbled away.''&fReloaded - �B5FF%count%&f tools in the give list.''&cThe wand cannot copy &f%block%&c.''&cYou have no &f%block%&c to build with.'false--- Old tools without the mark --- Tools are normally recognised by a hidden mark, not by their name. This stops players renaming a pickaxe in an anvil to get a free tool. Tools handed out by an old version have no mark.
false = those old tools stop working. Players get a fresh one (for example by opening the crate again). true = old tools are also accepted by name (see name-contains). Use it only for a short time: it lets players fake tools by renaming.
Another crate plugin must write the mark into the item's custom data for the tool to work. The id is the tool name above:
"minecraft:custom_data":{PublicBukkitValues:{"devamy:tool_id":"drill"}}# Special tools: drill, shovel, axe, vein miner, builder's wand, sponge, rocket, bucket, smelting pickaxe,# harvest hoe, magnet.# Edit, then run /dtools reload. A setting you delete comes back with its default.# Help and support: https://discord.devamy.net or dstudios@devamy.net# Used by updates. Do not edit.config-version: 3# Language of the plugin's texts.# EN = English# FR = French# ES = Spanishlanguage: EN# Text shown in front of every /dtools answer. Use '' for no prefix. & colours and &#RRGGBB work.prefix: '�B5FF&lSMP &8| '# --- Use counter ---# Every tool has a limited number of uses. The number left is written in the item's lore, so it stays with# the item in chests and after deaths.# You can use: %left% (the number of uses left)uses:# How the plugin finds the counter line in the lore. It must match the lore line of your items (see the# give list below).# If it does not match, the counter is never found and the tool lasts forever.line: '%left% uses'# How the counter line looks after each use. Example: '&7%left% uses' shows grey text like "2999 uses".format: '&7%left% uses'# The most uses one tool can be given with /dtools give, so a typo like uses:30000000 cannot hand out a# tool that never wears out. A give list entry can set a lower `max-uses` of its own.max: 100000# The line that replaces the counter on a tool given with uses:infinite. It must not contain a number,# otherwise the plugin would read it as a counter and count it down. Only tools with `allow-infinite: true`# under `tools:` can be given this way.infinite-format: '&7Unlimited uses'# --- Time limit ---# A tool given with time:<duration> (for example time:2h or time:1d12h) disappears once that much real time# has passed, whether the player is online or not. The time runs from the moment the tool is given, and a# copy of the tool carries the same end time, so copying it never resets the clock.# An expired tool is removed the next time it is used, when its owner joins or switches to it, when it sits# in their inventory during the check below, or when someone opens the chest, ender chest or other container# it is stored in. It never does anything after its time is up.# You can use: %time% (the time left, like "1d 4h" or "35m") and %name% (the tool's name)expiry:# The lore line that shows how long the tool has left. It is added under the other lore lines.line: '&7Expires in %time%'# How often, in seconds, the plugin checks each player's inventory for expired tools and updates the time# shown in the lore. The tool in your hand and off hand is left alone so it does not bob in your hand# every minute; its time is shown in the action bar instead, and its lore catches up when you switch away# from it or use it. Lower values cost a little more work per player. Minimum 5.refresh-seconds: 60# Shown in the action bar for a few seconds when you switch to a timed tool, use it, or during the check# above. '' turns it off.action-bar: '�B5FF%name% &8| &7expires in &f%time%'# --- Blocked worlds ---# Worlds where the tools do nothing, by the world's folder name. Example: [spawn, lobby]# Why: a drill working on the spawn plaza would take it apart three blocks at a time. [] = tools work# everywhere.blocked-worlds: []# --- Particles and sounds ---# Each tool has a `particles:` and `sounds:` section under `tools:`, with one list per event (like# `break`). An empty list [] = nothing.# Particle line: NAME:count:offsetX:offsetY:offsetZ:speed# NAME = the particle, e.g. WITCH (only this part is needed)# count = how many particles. Example: 5# offset = how far they spread, in blocks (X, Y, Z)# speed = how fast they move. 0 = standing still# Some particles need extra data at the end:# DUST :#RRGGBB:size example DUST:5:0.2:0.2:0.2:0:#9B5CFF:1.2# DUST_COLOR_TRANSITION :#from>#to:size example DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1# BLOCK, FALLING_DUST :MATERIAL example BLOCK:10:0.2:0.2:0.2:0:STONE# ITEM :MATERIAL example ITEM:6:0.2:0.2:0.2:0.05:DIAMOND# A name your Minecraft version does not know is skipped, with one warning in the console.# Sound line: NAME volume pitch example 'entity.item.break 1.0 1.0'# Several lines play together. Everyone nearby sees the particles; only the player holding the tool hears the sounds.## Most particle bursts shown for one swing. Why: a swing that breaks many blocks (a whole tree) would lag# everyone watching.# The bursts are spread evenly over the blocks. A tool can set its own `max-spots` to override this.# Example: 24.max-particle-spots: 24# --- Safety ---# Blocks the area tools (drill, shovel, axe, vein miner, sponge) never touch.# Claims and regions are respected too: every extra block a tool breaks or the builder's wand places goes# through the same protection check as a block you break or place by hand. A region plugin that supports# the allow-area-tools flag can also switch the area tools off in a region; the wand counts as one.safety:# Blocks that are never broken as a side effect, even if the tool could normally take them. Example:# ['SPAWNER', 'VAULT']never-break: ['SPAWNER', 'TRIAL_SPAWNER', 'VAULT']# Skip blocks that hold data, like chests, signs and furnaces?# true = yes, a swing never destroys the contents of a container (recommended)# false = no, they can be brokenskip-tile-entities: true# --- Tools ---# One section per tool. Keys every tool has:# enabled = true: the tool works. false: it is switched off.# name-contains = only used while legacy-name-match is on (bottom of the file)# use-cost = how many uses one action takes off the counter. Example: 1# particles = see "Particles and sounds" above, one list per event# sounds = the same for sounds. The `broke` sound plays when the last use is spent and the tool disappears.# allow-infinite = true lets /dtools give hand this tool out with uses:infinite. Leave it out (false) and# that option is refused for this tool.tools:# Drill: mines a 3x3 area in the direction you look.# radius: 1 = 3x3, 2 = 5x5, up to 8.drill:enabled: truename-contains: ['SPECIAL DRILL']use-cost: 1radius: 1# How steeply you must look up or down before it mines a flat layer instead of a wall, in degrees.# Example: 45 = looking more than 45 degrees up or down mines a flat 3x3 layer above or below you.plane-pitch: 45# Blocks this tool never breaks.protected-blocks: ['BEDROCK', 'BARRIER', 'END_PORTAL_FRAME', 'REINFORCED_DEEPSLATE']particles:break:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:break: []broke:- 'entity.item.break 1.0 1.0'# Shovel: like the drill, but it only breaks the blocks listed under `breaks` around the one you hit# (the block you mine yourself always breaks, as usual). Delete `breaks` and it takes everything, like the# drill.shovel:enabled: truename-contains: ['SPECIAL SHOVEL']use-cost: 1radius: 1plane-pitch: 45protected-blocks: ['BEDROCK', 'BARRIER', 'END_PORTAL_FRAME', 'REINFORCED_DEEPSLATE']breaks:- DIRT- COARSE_DIRT- ROOTED_DIRT- GRASS_BLOCK- PODZOL- MYCELIUM- DIRT_PATH- FARMLAND- MUD- MUDDY_MANGROVE_ROOTS- SAND- RED_SAND- SUSPICIOUS_SAND- GRAVEL- SUSPICIOUS_GRAVEL- CLAY- SOUL_SAND- SOUL_SOIL- SNOW- SNOW_BLOCK- POWDER_SNOWparticles:break:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:break: []broke:- 'entity.item.break 1.0 1.0'# Axe: fells a whole tree in one swing.axe:enabled: truename-contains: ['SPECIAL AXE']use-cost: 1protected-blocks: ['BEDROCK', 'BARRIER']# Most logs one swing may break.# Why: a jungle tree touching a dark oak forest is one big connected mass of logs, and without a limit one# swing would walk through the whole chunk.# Example: 100.max-logs: 100# A block counts as a log if its name ends with one of these. Add '_STEM' to also fell crimson and warped# trees, or '_WOOD' for bark blocks.log-suffixes: ['_LOG']particles:break:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:break:- 'block.wood.break 1.0 0.8'broke:- 'entity.item.break 1.0 1.0'# Sponge: right-click soaks up the blocks in `absorbs` around you and puts `replace-with` in their place.# radius = how far, in blocks (up to 12).sponge:enabled: truename-contains: ['SPECIAL SPONGE']use-cost: 1radius: 4# Wait between two uses, in milliseconds. 1000 = 1 second.cooldown-millis: 1000absorbs: ['WATER', 'LAVA', 'KELP', 'KELP_PLANT', 'SEAGRASS', 'TALL_SEAGRASS']replace-with: AIRparticles:absorb:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:absorb:- 'item.bucket.fill 1.0 0.8'broke:- 'entity.item.break 1.0 1.0'# Rocket: an elytra rocket that is not used up. Only the boost costs a use.rocket:enabled: truename-contains: ['SPECIAL ROCKET']use-cost: 1particles:launch:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:launch: []broke:- 'entity.item.break 1.0 1.0'# Bucket: a water bucket that never empties.bucket:enabled: truename-contains: ['SPECIAL BUCKET']use-cost: 1particles:place:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:place: []broke:- 'entity.item.break 1.0 1.0'# Smelting pickaxe: drops come out already smelted.# Each line is `drop: result`. The left side is the item that would drop, the right side is what the# player gets instead.# Fortune still multiplies the raw drop first. Add or remove lines freely; an unknown name is ignored.smelter:enabled: truename-contains: ['SMELTING PICKAXE']use-cost: 1smelts:RAW_IRON: IRON_INGOTRAW_GOLD: GOLD_INGOTRAW_COPPER: COPPER_INGOTIRON_ORE: IRON_INGOTDEEPSLATE_IRON_ORE: IRON_INGOTGOLD_ORE: GOLD_INGOTDEEPSLATE_GOLD_ORE: GOLD_INGOTCOPPER_ORE: COPPER_INGOTDEEPSLATE_COPPER_ORE: COPPER_INGOTNETHER_GOLD_ORE: GOLD_NUGGETANCIENT_DEBRIS: NETHERITE_SCRAPSAND: GLASSRED_SAND: GLASSCOBBLESTONE: STONEparticles:break:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:break:- 'block.fire.extinguish 0.4 1.4'broke:- 'entity.item.break 1.0 1.0'# Harvest hoe: breaking one ripe crop reaps every ripe crop of the listed types around it and replants them.# radius = how far, in blocks (up to 3). Crops that are not ripe stay. One use per swing, however many# crops it takes.# `seeds` says which item each crop is replanted from. A crop with no line there is not reaped.harvester:enabled: truename-contains: ['HARVEST HOE']use-cost: 1radius: 1crops: ['WHEAT', 'CARROTS', 'POTATOES', 'BEETROOTS', 'NETHER_WART', 'COCOA']seeds:WHEAT: WHEAT_SEEDSCARROTS: CARROTPOTATOES: POTATOBEETROOTS: BEETROOT_SEEDSNETHER_WART: NETHER_WARTCOCOA: COCOA_BEANSparticles:harvest:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:harvest:- 'block.crop.break 1.0 1.0'broke:- 'entity.item.break 1.0 1.0'# Magnet: right-click pulls dropped items nearby into your inventory.# radius = how far, in blocks (up to 32). Items that do not fit stay on the ground; items that belong to# another player are left alone.magnet:enabled: truename-contains: ['MAGNET']use-cost: 1radius: 8# Seconds between two uses. Example: 3.cooldown-seconds: 3# How many particle spots are drawn along the line from each item to you (the `trail` particles). Example:# 5.trail-points: 5particles:pull: []trail:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:pull:- 'entity.item.pickup 0.8 0.7'broke:- 'entity.item.break 1.0 1.0'# Vein miner: sneak while you mine an ore and every touching block of the same ore breaks with it, up to# `max-blocks` more. Without sneaking it is an ordinary pickaxe and costs nothing extra. Only the ore you# mine yourself drops experience; the rest of the vein drops its items like a normal pickaxe would, Fortune# included.veinminer:enabled: truename-contains: ['VEIN MINER']use-cost: 1# How many blocks of one vein are paid for by a single use. With 8, a vein of 1 to 8 ores costs one use# and a vein of 9 to 16 costs two. Raise it to make the tool last longer.blocks-per-use: 8# The most extra blocks one swing may break, on top of the one you mine. A cap keeps a huge vein (or a# wall of placed ore blocks) from lagging the server. Up to 256.max-blocks: 48# When true you have to sneak for the vein to break. Set it to false and every ore you mine takes its# whole vein, which many players find too easy to trigger by accident.require-sneak: true# The ores the vein miner follows. Anything not on this list is mined one block at a time. An empty list# turns the vein feature off.ores:- COAL_ORE- DEEPSLATE_COAL_ORE- IRON_ORE- DEEPSLATE_IRON_ORE- COPPER_ORE- DEEPSLATE_COPPER_ORE- GOLD_ORE- DEEPSLATE_GOLD_ORE- REDSTONE_ORE- DEEPSLATE_REDSTONE_ORE- LAPIS_ORE- DEEPSLATE_LAPIS_ORE- DIAMOND_ORE- DEEPSLATE_DIAMOND_ORE- EMERALD_ORE- DEEPSLATE_EMERALD_ORE- NETHER_QUARTZ_ORE- NETHER_GOLD_ORE# Ores that count as one vein. A vein that crosses from stone into deepslate keeps going because the two# versions of each ore share a line here. An ore on no line only joins blocks of exactly its own kind.groups:- [COAL_ORE, DEEPSLATE_COAL_ORE]- [IRON_ORE, DEEPSLATE_IRON_ORE]- [COPPER_ORE, DEEPSLATE_COPPER_ORE]- [GOLD_ORE, DEEPSLATE_GOLD_ORE]- [REDSTONE_ORE, DEEPSLATE_REDSTONE_ORE]- [LAPIS_ORE, DEEPSLATE_LAPIS_ORE]- [DIAMOND_ORE, DEEPSLATE_DIAMOND_ORE]- [EMERALD_ORE, DEEPSLATE_EMERALD_ORE]protected-blocks: ['BEDROCK', 'BARRIER']particles:break:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:break:- 'block.amethyst_block.break 0.8 1.2'broke:- 'entity.item.break 1.0 1.0'# Builder's wand: right-click the side of a block and the wand copies that block onto the free spaces in# front of it and its neighbours, up to `max-blocks` at once. Each copy uses one matching block from your# inventory, so the wand never builds for free; blocks that could not be placed go straight back to you.# It only fills air, never replaces a block, and every copy goes through claim protection like a block you# place by hand. In creative mode no blocks are taken.wand:enabled: truename-contains: ["BUILDER'S WAND"]use-cost: 1# The most blocks one click places. 9 fills a 3x3 face. Up to 64.max-blocks: 9# When true the wand only spreads across neighbours of the same block you clicked, so clicking a stone# wall extends that wall and stops at the edge. Set it to false and it spreads across any solid block in# the same flat layer.require-same-type: true# Wait between two clicks, in milliseconds. 400 stops a held right-click from emptying your inventory in# a second.cooldown-millis: 400# Only these blocks can be copied. Leave it empty to allow every solid block that passes the safety# rules: no containers or other blocks that hold data, no doors or beds, no sand, gravel or other falling# blocks.allowed-blocks: []# Blocks the wand never copies, even when allowed-blocks is empty.denied-blocks: ['TNT', 'SPAWNER', 'TRIAL_SPAWNER', 'BEDROCK', 'BARRIER', 'END_PORTAL_FRAME', 'REINFORCED_DEEPSLATE', 'BUDDING_AMETHYST', 'COMMAND_BLOCK', 'CHAIN_COMMAND_BLOCK', 'REPEATING_COMMAND_BLOCK', 'STRUCTURE_BLOCK', 'JIGSAW', 'LIGHT']particles:place:- "DUST_COLOR_TRANSITION:5:0.3:0.3:0.3:0:#9B5CFF>#FF6AD5:1.1"- "WITCH:1:0.3:0.3:0.3:0"sounds:place:- 'block.stone.place 1.0 1.0'broke:- 'entity.item.break 1.0 1.0'# --- Give list ---# What `/dtools give <player> <tool> [amount] [uses:<n>] [time:<duration>]` hands out.# Examples:# /dtools give Steve drill uses:3000 a drill with 3000 uses that never expires# /dtools give Steve drill uses:500 time:1d a drill with 500 uses that disappears after one day# /dtools give Steve wand 2 uses:1000 two wands with 1000 uses each# /dtools give Steve drill 3000 the old form still works: a bare number on its own is uses# uses: takes a number from 1 to uses.max, or `infinite` for tools that allow it. time: takes a duration# made of s, m, h, d and w (30m, 2h, 1d12h, 1w), or `never`. amount: (or a bare number next to uses:) is how# many to give, up to 64. Anything you leave out comes from the entry below.# Use this command in crates, kits, shops and vote rewards: dtools give %player% drill uses:3000# Items made here carry a hidden mark that makes them real tools. A crate that stores plain items would# give dead tools, so make# the crate run this command instead.# To stop handing a tool out, add `enabled: false` to its entry (deleting the entry does not stick: it# comes back).# Keys of an entry:# tool-id = which tool it is (a name under `tools:`). Without it the item is just an item.# uses = uses it starts with when the command gives no number. Example: 3000. `infinite`# gives unlimited uses by default (only for tools with allow-infinite).# max-uses = a lower cap than uses.max for this entry only# time = how long it lasts when the command gives no time:, like 7d. Leave it out and the tool# never expires unless the command says so.# enabled = false stops /dtools give from handing it out# material = item type. Example: NETHERITE_PICKAXE# material-fallback = used if `material` does not exist on this Minecraft version# amount = stack size, default 1# name = display name. & colours and &#RRGGBB work.# lore = list of lore lines. %left% is the use counter. Keep the counter line matching `uses.line`.# enchantments = list of 'ENCHANT:level'. Example: 'EFFICIENCY:5'# glow = true adds an enchant glint# unbreakable = true means the item never loses durability# hide-attributes = true hides the attribute lines# custom-model-data = a number, for a resource pack model# potion, flight (0 to 3), head-texture, trim, base64 = for potions, rockets, player heads, armour trims, or a whole copied itemitems:drill:tool-id: drillmaterial: NETHERITE_PICKAXEunbreakable: truename: '�B5FF&lSPECIAL DRILL'lore:- '&8│ &7Breaks 9 blocks at once'- '&7%left% uses'enchantments: ['EFFICIENCY:5']uses: 3000shovel:tool-id: shovelmaterial: NETHERITE_SHOVELunbreakable: truename: '�B5FF&lSPECIAL SHOVEL'lore:- '&8│ &7Breaks 9 blocks at once'- '&7%left% uses'enchantments: ['EFFICIENCY:5']uses: 3000axe:tool-id: axematerial: NETHERITE_AXEunbreakable: truename: '�B5FF&lSPECIAL AXE'lore:- '&8│ &7Chops down whole trees in one blow'- '&7%left% uses'enchantments: ['EFFICIENCY:5']uses: 1000sponge:tool-id: spongematerial: SPONGEunbreakable: truename: '�B5FF&lSPECIAL SPONGE'lore:- '&8│ &7Absorbs lava and water'- '&7%left% uses'enchantments: ['UNBREAKING:3']uses: 500rocket:tool-id: rocketmaterial: FIREWORK_ROCKETunbreakable: truename: '�B5FF&lSPECIAL ROCKET'lore:- '&8│ &7Reusable rocket'- '&7%left% uses'uses: 5000bucket:tool-id: bucketmaterial: WATER_BUCKETunbreakable: truename: '�B5FF&lSPECIAL BUCKET'lore:- '&8│ &7Never runs out of water'- '&7%left% uses'enchantments: ['UNBREAKING:3']uses: 750smelter:tool-id: smeltermaterial: DIAMOND_PICKAXEunbreakable: truename: '�B5FF&lSMELTING PICKAXE'lore:- '&8│ &7Ores and sand drop already smelted'- '&7%left% uses'enchantments: ['EFFICIENCY:5', 'FORTUNE:2']uses: 2000harvester:tool-id: harvestermaterial: NETHERITE_HOEunbreakable: truename: '�B5FF&lHARVEST HOE'lore:- '&8│ &7Reaps and replants 9 crops at once'- '&7%left% uses'enchantments: ['EFFICIENCY:5']uses: 2000magnet:tool-id: magnetmaterial: HEAVY_COREmaterial-fallback: LODESTONEunbreakable: truename: '�B5FF&lMAGNET'lore:- '&8│ &7Right-click to pull nearby items to you'- '&7%left% uses'uses: 1000veinminer:tool-id: veinminermaterial: NETHERITE_PICKAXEunbreakable: truename: '�B5FF&lVEIN MINER'lore:- '&8│ &7Sneak to mine a whole ore vein'- '&7%left% uses'enchantments: ['EFFICIENCY:5']uses: 2000wand:tool-id: wandmaterial: BLAZE_RODglow: truename: '�B5FF&lBUILDER''S WAND'lore:- '&8│ &7Right-click a block to copy it 9 times'- '&7%left% uses'uses: 1000# --- Messages ---# Chat messages from /dtools. & colour codes and &#RRGGBB work. '' turns a message off.# You can use: %player% %tool% %name% %uses% %tools% (every tool id) %count% %input% %block% %amount% %time%# %max%messages:usage: '&7Usage: &f/dtools give <player> <tool> [amount] [uses:<n>] [time:<duration>] &7or &f/dtools reload'no-permission: '&cYou are not allowed to do that.'player-not-found: '&c&f%player%&c is offline - tools can only be handed to a player who is online.'unknown-tool: '&cNo tool called &f%tool%&c exists. &7(%tools%)'invalid-uses: '&f%input%&c is not a number of uses.'uses-limit: '&f%input%&c uses is more than the limit of &f%max%&c.'infinite-not-allowed: '&f%tool%&c cannot be given with unlimited uses. &7(allow-infinite under tools: in settings.yml)'invalid-time: '&f%input%&c is not a time. Use something like time:30m, time:2h or time:1d12h.'invalid-amount: '&f%input%&c is not an amount from 1 to %max%.'invalid-option: '&f%input%&c is not an option. Use uses:<n>, time:<duration> or amount:<n>.'broken-template: '&f%tool%&c could not be built - the console says why. &7(items.%tool% in settings.yml)'given: '&fGave �B5FF%name% &f(�B5FF%uses%&f uses) to �B5FF%player%&f.'received: '&fYou received �B5FF%name% &fwith �B5FF%uses%&f uses.'given-timed: '&fGave �B5FF%name% &f(�B5FF%uses%&f uses, lasts �B5FF%time%&f) to �B5FF%player%&f.'received-timed: '&fYou received �B5FF%name% &fwith �B5FF%uses%&f uses. It lasts �B5FF%time%&f.'unlimited: 'unlimited'tool-expired: '&cYour &f%name%&c ran out of time and crumbled away.'reloaded: '&fReloaded - �B5FF%count%&f tools in the give list.'wand-refused: '&cThe wand cannot copy &f%block%&c.'wand-no-blocks: '&cYou have no &f%block%&c to build with.'# --- Old tools without the mark ---# Tools are normally recognised by a hidden mark, not by their name. This stops players renaming a pickaxe# in an anvil to get a free tool.# Tools handed out by an old version have no mark.# false = those old tools stop working. Players get a fresh one (for example by opening the crate again).# true = old tools are also accepted by name (see name-contains). Use it only for a short time: it lets players fake tools by renaming.# Another crate plugin must write the mark into the item's custom data for the tool to work. The id is the# tool name above:# "minecraft:custom_data":{PublicBukkitValues:{"devamy:tool_id":"drill"}}legacy-name-match: false
DCore
Paper 1.21 or newer, and forks like Purpur and Leaf. Folia is supported. Java 21 or newer.