A dungeon’s own item is a vanilla item with your name, look, rarity, lore, attributes, enchantments and abilities on top. Make swords, armour, potions and keys once in the Items dialog, and they show first in every item picker: loot tables, the kit, rewards and drops.
Dungeon items are made only from parts Minecraft already has: attribute modifiers, enchantments, durability, food, a use cooldown, an item model, how it’s worn, a tooltip frame, a coloured name and plain lore. So every plugin on your server understands them, and a sword from a dungeon is still a sword in survival. The same dialog makes enchantments of your own, as real Minecraft enchantments in a data pack.
Loot isn’t limited to the dungeon’s own items. A loot table can also give vanilla items, the Library’s premade items, items from MMOItems, ItemsAdder, Nexo, Oraxen and MythicMobs, money and commands.
What players see
Section titled “What players see”An item with its name in its rarity’s colour and the rarity’s frame round its tooltip. Under the name come its lore, then the game’s own lines: its enchantments and attributes, such as “When in Main Hand: 9 Attack Damage”. Gear wears its own look, in hand and on the body. Right-clicking a weapon with an ability plays its sound and does its thing, with the cooldown on its icon.
Worked example: the Foreman’s Hammer
Section titled “Worked example: the Foreman’s Hammer”In the forge dungeon, the Foreman drops a hammer that slams the ground on right-click.
- In the Logic tool, choose Items…, then New item.
- Name: Foreman’s Hammer. Underneath: mace. Look: the mace’s own, or one from the Library’s gear.
- Rarity Rare. Lore: “Right-click: slam the ground.”
- Stats, counting when held in the main hand: Attack damage +3, Knockback resistance +0.2.
- Abilities: add one named Ground slam, When Right-clicked. Then, in order: Hit everything around, 8 damage within 3 blocks, slowness 2 for 2 s. 10 s cooldown.
- Tick A sound when it fires:
item.mace.smash_ground, pitch 0.9, ± 10%, so it sounds a little different each time. - Open Loot tables… and add the hammer to the Foreman’s boss loot.
The hammer’s name, look, rarity and attributes work on any server. Ground slam needs VF Dungeons.
Every field
Section titled “Every field”An item
Section titled “An item”| Field | What it does | Default |
|---|---|---|
| Name | In its rarity’s colour | |
| Underneath | The vanilla item it is in the game | Iron sword |
| Look | The base item’s own look, or one of yours or Voxelforge’s from the Library’s gear. Armour wears it on the body | Its own |
| Rarity | Common, Uncommon, Rare, Epic or Legendary: the name’s colour and the frame round its tooltip | Common |
| Lore | Plain lines under its name | Empty |
| shimmers | The enchanted glint | Off |
| thrown | Thrown with a right-click like a splash potion (one is used up). Its Thrown and lands abilities run where it lands. Needs VF Dungeons | Off |
| Stats | Minecraft’s attributes, added or as a percentage. Count when: held in the main or off hand, or worn on the head, chest, legs or feet | None, main hand |
| Durability | as the base item, never breaks, or so many uses | As the base item |
| Stacks to | 1 to 99. Gear that wears out stacks to 1 | 1 |
| Food | Hunger, saturation and seconds to eat | None |
| Enchantments | Vanilla, the Library’s or your own, at a level | None |
| Abilities | What it does when used, hits, is worn… Needs VF Dungeons (below) | None |
Minecraft’s own attributes: Attack damage, Attack speed, Armor, Armor toughness, Max health, Speed, Knockback resistance, Luck, Mining speed, Reach, Size and Jump. They show as the game’s own lines in the tooltip, and every plugin reads them.
Dungeon items have no stats of VF’s own (crit, dodge, element damage and the like), no level, class or race requirements, and no set bonuses. Mobs keep their combat stats: see Mobs and bosses.
Abilities
Section titled “Abilities”Abilities run on plugin code, so they’re marked needs VF Dungeons. On a server with VF Dungeons they work in every world, not only in runs: a hammer looted in a dungeon still slams in survival. Everything else about the item works without the plugin.
| Field | What it does | Default |
|---|---|---|
| Name | Shown when it’s cooling down (“Ground slam: 3 s”) | |
| When | Right-clicked, Right-clicked while sneaking, Hits a mob, The player lands a critical hit, The player is hurt, Kills a mob, Every second while held, Every second while worn, Eaten or drunk, or Thrown and lands | Right-clicked |
| % chance | For hits, crits, hurts and kills: how often it goes off | |
| If, Then, in order | Conditions and steps, as a rule’s | |
| s cooldown | Per player | 0 |
| charges | Uses before the item is used up. 0: no limit | 0 |
| Sound | Played each time it fires, at the player (or where a thrown item lands). A Minecraft sound or one you uploaded; volume, pitch and ± vary | None |
Enchantments
Section titled “Enchantments”The Enchantments tab makes enchantments of your own.
| Field | What it does | Default |
|---|---|---|
| Name, Levels | Its name and top level (I to V…) | I to III |
| Goes on | Swords, axes, pickaxes, bows, armour pieces, shields, fishing rods… | Swords and axes |
| Table | How often the enchanting table offers it. 0 never, 10 like Sharpness | 5 |
| Not with | Enchantments it can’t go with | None |
| What it does | More damage (to every mob or one kind), a stat, less damage from a source, an effect or fire or lightning on a hit, an aura while worn, more XP from mobs; and, run by VF Dungeons: lifesteal, autosmelt, telekinesis and vein mining |
They’re real Minecraft enchantments. VF Dungeons adds them through a data pack of its own, one namespace per dungeon, and copies nothing into your world folders. Minecraft only adds enchantments at start-up, so a dungeon with new ones says “restart to add 3 enchants” (or however many) when it loads. The Library’s enchantments come inside the plugin, so they need no restart.
Loot from anywhere
Section titled “Loot from anywhere”Any loot table (chests and wave rewards), mob drop, loot box prize, crate or door key, the dungeon’s kit, a tier’s key item, and a rule’s give, take and has steps can name:
| Source | Written as | Needs |
|---|---|---|
| Vanilla | minecraft:diamond |
|
| The dungeon’s own items | vf:item-3 |
|
| The Library’s premade items | vflib:ember-blade |
Nothing: they’re carried in the dungeon file |
| MMOItems | mmoitems:SWORD:FIRE_BLADE |
MMOItems |
| ItemsAdder | itemsadder:ns:id |
ItemsAdder |
| Nexo | nexo:id |
Nexo |
| Oraxen | oraxen:id |
Oraxen |
| MythicMobs items | mythic:ItemName |
MythicMobs |
| Money | money:50 |
Vault and an economy plugin |
| A command | command:eco give {player} 50 |
allow-commands: true in the config |
In the editor’s item picker, Server items → Add a server item picks where it comes from, its id (or the amount, or the command), a name, and its stand-in: the plain Minecraft item (or one of the dungeon’s own) players get instead.
- The stand-in is given when the plugin isn’t on the server, it has no item with that id, Vault has no economy, or
allow-commandsis off. Keys match the stand-in then, so a door still opens. - The load report in the console, as the dungeon loads, lists each server item that falls back and why, such as “ItemsAdder isn’t installed; gives its stand-in, tripwire_hook”. If an item plugin is still starting, it looks again after 60 seconds.
- Money and commands drop as a reward item that looks like the stand-in and carries the name you gave it. Picking it up, clicking it in a chest, or getting it in the inventory pays the money or runs the command, once. Anything left is paid as the player leaves the run. Copies of the item pay nothing.
- Commands run from the console with
{player},{uuid},{dungeon}and{count}filled in. With{count}in it, a stack of 5 runs it once with 5; without, it runs 5 times. They needallow-commands: truein the config.
Dungeons using server items save as dungeon.json version 8, which needs VF Dungeons 0.9.0 or newer.
Drawn tooltips
Section titled “Drawn tooltips”One switch per dungeon, at the top of the Items dialog: Item tooltips: Vanilla / Drawn. Vanilla stays the default. Drawn gives the dungeon’s loot Voxelforge’s drawn tooltips for players with the VF pack; Bedrock players, and anyone without the pack, see the vanilla tooltip. Fields that only the drawn look uses, such as the type tag, show only while it’s on.
In game
Section titled “In game”- Tooltips are the game’s own, in the rarity’s frame. The stored item keeps plain lore and real attributes, so auction houses, item editors and
/givecopies see an ordinary item. - Abilities go off as set, with the cooldown on the item’s icon and the sound heard by players nearby.
- Item ids carry the dungeon’s namespace, so two dungeons’ items never mix.
/vfd give <player> <dungeon>:<item> [count]gives one. Each item has a Copy command button.
Bedrock
Section titled “Bedrock”Bedrock players see your items’ looks, in hand and worn, through the Bedrock pack VF Dungeons builds. Their tooltips are the plain game ones. Abilities work the same.
With other plugins
Section titled “With other plugins”- Item plugins: MMOItems, ItemsAdder, Nexo, Oraxen and MythicMobs items go straight into loot, as above.
- Export for other servers: For other servers… in the Items dialog exports the items and enchantments for servers without VF Dungeons: a data pack,
/givecommands, and MythicMobs and MMOItems configs, with a README saying where each goes. - ItemsAdder, Oraxen and Nexo: VF Dungeons sends its pack, with your item looks, beside theirs, or
/vfd pack exportlays it out to merge into theirs. See Merge it into your own pack.
Limits and tips
Section titled “Limits and tips”- Stacks to 1 for gear. Anything that wears out can’t stack.
- Give abilities a sound. It tells players it worked, and those nearby hear it too.
- Name a stand-in for every item from another plugin, so the dungeon still pays out on a server without it.
- New enchantments need a restart. Use the Library’s where they’ll do; they need none.
Related
Section titled “Related”- Dungeons and tiles: chests, loot tables and the starting kit
- Mobs and bosses: mob and boss loot
- Abilities and effects: looks for abilities and thrown items
- Companion plugins: item plugins and pack merging