Skip to content

Map format

Adventure maps made in Voxelforge use an open, documented format, and this page is its full spec. You don't need it to make or run a map. It's here so you can see exactly what a map holds, write tools that read or make one, and know your work never depends on us.

Our promise for your maps

  • Ordinary worlds. A downloaded map is a Minecraft Java world. Its blocks are in the usual region files, so it opens anywhere, even in singleplayer, with or without the plugin.
  • Runs without voxelforge.app. Once a map is on your server, the plugin runs it from the files on your server, and checks its licence there too. Nothing stops if the site is down, or gone.
  • An open format. Everything that isn't blocks is in plain JSON files inside the world folder, all of it described below. Each version of the format adds to the one before, and an older map is read as having none of what came later.
  • Open source if we end. If Voxelforge shuts down, or VF Dungeons goes 12 months with no new version and no way to buy it, we publish the plugin's source code under the GNU GPL version 3, with a build that needs no licence. The VF Dungeons licence makes this promise.

Dungeons (.vfdungeon files) have a spec of their own: the dungeon format.

The spec

The rest of this page is the spec as we keep it, added to with each version of the format. It's written for people building tools, so it goes into every field.

An adventure map (an Adventure project of the map kind) downloads as a Minecraft Java world folder, zipped. It’s an ordinary world: its blocks are in the usual region files, so it opens anywhere, even in singleplayer. What makes it an adventure rides inside the world folder:

Path in the world folder What
voxelforge/adventure.json Everything that isn’t blocks: NPCs, conversations, quests, rules and what they drive (below).
voxelforge/dungeons/<id>.vfdungeon The dungeons the map’s entrances lead to, one file each (see dungeon-json.md).
resources.zip The world’s resource pack, when the map needs one (uploaded skins, models). The server owner sets it as the server’s pack.
voxelforge/bedrock.mcpack, voxelforge/bedrock.json The same looks for Bedrock players, when the map has any (see “Bedrock players” at the end). The plugin hands them to Geyser.

On a server, with the VoxelForge Adventure plugin installed (the same jar that runs dungeons):

  • As the main world: the unzipped folder is the server’s world as it is (level-name set to it). Its voxelforge/ sits next to level.dat.
  • As an extra world: on Paper 26.3 an extra world is a dimension inside the main level. Copy the download’s dimensions/minecraft/overworld folder to <main world>/dimensions/minecraft/<name>, and put voxelforge/ inside that folder.

The first time Paper starts on a downloaded world it says “World storage migration is required during startup”, waits 30 seconds, and imports it; that’s expected, and voxelforge/ comes through untouched.

When a world with voxelforge/adventure.json loads (found in either place), the plugin runs it: it spawns the NPCs, runs the rules, doors, waves and quests, and keeps each player’s progress in its own data folder (plugins/VoxelForgeAdventure/maps/<world>/). Nothing is pasted; the world is used as it is. Without the plugin the world is plain blocks.

NPCs with an adventure role are not in the world’s entity files: the plugin spawns them so they can walk, follow, fight and talk. NPCs without a role (decoration) are in the world as mannequins, as in any world export.

Positions are world coordinates (the editor’s own; y from −64). A map is size blocks a side, centred on 0, 0.

{
"format": "voxelforge-adventure",
"version": 1,
"name": "Isle of Ash",
"size": 1024,
// difficulty multiplies every mob's health and damage; keepInventory: players keep
// their items when they die (false: items drop, as in survival); hunger as in survival.
"settings": { "difficulty": 1, "keepInventory": true, "hunger": true },
// Where a player arrives the first time (and respawns before reaching any respawn point).
"spawn": { "pos": [0, 65, 0], "yaw": 180 },
// Respawn points: walking into the area makes it that player's respawn point.
// A player who dies respawns at the nearest respawn point they've reached.
"respawns": [{ "id": "checkpoint-1", "name": "Village", "area": { "min": [10, 64, 10], "max": [16, 67, 16] }, "respawn": { "pos": [13, 64, 13], "yaw": 0 } }],
// As in dungeon.json (version 2), in world coordinates:
"loot": [], "chests": [], "spawners": [], "areas": [], "doors": [], "switches": [],
"waves": [], "sounds": [], "variables": [], "rules": [],
"npcs": [ /* below */ ],
"quests": [ /* below */ ],
"entrances": [ /* below */ ]
}

The world, persistent

One world, shared by everyone on it, kept between restarts:

  • Variables: world ones are the map’s; party ones each party’s; player ones each player’s. All are saved.
  • Rules: once means once ever in the world; perPlayer once for each player, ever. The start trigger fires when a player arrives on the map for the first time (with that player). An enter rule fires only when a player walks into its area, not when the plugin puts them there (back from a dungeon, logging in or a reload where they left off). So a key-checked way into a dungeon doesn’t send them straight back in.
  • Doors, switches, waves are the world’s: everyone sees the same door open. Starting waves that are already going does nothing.
  • Spawners wake when a player comes near, as in dungeons. Once used up and all their mobs dead, they reset 5 minutes later when no player is in range.
  • Chests: per-player chests roll their loot once for each player, ever. Shared ones roll once and refill 30 minutes after they’re emptied.
  • Deaths: respawn at the nearest respawn point the player has reached (else the spawn). Items kept or dropped by keepInventory. Quest progress is kept; a running escort, defence or timed step fails.

NPCs

{
"id": "ent-mx1a2b-0", // the NPC's id in the editor; rules, lines and quests name it
"name": "Mara",
"pos": [12, 64, -30], "yaw": 90,
// A mannequin profile, as the world export writes it: a player's skin by name,
// or a texture in the resource pack (built-in skins and uploads), wide or slim arms.
"skin": { "name": "Notch" }, // or { "texture": "entity/player/wide/steve", "model": "wide" }
"armor": { "head": { "material": "iron" } }, "hands": { "main": { "item": "iron_sword" } },
"talk": [ /* conversations, below */ ],
// What it does when nothing tells it otherwise:
// { "do": "stand" } stays put, turning to look at players close by
// { "do": "wander", "area": "area-3" }
// { "do": "patrol", "areas": ["area-1", "area-2"], "loop": true } walks to each area's
// floor middle in turn, round and round (loop) or back and forth
// { "do": "guard", "area": "area-4" } stays in the area, fighting hostile mobs in it
"behaviour": { "do": "stand" },
// Mortal NPCs can be hurt by mobs (never by players) and die; they come back at their
// place 60 s later. Immortal ones can't be hurt. health and damage as mobs' (health is hearts × 2).
"mortal": false, "health": 20, "damage": 4
}

Over an NPC’s head, per player: ! when it has a quest that player can take, ? when that player’s current step wants them to talk to it or deliver to it. In version 4 its name shows as a name tag with a label plate under it (nameColor, label: “NPC name tags”).

Conversations

talk is a list of conversations. When a player right-clicks the NPC (the talk trigger fires), the first conversation whose first line’s if holds for that player opens. A line:

{
"id": "line-1",
"text": "The mill's gone quiet. Would you look in on it?",
"if": [], // conditions, as rules'
"then": [], // actions, as rules', run as it's said
"choices": [
{ "id": "choice-1", "text": "I'll go.", "if": [],
"then": [{ "do": "quest", "quest": "quest-1", "action": "start", "step": "" }],
"reply": { "id": "line-2", "text": "Bless you.", "if": [], "then": [], "choices": [], "next": null },
"goto": null },
{ "id": "choice-2", "text": "Not now.", "if": [], "then": [], "reply": null, "goto": null }
],
"next": null // with no choices: the id of a line said straight after, or null to end
}
  • The line shows in chat as <Name> text, with the choices under it as clickable lines (only those whose if holds). Picking one runs its then, then its reply (a line), or jumps to the line goto, or ends.
  • A line with no choices and a next goes on after 2 seconds (or a click on “…”). A line said whose if doesn’t hold is skipped (its next, if any, is tried).
  • Walking more than 6 blocks away ends the conversation.
  • Quests offered: when the NPC is a quest’s giver and the player can take the quest (its requires hold, it isn’t running, repeat allows), a conversation’s first line gets an extra choice “Quest: ”, each time that line is said (a goto or next back to it too). Picking it shows the quest’s summary with “Accept” and “Not now”. Lines can also start quests themselves with the quest action.

Quests

{
"id": "quest-1",
"name": "The quiet mill",
"summary": "Mara asked you to look in on the mill by the river.",
"giver": "ent-mx1a2b-0", // an NPC id, or null (a rule or a line starts it)
"requires": [], // conditions for it to be offered
"repeat": "once", // "once" per player, "cooldown" (again `cooldown` minutes after it's done), "always"
"cooldown": 60,
"party": true, // shared progress: see below
"steps": [
{ "id": "step-1", "text": "Go to the mill",
"objectives": [{ "do": "reach", "area": "area-2", "unseen": false, "label": "" }],
"need": "all", // "all" or "any" of the objectives
"timeLimit": 0, // seconds; running out fails the step (0: none)
"then": [], // actions when the step is done
"next": null, // null: the next step; a step id; "end": the quest is done
"onFail": null } // null: try the step again; a step id; "fail": the quest fails
],
"rewards": [{ "do": "give", "stack": { "item": "emerald", "count": 5 }, "to": "player" }],
"done": null // version 5: what the NPC says when it's handed in (null: "Well done, and thank you!"); see "Handing a quest in"
}

A step is done when all (or any) of its objectives are. Its then runs, then the quest moves to next. When the quest ends, its rewards run for each rewarded player (as the player who set them off). Objectives (label is what the tracker shows; empty: the plugin words it):

do fields done when
talk npc The player talks to the NPC.
kill mob, count, area The player kills that many of the mob (inside the area, or anywhere when area is “”).
collect item, count The player has that many (checked as their inventory changes).
deliver item, count, npc The player talks to the NPC holding that many in their inventory; they’re taken.
reach area, unseen The player walks into the area. unseen: a hostile mob targeting the player before then fails the step.
explore areas The player has walked into every one of the areas.
use switch The player uses the switch.
useItem item, area The player right-clicks holding the item (inside the area, or anywhere).
gather block, count The player breaks that many of the block (a block state; properties not given don’t matter).
craft item, count The player crafts that many.
escort npc, area The NPC follows the player from when the step starts; done when the NPC is in the area. Fails if the NPC dies.
follow npc, area The NPC walks to the area, waiting while the player is more than 12 blocks behind; done once the NPC is in the area and the player is in it too or within 6 blocks of the NPC.
defend npc, seconds, waves The NPC stays alive that long while the player is on the map (the waves start with the step, when given). Fails if it dies.
fight npc, waves The NPC fights beside the player; the waves start with the step; done when they’re all cleared.
capture area, seconds The player stays in the area that long with no hostile mob inside (the count pauses while one is).
sabotage area, block No block of that kind is left in the area.
dungeon entrance The player’s party clears the entrance’s dungeon.
puzzle if The conditions all hold (checked each second, and when a switch, door or variable changes).
signal name A rule, line or answer sends the signal (while the player is on this step).

Steps with an NPC in them (escort, follow, defend, fight) take that NPC over while they run; it goes back to its behaviour after.

A player who comes back to the map mid-step (after a reload or a restart, or back from a dungeon) picks the step up again: its NPCs are taken over again, and its waves start again from wave 1 when they aren’t going. So a fight is only done once its waves are cleared, never because the map stopped them. Objectives already done stay done.

Party quests (party: true): when a party member takes it, every member on the map who can take it gets it too. Progress by any member on the same step counts for all; each member gets the rewards. A member who leaves the party keeps their own progress from then on.

In game: the sidebar shows the quest the player is tracking (the last one started or moved on): its name, the step’s text and each objective’s progress (“Zombies 3/5”). /quests opens a chest-menu journal of running and finished quests; clicking one tracks it.

Dungeon entrances

{ "id": "entrance-1", "name": "The old crypt", "area": { "min": [40, 60, 40], "max": [42, 63, 41] },
"dungeon": "dungeons/entrance-1.vfdungeon" }

Walking into the area (or the dungeon action) takes the player’s party into a run of that dungeon, in an instance as on the VoxelForge server (the lobby, kit and rules are the dungeon’s own). When the run ends, cleared or not, the party comes back just outside the entrance’s area, facing away from it, with their own inventories back. The dungeon trigger fires for each member with cleared or failed. area is null for an entrance only a line or a rule uses.

Rules: what maps add

The rule parts in dungeon-json.md, plus (maps only):

Trigger on fields when
talk npc A player right-clicks the NPC (before its conversation opens).
quest quest, event (started, step, done, failed), step The quest does that for a player; for step, moves to step (any step when “”).
dungeon entrance, result (cleared, failed) A party comes back out of the entrance’s dungeon.
Condition is fields holds when
quest quest, state (new, active, done, failed), step The player’s quest is so (active with a step: on that step). new: never taken, or reset.
Action do fields does
quest quest, action (start, step, complete, fail, reset), step For the player (their party too, for a party quest): starts it, moves it to step, finishes it (rewards and all), fails it, or forgets it.
npc npc, action (say, walk, follow, stay, home, hide, show), text, area The NPC says text (over its head for 4 s, and in chat to players within 16 blocks), walks to the area’s floor middle, follows the player, stays where it is, goes back to its behaviour, disappears, or comes back.
talk npc Opens the NPC’s conversation with the player.
dungeon entrance Takes the player’s party into the entrance’s dungeon.

end (end the run) does nothing on a map.

Version 2: items, enchantments and resources (milestone 5)

"version": 2 adds the map’s own items, enchantments, item sets, resource nodes and fishing spots, mana, and Smith NPCs. A version 1 file is read as having none of them.

The download gains a datapack, datapacks/voxelforge/ in the world folder (beside voxelforge/), holding the map’s enchantments as real Minecraft enchantments: vf_<map>:<enchantment id>, where <map> is the map’s name lowercased to a-z0-9_. As an extra world (Paper 26.3), copy that datapack into the main world’s datapacks/ too.

Naming items

Wherever an item id goes (kits, loot entries, give, take, has, door keys, the item trigger, quest objectives, drops), the map’s own items are "vf:<item id>" (“vf:item-3”), and an enchanted book of one of its enchantments is "vf:book/<enchantment id>/<level>" (“vf:book/enchant-2/3”). Vanilla ids work as before.

Items

"items": [{
"id": "item-1",
"name": "Frostbite",
"base": "diamond_sword", // the vanilla item underneath
"gear": "gear-ab12", // a look from the creator's Library (item_model "voxelforge:<gear id>", in the world's resources.zip), or null
"lore": "Cold to the touch.\nForged in the north.", // lines
"rarity": "epic", // common, uncommon, rare, epic, legendary: the name's colour (#ffffff, #55ff55, #5555ff, #aa00aa, #ffaa00)
"glint": true,
"slot": "mainhand", // where stats count: mainhand, offhand, head, chest, legs, feet, any (carried anywhere in the inventory)
"stats": [{ "stat": "attack_damage", "amount": 3, "op": "add" }], // op "percent": a percentage of the base
"enchants": [{ "id": "sharpness", "level": 2 }, { "id": "vf:enchant-1", "level": 1 }],
"durability": null, // null: the base item's; 0: unbreakable
"stack": 1, // max stack size, 1–99; always 1 for an item that wears out (a damageable base, or durability above 0)
"food": null, // or { "nutrition": 6, "saturation": 7.2, "seconds": 1.6 }
"abilities": [ /* below */ ],
"soulbound": false,
"set": null, // a set's id
"upgrades": [ /* tiers, below */ ],
"sockets": 0,
"gem": null // or { "stats": [...], "effect": { "id": "speed", "level": 1 } }: what it adds as a gem
}]

In game an item is its base item with these components:

  • custom_name (in its rarity’s colour), lore and enchantment_glint_override;
  • attribute_modifiers: the base item’s own (a diamond sword keeps its 7 damage and 1.6 speed), plus stats in slot, with percent as add_multiplied_base. Stats in any aren’t on the item: the plugin applies them while it’s carried anywhere. max_mana and mana_regen are the plugin’s own and show as lore lines;
  • enchantments, max_damage / unbreakable and max_stack_size;
  • food and consumable;
  • item_model, for a Library look (or the item’s model, below);
  • custom_data: { "voxelforge": { "item": "item-1", "tier": 0, "gems": [], "charges": n } }, which is how the plugin knows it.

Stat names: Minecraft’s attributes (attack_damage, attack_speed, armor, armor_toughness, max_health, movement_speed, knockback_resistance, luck, mining_efficiency, block_interaction_range, entity_interaction_range, scale, jump_strength), plus the plugin’s own max_mana and mana_regen.

Soulbound: kept on death even when the map drops items. It can’t be dropped, put in a container or an item frame, or moved by hoppers.

Abilities

{ "id": "ability-1", "name": "Frost nova", "when": "use", "if": [], "then": [ /* rule actions */ ],
"mana": 25, "cooldown": 8, "charges": 0 }
  • when: use (right-click), useSneaking, hit (the holder hits a mob), hurt (the holder is hurt), kill, held (every second while in the main hand), worn (every second while in an armor slot) or eat.
  • Running: if if holds, the ability isn’t cooling down (per player, per ability) and the player has the mana, the mana is taken and then runs as a rule’s actions, with the holder as the player. For hit and kill, the mob is the target of target actions (lightning with "at": "target").
  • charges: above 0, the uses left before the item is used up, kept in its custom_data.
  • Messages: a cooling-down ability shows “Frost nova: 3 s” above the hotbar, and too little mana shows “Not enough mana”.

Mana

settings.mana: { "max": 100, "regen": 2 } is every player’s maximum and regen per second, plus their items’ max_mana and mana_regen stats. It shows above the hotbar as “✦ 40/100” while it isn’t full, and for 3 seconds after any ability. It’s saved per player.

Item sets

"sets": [{ "id": "set-1", "name": "Frostguard", "bonuses": [
{ "pieces": 2, "stats": [{ "stat": "armor", "amount": 2, "op": "add" }], "effect": null },
{ "pieces": 4, "stats": [], "effect": { "id": "resistance", "level": 1 } } ] }]

A set’s pieces count when they’re in their own slot (worn, or held for hand items). Every bonus whose pieces is met applies, together.

Upgrades and gems (Smith NPCs)

"upgrades": [{ "materials": [{ "item": "iron_ingot", "count": 4 }], "stats": [ /* added at this tier */ ],
"chance": 80, "onFail": "keep" }] // keep (materials lost), down (back a tier), break (item gone)

An NPC with "smith": true offers “Smith” as a choice on its conversation’s first line, or opens it straight away when it has no conversation. It’s a chest menu of the player’s items that can be upgraded or have sockets.

  • Upgrade: shows the next tier’s materials and chance. Confirming takes the materials and rolls the chance, and the upgrade works or fails per onFail. The item’s name shows its tier (“Frostbite +2”), and its stats are the base stats plus every tier reached.
  • Gems: a gem (an item with gem) fits an empty socket: the gem is used up and its bonus is added. A fitted gem can be taken out, and it comes back. Fitted gems are kept in custom_data.

Enchantments

"enchants": [{ "id": "enchant-1", "name": "Frostbite", "maxLevel": 3,
"on": ["sword", "axe"], // also pickaxe, shovel, hoe, bow, crossbow, trident, mace, helmet, chestplate, leggings, boots, shield, fishing_rod
"table": 5, // enchanting table weight; 0: never offered there
"exclusive": ["sharpness"], // can't go with these (vanilla or "vf:" ids)
"effects": [ /* below */ ] }]

Each is a real enchantment in the datapack, so anvils, books, the enchanting table and the item tooltip work as they do for vanilla ones. These are its effects at each level. The datapack runs the first seven, and the plugin runs the rest by checking the enchantment on the item:

do fields what
damage amount, perLevel, vs More damage (to vs, a mob id, or every mob when “”).
stat stat, amount, perLevel An attribute while the item is in its slot.
protect percent, from (all, fire, fall, explosion, projectile, magic) Less damage taken, per level.
onHit effect, seconds, chance On a hit, a potion effect on the mob, chance% of the time.
ignite seconds On a hit, sets the mob alight.
lightning chance On a hit, lightning strikes the mob, chance% of the time.
aura effect While worn or held, the effect on the player.
lifesteal percent Plugin: heals the attacker by that much of the damage dealt, per level.
autosmelt Plugin: mined blocks drop smelted.
telekinesis Plugin: drops go into the inventory.
veinMine most Plugin: breaking an ore breaks touching ores of its kind, up to most.
xp percent Plugin: that much more XP from mobs and blocks, per level.

Resource nodes

"nodes": [{ "id": "node-1", "name": "Iron vein", "kind": "ore", // ore, tree, herb, crystal
"area": { "min": [10, 60, 4], "max": [12, 62, 6] }, "placement": "…",
"breaks": "whole", // whole: any block breaks the lot; blocks: block by block
"table": null, "drops": [{ "item": "raw_iron", "count": 3 }],
"seconds": 2, "tool": "pickaxe", "tier": "stone", // tool: pickaxe, axe, shovel, hoe, shears, any; tier: any, wood…netherite, or "vf:<item>"
"effects": { "particles": "", "sound": "", "xp": 2, "fortune": true,
"bonus": { "chance": 5, "stacks": [{ "item": "diamond", "count": 1 }] },
"miner": { "effect": { "id": "haste", "level": 1 }, "seconds": 10, "chance": 25 },
"spawn": { "mob": "silverfish", "count": 2, "chance": 10 }, "blast": false },
"spent": "minecraft:stone", "respawn": 120 }]
  • What it is: a node’s blocks are its own blocks in its area when the map loads, never the ground (grass, dirt, farmland, sand…). A herb takes only its plants and a tree only its wood, leaves and what grows on them; if it has none, it keeps everything but the ground. The plugin keeps them, so it can put them back.
  • Breaking it takes seconds with the right tool at tier.
    • Only players in survival mode can: in adventure mode the game won’t let them start breaking a block.
    • Each tier higher is 25% quicker, and Efficiency is 15% per level.
    • The wrong tool, or a lower tier, can’t break it (“Needs a stone pickaxe or better” above the hotbar).
  • whole: finishing any one block breaks the whole node. The breaker gets the drop: the table’s roll plus drops, with Fortune adding as for vanilla ores when fortune is on.
  • blocks: each block takes seconds and drops its share of the drop, rounding by chance. The node is spent when its last block goes.
  • Spent: its blocks become spent until respawn seconds later, then come back as they were. respawn 0 means never. A spent node can’t be broken.
  • Effects happen on each break: particles and sound, xp orbs, the bonus drop’s chance, the miner effect’s chance, the spawn chance, and blast (knockback and particles, no harm to blocks).
  • Shared: the first player to break it gets it. The node trigger fires for that player, and quests’ gather counts its blocks.

Fishing spots

"fishing": [{ "id": "fishing-1", "name": "Mill pond", "area": { "min": [...], "max": [...] },
"table": "loot-3", "rare": { "chance": 5, "stacks": [{ "item": "vf:item-7", "count": 1 }] },
"catches": 10, "respawn": 300 }]

A hook landing in the spot’s water catches from its table, and rare’s stacks chance% of the time, in place of vanilla fishing loot. An active spot shows fishing bubbles now and then. After catches catches by anyone it rests for respawn seconds: no bubbles, and vanilla loot there.

Rules: what version 2 adds

Trigger on fields when
node node A player breaks the node (the player who did).
Action do fields does
heal amount, to, fx, color Heals (2 a heart). Version 13: to "ally" heals the player of the caster’s side (their party) they look at within 24 blocks, or the caster with no one there; fx (optional) plays on each one healed, in color.
harm amount, radius, players Damages mobs within radius blocks of the player (players too with players), as that player’s attack.
projectile kind (arrow, fireball, small_fireball, snowball, wither_skull, trident), speed, damage The player shoots it the way they look.
dash strength Throws the player the way they look, a little upward.
lightning at (look, target) Lightning where the player looks (within 32 blocks), or on the ability’s target.
mana amount Gives the player mana (or takes it, below 0), within 0 and their max.

The new actions also work in dungeons, except mana.

Version 3: companions, protection and dialogue looks (milestone 6)

"version": 3 adds the plugins the map expects on the server, protection, commands for other plugins, PlaceholderAPI both ways, a command action, and how conversations look. A version 1 or 2 file is read as having none of it: no companions, building allowed (as before), and styled chat.

Companions

"settings": { …, "companions": ["placeholderapi", "worldguard"] }

The plugins the creator ticked under Map settings › “My server has…”: the ones their server runs. VoxelForge never needs any of them. It turns each link on when that plugin is installed, whatever the map says. companions is only what the map was made for: when a ticked plugin is missing, the load report says what falls back.

id plugin(s) what VoxelForge does with it
placeholderapi PlaceholderAPI Provides %vf_…% placeholders; fills placeholders in texts; the placeholder condition.
worldguard WorldGuard Respected around the map; VoxelForge’s own node breaks and door moves get through.
coreprotect CoreProtect VoxelForge’s block changes (spent nodes, respawns, doors) are logged as the user #voxelforge.
grim Grim Players get a short exemption while VoxelForge moves them (dash, blasts, teleports).
scoreboard TAB, or another scoreboard plugin VoxelForge doesn’t draw its quest sidebar; scoreboards show it through placeholders.
geyser Geyser and Floodgate Bedrock players get forms for conversations, the journal, the Smith and merchants.
itemsadder, oraxen, nexo ItemsAdder, Oraxen, Nexo VoxelForge copies the map’s pack into theirs (their merge folder), so the server sends one pack. The load report says which reload command to run, and not to also set resources.zip as the server’s pack.

The load report: when a map loads, the console lists what it found: companions present, ticked ones missing (and what that turns off), and every command action’s command.

Protection

"settings": { …, "build": false }

build: false (new maps’ default) protects the map:

  • Players can’t place or break blocks, empty or fill buckets, light fires, trample farmland, or change item frames, armour stands, paintings, signs or flower pots.
  • They can use doors, trapdoors and fence gates, buttons, levers and pressure plates, containers, crafting tables, furnaces, anvils, enchanting tables, grindstones, smithing tables, stonecutters, looms, brewing stands, beds, bells and lecterns.
  • VoxelForge’s own changes still happen: resource nodes, doors, switches, and rules’ actions.
  • Explosions hurt but don’t break blocks.

build: true (and every version 1 and 2 file) leaves building as in survival. Operators and players with voxelforge.build can always build.

Rules: what version 3 adds

Condition is fields holds when
placeholder placeholder, op, value, missing The player’s PlaceholderAPI value (placeholder, e.g. %vault_eco_balance%) compares with value by op (=, !=, <, <=, >, >=): as numbers when both are numbers, otherwise as text (= and != only). Without PlaceholderAPI it holds when missing is true.
Action do fields does
command command Runs command (no leading /) from the console, with {player} replaced by the player’s name. Only when the server owner has set allow-commands: true in the plugin’s config; otherwise it’s skipped and the load report says so.

Placeholders

In texts: any %placeholder% in a line, choice, chat message, title or subtitle is filled in for the player when PlaceholderAPI is installed, and shown as written when it isn’t.

VoxelForge’s own, for scoreboards, tab lists and holograms:

placeholder value
%vf_map% The map’s name (empty off the map).
%vf_quest% The tracked quest’s name.
%vf_quest_step% Its current step’s text.
%vf_tracker_1% … %vf_tracker_6% The quest sidebar’s lines, top to bottom (empty past the last).
%vf_mana%, %vf_mana_max% The player’s mana and maximum.
%vf_run_time% The dungeon run’s time, m:ss (empty outside a run).
%vf_var_<name>% A variable: the player’s, else the party’s, else the world’s.

Commands for other plugins

From the console (or a player with voxelforge.command.<name>), for crates, vote rewards, menus and other plugins. Things are named by their ids, which don’t change when they’re renamed. The editor’s “Copy command” buttons copy these with {player} for the player:

command does
/vfa give <player> <item> [count] Gives a map item (item-3, or a vanilla id), also to a player in a dungeon run they went into from the map. /vfa map give still works.
/vfa quest <start|complete|reset> <player> <quest> Starts, completes or resets a quest for the player.
/vfa signal <player> <name> Sends a signal, as the signal action does, with that player.
/vfa var <set|add> <player> <name> <value> Sets or adds to a variable, at its scope, for that player.
/vfa mana <player> <amount> Gives mana (or takes it, below 0).
/vfa journal <player> Opens the player’s quest journal.

How conversations look

"settings": { …, "dialogue": { "look": "frame", "frame": "stone", "typing": 40 } },
// and on an NPC, overriding the map's:
"dialogue": { "look": null, "portrait": "auto" }
  • look:
    • frame: a solid textured box just above the hotbar, with the NPC’s framed portrait, a name plate and the text, a box of numbered answers beside it, and under it a plate with a progress bar and a bouncing Shift key (“to continue”, “to close”, “Scroll to pick, … to close”, “… to choose”). Sneak goes on. No answer is picked when the answers come up, so a Sneak meant to go on can’t choose one: scrolling the hotbar (down lands on the first, up on the last) or pressing 1–9 picks one, the hotbar’s highlight following it, and Sneak then chooses it. Until one is picked, Sneak closes the conversation. Their hotbar slot comes back afterwards.
    • chat: styled chat. The line types out under the NPC’s name with its answers listed under it. Scrolling the hotbar or pressing 1–9 moves a ▶ pointer, which starts on the first answer, and Sneak or a click picks (number keys don’t pick at once: the mouse wheel sends the same event, so scrolling past would pick by accident). A line with no answers goes on 2 s after it’s typed, or at a click or Sneak.
    • window: Minecraft’s own dialog window, with the text and a button for each answer.
    • An NPC’s look null uses the map’s.
  • frame: the built-in style (stone, parchment, dark) or custom, the creator’s own images in the pack. A custom frame starts from a built-in style, frameBase: the editor downloads that style’s pieces as one 216 × 138 sheet to paint over, and takes them back piece by piece (or just a text box); any piece left empty is the base style’s. The plugin only sees the pack’s pieces.
  • typing: letters a second as a line types out (0: all at once). Sneak, or a click in chat, shows the rest at once.
  • portrait: auto (the NPC’s face, from its skin), custom (the creator’s own image in the pack) or none.
  • Players can switch themselves to chat with /dialogue chat (and back with /dialogue default); it’s kept per player.
  • Bedrock players (through Floodgate) always get a form.
  • The pack: the frame needs the world’s resources.zip, which the editor writes with the frame styles the map uses, custom images and the fonts that place them. A player with no server pack loaded (declined, failed or none) gets chat instead; the plugin can tell that a pack loaded, not which one. The creator’s own images (PNG, up to 256 × 256) go in scaled pixel for pixel: a custom frame becomes the custom style’s text box (216 × 38), its answer box (136 × 46) is the image scaled to 216 × 46 with its two ends put side by side (so both borders stay whole), and its other pieces are stone’s. A custom portrait becomes a 48 × 48 glyph at assets/voxelforge/textures/dialogue/portrait/<npc id>.png (the id lowercased, anything but a-z0-9_.- as _).

Drawing the frame

The plugin draws the frame as one action-bar line of font glyphs. A glyph can be shifted down by any amount but up only as far as its own height (a bitmap’s ascent can’t exceed its height). Text uses the player’s own 8 px font sheets, so no text can sit higher than 73 px above the screen’s bottom, and the hotbar’s top is 22 px up. The frame’s text fits between the two (it covers the hearts, food and the middle of the experience bar while the conversation lasts, never the hotbar); only pictures, padded with empty rows where needed, reach higher. Distances here are GUI pixels above the screen’s bottom. A glyph with ascent a and height h is drawn from 65 + a down to 65 + a − h, because the action bar’s text starts 72 px up and a glyph’s top is 7 − a below that.

The pack needs six fonts in the voxelforge namespace.

assets/voxelforge/font/dialogue.json: the frame’s pieces. Each style gets 32 code points from U+E000 + 0x20 × style: stone 0, parchment 1, dark 2, custom 3. Only the styles the map uses need to be there; custom pieces the creator didn’t upload are those of the style it starts from (frameBase). Every piece is a bitmap provider with one char; one image can serve several providers:

+ piece size (w × h) ascent on screen
0 text box 216 × 38 5 70 → 32
1 answer box 136 × 46 13 78 → 32
2 footer plate (its top three rows go under the text box) 212 × 13 −30 35 → 22
3, 4, 5, 6 answer pointer, rows 1–4 6 × 8 8, −3, −12, −21 rows’ tops 73, 62, 53, 44
7 “go on” marker, end of the text’s last row 7 × 7 −22 43 → 36
8 more answers above: the arrow in the top 3 rows, the rest empty 5 × 11 11 76 → 73 (the arrow)
9 more answers below 5 × 3 −29 36 → 33
10 progress bar’s track: a rim round a dark groove 96 × 5 −35 30 → 25
11, 12, 13, 14 progress bar’s fill, 1, 2, 4 and 8 wide n × 3 −36 29 → 26
15 the Shift key: red, “SHIFT” in a 3 × 5 pixel font, the same in every style 25 × 9 −33 32 → 23
16 name plate 112 × 13 11 76 → 63
17 portrait frame: a bevelled border with an accent line inside 60 × 60 27 92 → 32
18, 19 the Shift key lifted 1 and 2 px, for its hop 25 × 9 −32, −31 33 → 24, 34 → 25

The built-in styles’ boxes and plates are solid (no transparency). The plates have a one-pixel bevel; the boxes keep their three-pixel border.

Every piece’s last column needs a pixel that isn’t fully transparent (alpha 1 is enough). The game sets a glyph’s advance from its rightmost non-blank column, and the plugin places what follows by each piece’s full width. Portraits need it too.

Portraits are in the same font: U+E100 + i, where i is the NPC’s index in npcs, 48 × 48 with ascent 21 (86 → 38, inside the frame). The export writes an NPC’s dialogue.portrait as none when it has no portrait in the pack (no skin to take a face from, say). The plugin only uses a portrait glyph when the portrait isn’t none.

The same font has a space provider for moving left and right: U+F801–U+F809 are −1, −2, −4, −8, −16, −32, −64, −128, −256, and U+F821–U+F829 are +1, +2, +4 … +256.

assets/voxelforge/font/dialogue_row_1.json … dialogue_row_5.json: the text rows. Each is vanilla’s minecraft:include/default with every bitmap provider’s ascent moved by the row’s shift (row 1 goes up one, as far as a glyph can; a provider whose ascent would pass its height keeps ascent = height, which none of vanilla’s do):

row used for shift glyphs’ tops
1 the name, answer 1 +1 73
2 the text’s row 1, answer 2 −10 62
3 the text’s row 2, answer 3 −19 53
4 the text’s row 3, answer 4 −28 44
5 the footer’s words −41 31

They keep vanilla’s file, height and chars: minecraft:font/ascii.png (ascent 7), accented.png (height 12, ascent 10) and nonlatin_european.png (ascent 7), in vanilla’s order. The textures are the player’s own game files, so the pack ships no Mojang art. Copy the chars from vanilla 26.3’s assets/minecraft/font/include/default.json (kept in the notes folder as vanilla-26.3-font-include-default.json). Put a space provider first, {" ": 4, "‌": 0}, as vanilla does.

What the plugin does with them:

  • Layout, x from the line’s start: the portrait frame at 0–60 with the face at 6; the text box at 52 (its left end under the frame); the name plate at 57 (its left end under the frame’s edge, so the two read as one) with the name centred on it; the text from 66 to 250, with the “go on” marker at 253; the answer box at 272 (pointer at +6, answers from +14, 116 wide); the footer plate at 54. The line is always 408 px wide and centred, so the text box sits left of centre even with no answers and doesn’t jump sideways when they appear. With no portrait everything moves 52 px left and the line is 356 wide.
  • Back to front: footer plate, text box, name plate, portrait frame, face, then the text, the answers and the footer’s contents.
  • Text: a line wraps to 30 or so characters a row, three rows a page. Sneak goes on to the next page. An answer is one row, cut with “…” when it’s too long. More than four answers scroll, with the “more” markers showing.
  • Footer: the progress bar (track at +6 on the plate, filled from +7) counts the lines said one after another before the next answers or the end, each page a step. It shows when that run is more than one line or page, and not while answers are up. The words and the Shift key go right of it, or centred on the plate with no bar: “SHIFT to continue”, “SHIFT to close” on the run’s last line when nothing follows; with answers, “Scroll to pick, SHIFT to close” until one is picked, then “SHIFT to choose”. The key hops 1, 2, 2, 1 px over four ticks, then rests for twenty. It always says SHIFT, Sneak’s usual key.
  • Colours: stone and dark take light text (name gold, answers grey, the chosen one yellow). Parchment takes dark brown text (name dark red, the chosen one black). Custom takes stone’s. The footer’s words take the style’s text colour. Apart from the Shift key, the pieces need no text baked in.
  • No shadows: the plugin turns off the text shadow on the pieces, so the art is drawn as it is.
  • Widths: the plugin knows vanilla’s glyph widths, so a character outside those three textures is shown as “?”.

Version 4: mobs, bosses and combat (milestone 7a)

"version": 4 adds the project’s own mob types (bosses among them), combat stats on items and mobs, thrown items, and the burst action. A dungeon’s dungeon.json carries the same mobs (its version 3; see dungeon-json.md). A version 1–3 file has no mob types; its mobs are the inline ones, as before.

Mob types

"mobs": [{
"id": "mob-1",
"name": "Pirate Gunner", // over its head (with its health bar when `bar`)
"base": "pillager", // the vanilla mob underneath: its AI, sounds, hitbox
"hostile": true, // false: it only fights back when hurt (a base that can't fight, a cow or a villager, never attacks)
"health": 30, "damage": 6, // hearts × 2 (over 1024 too: below) and attack damage (a bow or crossbow mob's arrows), before difficulty and party scaling
"speed": 1, // × the base mob's speed
"armor": 4, "knockback": 0, // armour points; knockback resistance 0–1
"size": 1, // scale (0.25–4)
"equipment": { "head": null, "chest": "leather_chestplate", "legs": null, "feet": null, "main": "crossbow", "off": null },
// item ids: vanilla, or "vf:item-3" (maps); null keeps the base mob's own
"stats": { "crit_chance": 10, "fire_resist": 50 }, // combat stats (below): only those it has
"look": { "kind": "vanilla" }, // or a model, blocks or a ModelEngine model (below)
"skills": [ /* ready-made skills, below */ ],
"abilities": [ /* rule abilities, below */ ],
"loot": "loot-2", // a loot table rolled when it dies, or null
"drops": [{ "item": "bone", "count": 1 }], // given as well, every time
"xp": 5,
"bar": true, // name and health bar over it (bosses use the boss bar)
"healthbar": null, // its own bar look, or null for the project's ("Health bars")
"level": 0, // "LV n" on a badge beside its name; 0: none (only a label)
"boss": null // or a boss's settings (below)
}]

Where mob types are used: a spawner’s, wave group’s or spawn action’s mob (DungeonMob) gets "custom": "mob-1". With it, the type decides everything and the mob’s other fields only say which vanilla mob it is (type is the type’s base). Without it the mob is the inline one, as in versions 1–3.

Health over the server’s cap: the game gives a mob no more health than settings.attribute.maxHealth.max in the server’s spigot.yml (1024 unless raised). A mob type whose health (after difficulty, level and party scaling) is over it still spawns with its whole health: it’s given the cap, and every hit on it (and every heal) is divided by its health ÷ the cap, so a 2000-health boss takes as long to bring down as its health says. Its health bar, boss bar, hit numbers and the health / maxhealth formula values show the whole. Other plugins see the capped number. An inline mob’s health is held at the cap: make a mob type for more.

Kill objectives and kill triggers take mob as:

  • a vanilla id ("zombie"): any mob of that kind, mob types made on it included;
  • "vf:mob-1": only that mob type;
  • "mythic:<name>": that MythicMobs mob, counted when MythicMobs is on the server (companion mythicmobs). VoxelForge never spawns MythicMobs mobs.

Looks:

  • { "kind": "vanilla" }: the base mob, with its equipment and size.

  • { "kind": "model", "model": "<id>", "centre": [x, y, z], "box": [x, y, z] }: one of the creator’s custom models (an upload or a Library model) in the world’s resource pack. The mob is invisible, and an item display rides it, shown the way the world export shows model displays:

    • item light_gray_concrete with custom_model_data:
      • strings ["voxelforge:<id>"];
      • floats [cx, cy, cz, bx, by, bz];
    • item_display: "fixed";
    • translation centre × size, scale 2 × box × size.

    centre and box are the model’s box in blocks, feet at 0.

  • { "kind": "blocks", "blocks": [{ "pos": [x, y, z], "block": "minecraft:oak_planks" }, …], "scale": 0.5 }: a small build (up to 512 blocks), the mob invisible and a block display per block riding it.

    • pos is the block’s corner relative to the mob’s feet, centred on x and z.
    • scale × the mob’s size scales the whole build.
  • { "kind": "modelengine", "model": "pirate_captain" }: a ModelEngine model on the mob when ModelEngine is installed (companion modelengine). Without it the mob looks as vanilla.

Skills

Ready-made moves a mob uses on its own while it has a player as its target within range and the skill’s cooldown (seconds) has passed (heal and shield too: they’re for fights). Damage skills take an element (none, fire, frost, poison):

skill fields does
charge range, damage, speed Rushes at the target in a line, hitting what it runs into.
leap range, damage, radius Jumps onto the target; landing hits everything within radius.
fireball range, damage, speed Shoots a fireball (no block damage).
volley range, damage, count Shoots count arrows in a spread.
summon mob (a DungeonMob), count Calls mobs to its side (they’re its own: they die with it).
heal amount, below Heals amount when its health is under below% (once per cooldown).
shield seconds, percent Takes percent% less damage for seconds.
slam radius, damage, knockback Hits the ground: damage and knockback all around.
teleport range, to (target, behind) Blinks next to, or behind, its target.
pull radius, strength Drags players within radius towards it.

Every skill also has id, cooldown and range (0: any distance).

Rule abilities

{ "id": "ability-1", "name": "Call the crew", "when": "health", "seconds": 0, "below": 50,
"if": [], "then": [ /* rule actions */ ], "cooldown": 0 }
  • when: spawn, hit (it hits a player), hurt, every (each seconds), health (when it drops below below%, once), death or target (it spots a player).
  • Running: if if holds and the ability isn’t cooling down, then runs as a rule’s actions.
    • The player is the one it hit, the one who hurt or killed it, or the one it spotted. For spawn, every and health it’s its current target, else the nearest player within 32 blocks.
    • The spot (for burst) is the mob, and a mob’s burst hits players, never mobs (so a boss’s blast spares its crew).

Bosses

"boss": {
"bar": { "color": "red", "style": "notched_10" }, // pink, blue, red, green, yellow, purple, white; progress, notched_6/10/12/20
"phases": [{ "at": 50, "then": [ /* actions */ ], "speed": 1.3, "damage": 1.2, "skills": ["skill-2", "skill-3"] }],
"arena": "area-4", // or null
"loot": "loot-5" // rolled for each player who fought, or null
}
  • The boss bar shows the boss’s name and health to every player within 48 blocks (or in its arena). It replaces the name and bar over it.
  • Phases: when its health first drops to at% (highest first), then runs. From then on its speed and damage are × speed and × damage (null leaves them), and only the skills listed in skills are used (null keeps them all).
  • Arena:
    • The boss doesn’t leave it (one spawned outside it is sent to its middle), and ignores players outside it. One that steps out gives up as a spawner’s mob past its leash does (dungeon-json.md, “spawners”): it walks back to the middle, unhealed and ignoring players, and is put back if it isn’t there within 10 s. Its fight goes on; only an arena left empty resets it (below).
    • The fight starts when a player enters it. Until then it uses no skills, and its every abilities wait (each first one comes its seconds after the fight starts).
    • No fight closes or locks a door: the arena’s doorways stay as they are, so a player back from a checkpoint, or knocked out over the line, walks straight back in. (Before VF Dungeons 0.10.0 a boss listed doors it closed and locked while its fight was on. The editor drops that list as it opens an older file, and 0.10.0 ignores it.) Doors still open and close by their own rules, such as an exit’s bars opening once the boss is beaten.
    • Only players inside the arena can hurt it. A hit from outside (an arrow from the doorway, a spell across the line) does nothing, and the player is told to step in.
    • A boss without an arena is fighting from the first hit a player lands.
    • When no living fighter has been in it for 10 seconds (they left, or all died), the boss returns to where it spawned. It doesn’t heal (mobs never heal on their own, only by a heal skill), so its phases stay as they were. A charge, pull or knockback that puts a player outside for a moment doesn’t reset it.
  • Loot: each player who hurt it rolls loot for themselves, into their inventory (on the ground if it’s full), on top of its loot/drops.

Health bars

A mob’s name and health bar over its head (when its bar is on) is a graphical bar drawn from the world’s resource pack, with its health inside it and its level on a badge beside its name. Bosses keep the boss bar instead.

"settings": { …, "healthbar": {
"style": "bronze", // bronze, silver (gem-capped metal), pointed (thick, arrow-point ends), classic, slim, gold, dark,
// or custom (the creator's frame and fill, drawn into the pack)
"width": 112, // the frame's width in pixels
"scale": 0.65, // the whole display's size (0.5 to 3; a vanilla name tag is 1): name, badge, bar and number
"colors": ["#4ade80", "#facc15", "#ef4444"], // the fill above the first switch point, between, below the second
"at": [60, 30], // the switch points, in % of health
"name": true, // the name above the bar
"nameColor": "#ffffff", // or "band": the health's colour
"numbers": "inside", // "inside": the current health centred in the bar; "beside": "24 / 30" after it; "off"
"badgeColor": "#ffe08a", // "LV n" on the level badge
// written by the editor: where its pieces are in the pack (below)
"glyphs": 57856, "inner": [13, 86], "badge": 32, "numberFont": "voxelforge:healthbar_number_0"
} },
// and on a mob type, its own look (null: the project's), and its level:
"healthbar": null, "level": 3 // level 0: no badge

An older numbers of true reads as “beside”, false as “off”.

  • The fill is a solid bar that moves smoothly as health changes, like the boss bar. It’s inner[1] × health ÷ max health pixels wide, eased to its new width over about a quarter of a second, in the colour of the health’s band.
  • The number (“inside”) is the current health, in numberFont and centred on the bar’s inner part: it starts inner[0] + round((inner[1] − (its advance − 1)) ÷ 2) pixels from the frame’s left, drawn after the bar, then spaces back to the frame’s end. numberFont is the game’s digits lowered so their middle sits on the fill’s middle.
  • The level badge: a mob type with a level above 0 shows its plate (the look’s +8, badge pixels wide) after its name, with “LV n” centred on it in badgeColor. With badge 0 it shows as “[LV n]” in text.
  • Shadows: the name, number and level have the game’s text shadow; the bar’s frame, fills and plate have none. The text display’s background is transparent.
  • Without the pack (a player who declined it, or whose pack failed), the player sees the text bar: the name, then 20 “|” in the band’s colour. Paper shows each rider to the players it’s for.

The pack’s fonts, written by the editor into the map’s world pack (a dungeon’s pack.zip) whenever a mob type shows a bar:

  • voxelforge:healthbar:
    • Spaces: U+F801–U+F809 are −1, −2, −4 … −256, and U+F821–U+F829 are +1 … +256, as in the dialogue font.
    • Each bar look (the project’s first, then each mob type with its own, in mobs order) has 16 code points from its glyphs:
      • +0: the frame, width pixels wide.
      • +1 to +7: the fill in pieces 1, 2, 4, 8, 16, 32 and 64 pixels wide. They’re white (or the creator’s fill), so the text colour tints them to the band’s colour, and they sit inside the frame when drawn inner[0] pixels from its left.
      • +8: the level badge’s plate, badge pixels wide (when any mob type shows a level).
  • voxelforge:healthbar_number_<n>, one for each look (n counting the looks in the same order): the game’s digits, “/” and the space.
  • Drawing the bar:
    1. The frame, in white.
    2. Spaces back to inner[0].
    3. Fill pieces adding up to the fill’s width, each followed by U+F801 (−1), since the game puts a pixel between glyphs.
    4. Spaces forward past the frame’s end.
    5. The number (above), or “ 24 / 30” in the default font.

NPC name tags

Every NPC with a role shows its name over its head, and under it a small grey plate with a word on it (“NPC”, “Smith”, “Guard”). The game’s own name tag is hidden.

"settings": { …, "nameplate": {
"nameColor": "#3fbf3f", // the name's colour
"label": "NPC", // the word on the plate ("": no plate)
"labelColor": "#e6e6e6", // the word's colour
"scale": 0.6, // the name tag's size (0.5 to 3; a vanilla name tag is 1)
"glyphs": 58112 // written by the editor: where the plate's pieces are in the pack (below)
} },
// and on an NPC, over the map's (null: the map's):
"nameColor": null, "label": null // a label of "" shows no plate
  • Lines, top to bottom: ! or ? when it has one for the player, then the name in nameColor, then the plate with label centred on it in labelColor. The name and label have the game’s text shadow; the plate has none, and the text display’s background is transparent.
  • The plate is built to the label’s width from pieces in the pack’s font voxelforge:nameplate:
    • The spaces U+F801–U+F809 and U+F821–U+F829, as in the health bars’ font.
    • From glyphs: +0 the left end and +8 the right end, 3 pixels wide each; +1 to +7 the middle in pieces 1, 2, 4, 8, 16, 32 and 64 pixels wide. All are 13 pixels tall with ascent 10, so a line of text sits in the face with a row of face above it, and its shadow stays off the bottom rim.
    • Drawing it: M = the label’s advance − 1 + 5, which gives 3 pixels of face each side of the word and its shadow, counting each end’s face column.
      1. The plate’s line: the left end and U+F801, then middle pieces adding up to M, each followed by U+F801, then the right end and nothing after. Its advance is M + 7, one pixel past the plate as a text line’s is, so it centres under the name.
      2. The label’s line, in its own display 0.01 blocks in front (so its shadow doesn’t flicker against the plate): 5 pixels of space, the label, then M + 2 − its advance of space. That’s the same advance, so the label sits in the plate’s middle.
      3. The name in its own display, raised 13 pixels (2 + the plate’s ascent + 1 pixel gap), so its shadow ends 2 pixels above the plate. With no plate it sits at the foot.
  • Without the pack: the name, then “[NPC]” (its label) in labelColor.
  • The pack has the font whenever the map has an NPC with a role.

Combat stats

On items (in stats, as { "stat": …, "amount": …, "op": "add" }) and on mob types (in stats, by name). They add up across everything a player wears and holds, their set bonuses and gems.

stat unit what
crit_chance % Chance a hit is a critical hit.
crit_damage % How much more a critical hit does (50% for everyone, plus this).
dodge % Chance an incoming hit misses entirely (“Dodged”).
block % Chance an incoming hit is halved (“Blocked”); no shield needed.
shield_power % A raised shield also takes this much off the hits it doesn’t stop fully.
shield_recovery % A shield disabled by an axe is ready again this much sooner.
fire_damage, frost_damage, poison_damage points Extra damage of that element on every hit.
fire_resist, frost_resist, poison_resist % Less of that element’s damage, and a shorter effect.
spell_power % More damage and healing from abilities’ actions (harm, heal, projectile, burst).
cooldown_reduction % Shorter ability cooldowns (at most 50%).

Elements’ effects (resistance shortens each, as it cuts the damage):

  • Fire: burns for 3 seconds.
  • Frost: Slowness II for 2 seconds. Three frost hits within 4 seconds freeze the target for 1.5 seconds.
  • Poison: a quarter of the hit again each second for 3 seconds.

Damage numbers: each hit’s damage floats up over what was hit, shown only to the player who hit it. They’re white, gold and bigger for a critical hit, then orange, blue or green for fire, frost or poison, or read “Dodged” or “Blocked”. settings.numbers: false turns them off.

The Stats page: the journal’s Stats page (and /stats) adds up the player’s stats: everything worn and held, set bonuses and effects.

Drops: a mob’s loot drops on the ground for 30 seconds only its killer can pick up; then anyone can. In a dungeon run, plain vanilla mobs still drop nothing, but mob types drop their loot, drops and xp.

Loot boxes

"lootboxes": [{
"id": "lootbox-1", "name": "Elite chest",
"pos": [12, 64, -8], // the block that's the box: any block (a chest, an ender chest, a shrine)
"respawn": 30, // minutes until it's back after it's opened; 0: never
"prizes": [{ "item": "vf:item-1", "count": 1, "weight": 5, "rarity": "legendary" },
{ "item": "diamond", "count": 3, "weight": 40, "rarity": "rare" }]
}]
  • Opening it: the first player to right-click the box gets the roll, in a chest window. No key is needed.
    • The prizes scroll past along the middle row, each in its rarity’s colour, quick at first and then slowing a tick at a time.
    • They stop on the prize, picked by weight (its chance is its weight ÷ all the weights).
    • A moment later the window closes and the prize goes into the player’s inventory (at their feet if it’s full).
    • There’s no announcement: a click per step, and a small sound to the opener alone.
  • Then it’s gone: the block vanishes with a puff of particles and a sound, leaving air, for everyone. After respawn minutes it comes back the same way (0: it doesn’t come back).
  • In a dungeon run, it’s there at the start of each run and can be opened once in that run.
  • Protected: a box’s block can’t be broken or blown up while it’s there, and a chest used as a box never opens as a chest.
  • Before the roll, a player sneaking and right-clicking sees its prizes and their chances (read-only), without opening it.
  • In maps and dungeons (dungeon.json version 3).
  • Crates (milestone 9): a box with "crateKey": "vf:item-7" (an item id; null or left out: none) is a crate.
    • It needs a key: each roll takes one from the opener’s inventory, and without one it says “Needs a ” above the hotbar.
    • It doesn’t vanish and has no respawn: anyone with a key can open it again straight away.
    • Keys are ordinary items: quest rewards, merchants’ goods, loot, or /vfa give from a vote or store plugin.
    • The editor’s Make its key adds a named key as a map item (“Token crate key”: a tripwire hook wearing the Library’s Iron key look, with a shine and “Opens the Token crate.”) and sets it as the crate’s key.

Looks and effects

Each box can also have looks, every part switched on or off by itself, and block: its block as the editor had it. A box without looks (a file from before them) behaves as above. There’s no version bump: an older plugin ignores the looks and rolls as before.

"lootboxes": [{
…,
"block": "minecraft:chest[facing=north,type=single,waterlogged=false]",
"looks": {
"text": { "on": true, "lines": [":key: {crate}", "Right-click with a {key}"], "gone": "Back in {time}" },
"particles": { "on": true, "kind": "sparkle" }, // sparkle, enchant, flame, soul, heart, portal, glow, snow, cherry, totem
"burst": { "on": true, "sound": null }, // a sound of its own ("minecraft:…", or a map's upload); null: the rarity's
"reveal": "both", // roll (the window), rise (the prize rises out of the box) or both
"shout": { "on": true, "rarities": ["epic", "legendary"], "text": ":star: {player} won {prize} from the {crate}!" },
"chat": { "on": true, "text": "{player} won {prize} from the {crate}!" },
"model": {
"id": "c0ffee00-…", // one of boxModels
"idle": "animation.crate.idle", "open": "animation.crate.open",
"vanish": "animation.crate.vanish", "back": "animation.crate.return", // null: none
"size": 1, "facing": "south", "raise": 0, // facing: where its front (Blockbench's north side) faces
"showBlock": false, // false: its block turns invisible (a barrier)
"bedrock": "box_1hez18ttv0r4r" // its Bedrock entity's key (bedrock.json's entities)
}
}
}],
"boxModels": {
"c0ffee00-…": {
"bones": ["voxelforge:box/c0ffee00-…/0", …], // each bone's item model, in the map's pack
"size": [0.875, 0.75, 0.75], // width, height, depth in blocks at size 1
"step": 2, // ticks between frames
"rest": [[ /* 12 numbers */ ], …], // each bone's transformation standing still
"animations": {
"animation.crate.idle": { "loop": "loop", "length": 2, "frames": [[[…], null, …], …] }
}
}
}
  • Floating text over the box: lines while it’s there, and for an elite box that’s gone and coming back, its first line and gone instead.
    • {crate} is its name, {key} its key’s, {time} the wait (“12:30”, “1:05:00”). “a {key}” becomes “an {key}” before a vowel.
    • Text icons work (“:key:”), shown to each player as their game can (with the pack, its stand-ins without it, Bedrock’s glyphs), as holograms’ are. The first line is gold.
    • It floats over the block or the model, and is gone once a box won’t come back (respawn 0, or in a run).
  • Idle particles of kind drift around it while it waits, when someone is within 24 blocks.
  • Opening burst and sound, as the prize shows: bigger for rarer prizes. A puff and a chime for common; sparks for rare; a firework for epic; fireworks, totem sparks and a fanfare for legendary. The fireworks hurt nobody. sound replaces the sound.
  • reveal: roll is the chest window above. rise: the prize rises out of the box, spinning and glowing in its rarity’s colour with its name over it, hangs a moment, then flies into the player’s inventory. both: the roll, then the rise. Bedrock players (whose Geyser shows no item displays) see a floating item instead.
  • Rare-win shout: a prize of one of rarities sends a beam of light up from the box in its colour for 4 seconds, and text to everyone on the server (and the server’s log). It replaces the chat line.
  • Chat line: text to players within 32 blocks on every open.
    • {player} is who opened it, {prize} what they won (“3 Diamonds”, “an Iron sword”, in its rarity’s colour), {crate} the box’s name.
  • An elite box with looks stays while its prize is shown (nobody else can open it meanwhile), then goes once the prize is given.
  • The model: one of the creator’s Blockbench models, which the plugin plays itself (no ModelEngine).
    • Java: each of the model’s groups (bones) with cubes is an item model of its own in the map’s pack, shown by an item display. The editor works out every bone’s transformation (a 3 × 4 matrix, column by column) for each frame, step ticks apart, of each animation a box uses; null is a bone that hasn’t moved since the frame before. The plugin sets them in turn with the game’s interpolation between. The box’s size, facing and raise go on top.
    • Slots: idle loops while it waits; open plays as it’s opened and holds its end while the prize is shown; then a crate goes back to idle, and an elite box plays vanish and goes. When it’s back, back plays, then idle. A slot with no animation is skipped (idle stands still).
    • Clicks: an invisible click box the model’s size opens it as its block does. Unless showBlock, the block itself turns into a barrier: still there to click and stand on, and protected as ever.
    • Players without the pack see block in its place; the model’s displays are only shown to players with it.
    • Bedrock: the model is a custom entity in the map’s Bedrock pack (one per model and set of slots), with its own bones and the slots’ animations as Bedrock animations (Blockbench’s keyframes, Molang and all), switched by an animation controller on its voxelforge:anim property (0 idle, 1 open, 2 vanish, 3 back). bedrock.json lists it with "anim": true. A hidden display whose custom_model_data names bedrock stands for it; Geyser shows the entity in its place, as for other displays.
    • Keyframes’ Molang (math.sin(q.anim_time * 180)) is worked out for Java’s frames: numbers, math’s functions, q.anim_time; other variables count as 0. Catmull-Rom and step keyframes follow Blockbench.

Thrown items

"items": [{ …, "thrown": true, "abilities": [{ "when": "lands", "then": [{ "do": "burst", … }] }] }]

A thrown item is thrown with a right-click, like a splash potion, and one is used up. It flies as a snowball showing the item. Thrown items are a map’s (dungeons have no items of their own). Its lands abilities run where it lands (the spot), with the thrower as the player, and the mob or player it hit, if any, as the target.

Cooldown counter

"items": [{ …, "counter": { "model": "voxelforge:cooldown/vf_test_vale/item-3", "ability": "ability-1" } }] // or null

While a right-click ability cools down, its item shows the game’s grey sweep over its icon and the seconds left on it, in the hotbar and the inventory (not in the hand).

  • Which items: the editor writes counter for an item with a use or useSneaking ability whose cooldown is above 0. ability is the one that shows (the longest, when there are two); the others cool down quietly. Items with a right-click of their own get none, so it keeps working: thrown items and food, shields, bows, crossbows, tridents, potions, buckets, armor and the like. So do items whose look the game draws in a special way (only flat item icons and Library looks have one).
  • On the item: item_model is counter.model (it shows the item’s own look, or its Library look, with the number over it), and use_cooldown is { "seconds": 0.05, "cooldown_group": counter.model }.
  • The player’s cooldown: the plugin works out each player’s cooldown for the ability (cooldown less their cooldown_reduction, at most 50%), rounded to the half second under 10 s (at least 0.5 s), to the second under 100 s, to 10 s under 10 minutes, and to the minute above. That is the cooldown the ability really has, and the plugin writes it into the item’s custom_model_data floats[0]. It writes it when the item comes into the player’s inventory and again when their cooldown reduction changes, not when the ability is used, so the item doesn’t bob in the hand.
  • When the ability runs, the plugin starts the group’s cooldown for that many ticks (Player#setCooldown(Key, int)). The game then draws the sweep and counts down by itself.
  • The number: whole seconds up to 99, then minutes (“2m”), in white with a dark outline in the middle of the icon. The pack picks it from floats[0] and how much of the cooldown is left. With no floats[0], it counts the ability’s own cooldown.
  • The other abilities keep the “Frost nova: 3 s” message above the hotbar.
  • While the group cools down, the game itself stops the item’s right-click, so an item’s other right-click ability (plain or sneaking) waits until the counted cooldown ends too.

Rules: what version 4 adds

Action do fields does
burst radius, damage, element, effect ({ "id", "level" } or null), seconds, players Around the spot (where a thrown item landed, the mob for a mob’s ability, else the player): damage of element and effect for seconds on every mob within radius, and players too with players. From a mob’s ability or a boss phase it hits players within radius instead, never mobs.

The companions list gains mythicmobs (kill objectives count its mobs) and modelengine (mobs can wear its models).

Version 5: navigation (milestone 7b)

"version": 5 adds waypoints on quest objectives, a “go to coordinates” objective, and two per-map helpers: coordinates in the top-right corner and a minimap in the off hand. A version 4 file has none of them; its objectives show no waypoints.

Waypoints

Each objective has "waypoint": true (false to hide it). While a player is tracking a quest, each unfinished objective of its current step that has a place shows a waypoint to that player only:

  • The marker: a gold map pin with the distance under it (“120 m”), in gold with a shadow and no background, seen through walls (a see-through text display). Within 20 blocks the objective’s words come too (“The mill · 12 m”).
    • It floats 3 blocks over an NPC, 1.5 over a place. Farther than 48 blocks away, it floats 24 blocks from the player in the place’s direction instead, so it’s always in view.
    • It grows with distance, so it reads about like a name tag 8 blocks away.
    • It updates four times a second, eased over 5 ticks.
    • The pin is in the map’s pack whenever an objective shows a waypoint: font voxelforge:waypoint, U+E400, 13 × 17 with ascent 15.
  • Where it points, by objective:
do the place
talk, deliver, follow, defend, fight The NPC, wherever it is.
reach, capture, sabotage, escort The area’s middle (for escort, where the NPC is taken).
kill, useItem The area’s middle when they have one; none otherwise.
explore The nearest of its areas not yet found.
use The switch’s block.
gather The middle of the nearest resource node that’s up and still has a block of that kind, when the map has one.
collect The nearest resource node that’s up and can give the item (its drops, table or bonus); else the nearest fishing spot whose catches (table or rare) include it, an active one before a resting one; else none.
dungeon The entrance’s area; for an entrance without one, the enter area of a rule that sends players into it (a dungeon action), such as a key-checked way in.
goto The point.
craft, puzzle, signal None.
  • Players turn all their waypoints off and on again with /waypoints, or from the journal (its buttons before Stats). It’s kept per player.

Handing a quest in

A quest’s done is what the NPC says when the player finishes the quest with it: a click on the NPC that completes the last step (its talk or deliver objectives). That conversation opens on the hand-in instead of the NPC’s usual opening, with no quest offers or Smith menu on its pages. It’s two pages, then the conversation ends:

  1. The NPC says done (“Well done, and thank you!” when it’s null or empty).
  2. “Quest complete: The quiet mill. You get 15 × Doubloon and a Boarding Axe.” The list is made from the rewards’ give actions (the map’s item names, “N × name”); items a rule gives aren’t listed. With no give rewards it’s just “Quest complete: The quiet mill.”

Every quest that completes with give rewards, wherever it finishes, also sends that “Quest complete… You get…” line to the player’s chat.

Going to coordinates

{ "do": "goto", "pos": [120, 64, -30], "radius": 5, "label": "", "waypoint": true }

Done when the player is within radius blocks of pos, in the map’s world coordinates. An empty label reads “Go to 120, 64, -30”.

The coordinates corner and the minimap

"settings": { …, "hud": { "coords": false, "minimap": false } }
  • coords: the player’s X, Y and Z and the way they face (“X 120 Y 64 Z -30 NE”) in the top-right corner, kept up to date. Players hide or show it with /coords or from the journal.

    • How it’s drawn: the plugin gives each player a white boss bar named with their coordinates, in #FEFEFD with the shadow #3E3E3D, padded on the right in font voxelforge:hud (its spaces) by the text’s own width, so the name ends in the middle of the screen.
    • The map’s pack has a core shader (assets/minecraft/shaders/core/text.vsh, 26.3’s own with one block added) that moves text in those two colours near the top right by half the screen less 4 pixels. That puts it in the top-right corner at any width.
    • The pack also makes the white boss bar’s sprites transparent, and carries the voxelforge:hud font.
    • Clashes:
      • another pack’s core/text.vsh (ItemsAdder, Oraxen and Nexo can ship one) replaces this one, or is replaced by it, whichever wins the merge;
      • white boss bars show no bar on these maps, so bosses shouldn’t use white when coords is on;
      • status-effect icons share the top-right corner.
  • minimap: every player gets a map in their off hand on joining. It can’t be dropped, put in a container or an item frame, or moved by hoppers. The plugin draws it live: 128 × 128 blocks round the player, one block a pixel, with the player’s arrow in the middle.

    • Marks (map banners):
      • NPCs with a role, in green;
      • quest givers with a ! or ? for the player, in lime with that as their caption;
      • dungeon entrances, in purple;
      • the player’s waypoints, in yellow, pinned to the edge when they’re off the map.
    • The ground: blocks’ own map colours, shaded by height to the north, from loaded chunks only, each read again after 30 s.
    • Each player keeps one map (its id is in their player save). It’s taken away while they’re out of the map’s world (a dungeon run too) and given back on their return.

    /minimap (or the journal) puts it away and gives it back; it’s kept per player.

Item sounds

"items": [{ …, "abilities": [{ …, "sound": { "id": "minecraft:entity.evoker.cast_spell", "volume": 1, "pitch": 1, "vary": 0.1 } }] }] // or null

An ability’s sound plays each time the ability fires (its actions run): at the player using the item, or where a thrown item landed for a lands ability. It’s played into the world (the players category), so players nearby hear it too, fading with distance as the game’s own sounds do; volume above 1 carries it further.

  • id: a namespaced sound event: the game’s own (minecraft:…), or one of the map’s uploaded sounds (voxelforge:<map>.<sound id>, below).
  • pitch (0.5 to 2) is varied each time by up to vary either way (0 to 0.5; 0.1 is ±10%), so repeated casts don’t sound alike.
  • Uploaded sounds go in the world’s resource pack: assets/voxelforge/sounds/<map>/<sound id>.ogg (Ogg Vorbis, mono for positional sound), each an event in assets/voxelforge/sounds.json named <map>.<sound id>. <map> is the map’s datapack namespace (vf_saltreach_cove).
  • The sound action (rules) takes the same ids, so a rule can play an uploaded sound too.

Bedrock players (milestone 8)

Bedrock players join a Java server through Geyser and Floodgate. With both installed alongside the plugin, they see the map’s own looks: items and gear (3D held items and worn armor), and the models and blocks displays show, mob looks and bosses included. NPCs wearing an uploaded skin wear it on Bedrock too. Nothing here changes the adventure.json version: a map without these files plays as before, with Bedrock players seeing the base items and plain mobs underneath.

What the download adds

  • voxelforge/bedrock.mcpack: a Bedrock resource pack the editor makes from the map’s looks. It holds item icons (3D items get a picture drawn as Java’s inventory shows them), attachables for held 3D items and worn armor, and one entity per model or block that displays show. Its uuid comes from the map’s name, so a new download replaces the old pack. Its version comes from its content.
  • voxelforge/bedrock.json: what’s in the pack, for the plugin:
{
"format": "voxelforge-bedrock",
"version": 1,
"pack": { "uuid": "909ecba8-…", "version": [1, 12402, 17086] },
// Geyser's own custom item mappings (format 2), keyed by the Java base item.
"items": { "format_version": 2, "items": { "minecraft:iron_axe": [{
"type": "definition",
"model": "voxelforge:gear-ab12", // the Java item_model it matches
"bedrock_identifier": "voxelforge:gear_ab12",
"display_name": "Bearded axe",
"bedrock_options": { "icon": "voxelforge.gear_ab12", "allow_offhand": true, "display_handheld": true }
}] } },
// The entities displays become: a Library model or a block state.
"entities": [{ "id": "voxelforge:model_frost_troll", "model": "frost-troll" }, { "id": "voxelforge:block_6cx83p", "block": "minecraft:blue_ice" }],
// The entity properties that place each one (below).
"properties": { "translation": ["voxelforge:tx", "voxelforge:ty", "voxelforge:tz"], "rotation": ["voxelforge:rx", "voxelforge:ry", "voxelforge:rz"], "scale": ["voxelforge:sx", "voxelforge:sy", "voxelforge:sz"], "hurt": "voxelforge:hurt" }
}

A dungeon’s .vfdungeon carries the same two files (as bedrock.mcpack and bedrock.json) for its displays and mob looks.

Items gain two optional fields, so Java and Bedrock match the same model:

"items": [{ …, "model": "voxelforge:gear-ab12_chest", "equipment": "voxelforge:gear-ab12" }]
  • model: the item’s item_model. It’s the cooldown counter’s model when the item has one, voxelforge:<gear> for a Library look, and voxelforge:<gear>_<slot> for one piece of an armor set (the set’s icon for that slot, in the world’s resources.zip). It’s null when the item keeps its base’s look.
  • equipment: for an armor set worn in an armor slot, the equippable asset (voxelforge:<gear>), so Java players see it worn as well.
  • wornModel (only written when true; no version bump): a Library 3D look worn on the head as its model, such as a helm. It’s set when the look’s model has a head display of its own (Blockbench’s display.head) and the item’s base is a helmet or a carved pumpkin (not a skull, which the game always draws as a skull). The plugin gives the stack the base’s own equippable without its asset_id, so it keeps the base’s slot, sounds and armor, and Java draws its item model on the head with the model’s head display. Players without VF’s pack see the base (a netherite helmet), and plugins that don’t read the field wear it as the base too. On Bedrock its attachable shows it on the head (hidden in first person).

What the plugin does

At start the plugin finds every Bedrock pack: voxelforge/bedrock.* in each world folder of the server, and inside each .vfdungeon (the maps’, the plugin’s dungeons/ and its download cache). Packs with the same uuid are counted once. Then, through Geyser’s API:

  • It registers each item mapping and each display entity, with its properties, as Geyser starts. The log says “Bedrock looks for Geyser: N packs, N item looks, N display models”.
  • It sends every pack to each Bedrock player as they join.
  • As Geyser shows a VoxelForge display to a Bedrock player, the plugin swaps it for its entity and places it. The display’s translation, turn (Euler angles of its left and right rotations, in degrees) and size go in the properties, the same numbers Java uses. A display riding a mob (a mob’s look) sits at the mob’s seat. It’s placed again whenever it moves.
  • A hit on a mob flashes its look red for Bedrock players, as on Java.
  • An NPC wearing an uploaded skin from the world’s resources.zip gets that skin (slim or wide arms) for Bedrock players.

Geyser’s entity API is marked experimental. The plugin is written against Geyser 2.12. Without Geyser, or with an older one, the log says so and everything else runs as before.

Text instead of Java-only looks

Some of the map’s looks are drawn by Java’s resource pack and can’t be shown on Bedrock. Bedrock players get these instead:

  • Conversations, the journal, the Smith, merchants: Floodgate forms (version 3; merchants from version 6).
  • NPC name tags and health bars: plain text tags.
  • Waypoints: a plain ▼ arrow over the objective, with its distance.
  • The coordinates corner: not shown. Bedrock’s own coordinates do the same job; Geyser shows them when its show-coordinates option is on (the default).

ModelEngine models aren’t covered. They need ModelEngine’s own Bedrock add-on.

Server setup

Install Geyser-Spigot and Floodgate (Paper builds) next to the plugin, with Geyser’s auth-type: floodgate. Bedrock clients need NetherNet from 2026-10-27. Set Geyser’s transport: both and a webrtc-port, and open these ports to players:

  • UDP on the Bedrock port (19132 by default);
  • TCP on the Bedrock port, for signaling;
  • UDP on the webrtc-port.

Version 6: merchants and money

"version": 6 adds merchants (NPCs who buy and sell through a chest-menu shop), the map’s money, and a money condition and action. A version 5 file has no merchants, and its money is emeralds.

Money

"settings": { …, "currency": { "kind": "item", "item": "vf:item-12" } }
  • kind: "item": prices are counts of item (a map item or a vanilla id) in the player’s inventory. Paying takes them from anywhere in it; being paid gives them, and what doesn’t fit drops at the player’s feet.
  • kind: "vault": the server’s own money, through Vault and an economy plugin (companion vault), shown in the economy’s own format (“$40.00”). On a server without an economy the same numbers are paid in item instead, and the load report says so.
  • Prices are whole numbers.
  • The map’s money is what merchants without their own charge and pay, and what the money condition and action count. New maps start on emeralds.

Merchants

// on an NPC; null: not a merchant
"merchant": {
"goods": [
{ "id": "good-1", "item": "vf:item-4", "count": 1, "price": 40, "stock": 2, "restock": 60 },
{ "id": "good-2", "item": "arrow", "count": 16, "price": 3, "stock": null, "restock": 0 }
],
"buys": [{ "item": "vf:item-9", "count": 1, "price": 2 }, { "item": "cod", "count": 4, "price": 1 }],
"rarity": { "common": 1, "rare": 8, "legendary": 50 }, // a rarity left out: not bought
"currency": null, // his own money, as settings.currency; null: the map's
"confirm": 100 // buys costing this much or more ask first; 0: none do
}
  • Opening the shop: a merchant offers “Trade” as a choice on its conversation’s first line, as a Smith offers “Smith”. With nothing to say it opens the shop straight away; an NPC that’s a Smith too then gets a line of its own (“…”) offering both.
  • Goods: count items for price.
    • stock: how many times each player can buy it; null for no limit.
    • A player’s stock comes back whole restock minutes after their first buy since it was last full; 0 never (a one-off). It’s real time, so it runs while the server is off. Stock is kept in each player’s save, by the good’s id.
  • Buys: he pays price for every count of item. Any other of the map’s items not on the list sells by its rarity: rarity is what he pays for one. Soulbound items never sell, listed or not. Items match as the has condition matches them (a map item by its id, whatever its tier and gems; he pays no more for those).
  • The name tag: the editor gives a new merchant the plate word “Merchant” (its label) unless it has one of its own.

The shop menu

A 6-row chest named “Shop · ”:

  • Rows 1–4: his goods, 36 a page. Each shows the item as it comes, its lore, then a line, the price (red when the player can’t pay it), the stock (“2 left”, or “Sold out · back in 12 min” in red), and “Click: buy 1 · Shift-click: buy a stack”.
  • Row 5: a divider of glass panes.
  • Row 6: ◀ (the page before, when there is one), “What I buy” (a book: a read-only page of his buy list and rarity prices, with Back), the player’s money (“You have 42 Silver”), “Buy back”, and ▶.
  • Buying: a click buys one lot. Shift-click buys as many lots as make a stack of the item (at least one), as far as stock, money and room allow. A buy that would cost confirm or more opens a confirm page first: the item, the total, Confirm and Cancel.
  • Selling: in the player’s own inventory below, a click on an item he buys sells one lot, and shift-click sells every whole lot in that stack. What he doesn’t buy does nothing (“He doesn’t buy that”). Above the hotbar it says what sold for how much.
  • Buy back: the player’s last 5 sales to this merchant, newest first, each for what he paid. They’re kept until the server restarts.

Bedrock players (Floodgate) get forms instead:

  1. Buy, Sell, What I buy and Buy back (when there’s something), with their money in the text.
  2. Buy: a button per good (“Black metal axe · 40 Silver · 2 left”), then a form with a How many slider (1 to as many as they can buy now) and the total. A total of confirm or more asks once more.
  3. Sell: a button per stack of theirs he buys (“Arctic char ×5 · 2 Silver each”), then a How many slider.
  4. What I buy: the list as text. Buy back: a button per sale.

Rules: what version 6 adds

Condition is fields holds when
money op, value The player’s money, in the map’s money, compares with value by op.
Action do fields does
money amount Gives the player amount of the map’s money, or takes it below 0 (never more than they have).

Both are maps only. The companions list gains vault (Vault and an economy plugin: merchants and the money pieces can use the server’s money). Also:

placeholder value
%vf_money% The player’s money in the map’s money, as a whole number (“42”).
command does
/vfa money <player> <amount> Gives the map’s money (or takes it, below 0).
/vfa shop <player> <npc> Opens a merchant’s shop for the player (its NPC id).

Version 7: classes, characters and levels (milestone 9)

"version": 7 adds classes, character slots and levels. A map can have classes for players to pick (in a class picker drawn with the map’s pack), give each player several characters, and raise a level from XP on the experience bar. A version 6 file has none of them and plays as before.

Classes

"classes": [{
"id": "class-1", "name": "Warrior",
"summary": "Holds the front line and shrugs off blows.", // on the picker's card
"color": "#d04a3a", // the class name's colour on the card, in chat and on the tab list
"icon": "vf:item-2", // the weapon on the card and the character screen (a map item or vanilla id)
"picture": true, // the picker's font has its picture: its upload, else its weapon drawn large
"ratings": { "damage": 4, "defence": 5, "range": 1, "ease": 4 }, // the card's bars, 1 to 5
"stats": [{ "stat": "max_health", "amount": 6, "op": "add" }], // while it's the character's class
"perLevel": [{ "stat": "attack_damage", "amount": 0.2, "op": "add" }], // more for each level after 1
"kit": [{ "item": "vf:item-2", "count": 1 }] // given once, when a character first takes it
}]
  • Stats: a class’s stats count while it’s the character’s class, as an item’s would anywhere in the inventory (attributes, mana and combat stats). perLevel adds the same again for each level after 1, on top of the map’s own levels.perLevel.
  • Kit: given the first time a character takes the class (at its feet when the inventory is full). Taking the class again later gives nothing.
  • Class-only items: an item’s classes (below) lists who can use it.
  • Rewards per class: a quest’s classRewards (below).
  • Its abilities: the picker’s card lists the abilities of the items in its kit and of the items only it can use.

Class resources

// on a class; null or left out: the map's mana
"resource": {
"kind": "rage", // "mana", "rage", "energy" or "focus"
"name": "Fury", // what it's called in game ("Rage" by default)
"color": "#d23a2e", // the HUD bar and its line above the hotbar
"max": 100, // not for mana, which is settings.mana's
"regen": 0, // a second: energy 10, focus 5 by default
"dealt": 1, "taken": 2, // rage: gained for each point of damage dealt, and taken
"calm": 5, "fade": 5 // rage: after 5 s out of a fight it fades by 5 a second
}

A class can spend its own resource instead of the map’s mana, WoW-style.

  • The kinds:
    • Mana: the map’s (settings.mana, plus items’ max_mana and mana_regen), under the class’s own name and colour.
    • Rage: empty at the start (and on every arrival; it isn’t saved). It fills as the character deals and takes damage, on the map and in its dungeon runs, and nothing brings it back by itself. After calm seconds without a hit dealt or taken, it fades by fade a second.
    • Energy and focus: a full pool that comes back by regen each second. Bow shots cost nothing.
  • One bar: talents and item abilities take their mana cost from the class’s resource, so a Warrior pays 10 Rage for a “10 mana” ability. The mana action, /vfa mana and %vf_mana% work on it too, and %vf_resource% is its name (“Mana” without one).
  • Items’ max_mana and mana_regen only count for classes on mana.
  • Words: costs read in the resource’s name: “15 Rage” on talents and the picker’s card, and on an item’s abilities when every class that can use it spends the same resource (“mana” otherwise). Messages say “Not enough Rage”.
  • The HUD: the drawn mana plate takes the resource’s colour, with its icon in the gem’s place (a flame, a bolt or an arrowhead, voxelforge:hudbars U+E00D–E00F). Without the drawn HUD, the line above the hotbar reads “Rage 40/100” in its colour (rage shows while it isn’t empty). Party frames keep their blue bar, with the resource’s numbers.
  • Older plugins don’t read resource: their classes spend mana.

Items: what version 7 adds

{ "id": "item-2", …, "level": 10, "classes": ["class-1"] }
  • level: the level a player needs to use it; 0: none.
  • classes: the classes that can use it; empty: everyone.
  • Below the level, or of another class:
    • armor can’t be worn (it goes back into the inventory);
    • a weapon or tool in the hand hits for nothing;
    • its abilities don’t run and its stats don’t count.
    • The action bar says why (“Needs level 10”, “Warrior only”).
  • The tooltip gets “Level 10” and “Warrior” lines after the rarity.

Quests: what version 7 adds

"classRewards": [{ "class": "class-1", "then": [{ "do": "give", "stack": { "item": "vf:item-4", "count": 1 }, "to": "player" }] }]

After a quest’s rewards, each rewarded player also gets the rewards for their character’s class, when it has any. Handing the quest in lists them with the rest.

Levels

"settings": { …,
"levels": {
"on": true,
"max": 50, // the top level
"first": 100, // XP from level 1 to level 2
"growth": 10, // each level after needs this many percent more than the one before
"perLevel": [{ "stat": "max_health", "amount": 1, "op": "add" }] // added for each level after 1
}
}
  • XP: going from level L to L + 1 takes first × (1 + growth / 100)^(L − 1), rounded. With the defaults: 100, 110, 121, 133…
  • Where it comes from: experience orbs. Inside the map, every orb a player picks up is map XP instead of vanilla experience. That covers mobs, mob types’ xp, nodes’ xp, smelting and fishing. The xp action gives XP directly.
  • The experience bar shows the map level and how far it is to the next. At the top level it stays full.
  • Vanilla experience isn’t used inside the map:
    • An enchanting table needs the map level for its offers but takes none of it (only the lapis).
    • Anvils take no levels either.
    • Dying keeps the level and drops no orbs.
  • Vanilla’s own progress waits too, on every map (levels or not) and in its dungeon runs: recipes aren’t learned (crafting still works) and vanilla advancements don’t move, so no “New recipes” or “Monster Hunter” toasts or chat lines cover the adventure. Progress made elsewhere on the server is kept, and other plugins’ own advancements still show.
  • Levelling up: a title (“Level 12”), the level-up sound and a chat line. A level rule fires.
  • Most health: when a level, a talent or an item’s stats raise or lower the player’s most health (a set bonus, or armour or a weapon put on, taken off or held), their health keeps its share of it: a full bar stays full, the scaled hearts never dip as gear goes on (the game would show that as a hit), and taking gear off and on again doesn’t heal.
  • In a dungeon run from one of the map’s entrances the character is the same: the bar shows its map level, orbs there are map XP (a mob type’s xp too), dying keeps the level, and its class, level stats and tag go with it. Leaving for the dungeon doesn’t give back the player’s own experience; that waits until they leave the map for somewhere else. The dungeon’s own xp, quest, signal and reputation steps (and the signals its rules send) reach each player in the run (past its lobby) as the map’s own would: map XP, quest steps, the map’s quests’ signal objectives, reputation. A run started from the group finder on the map counts as one from its entrance; other runs have no map to hand them to. The map’s Check counts the signals its entrances’ dungeons send.
  • Names: “[Lv 12 Warrior]” goes before the player’s name in chat and on the tab list. The class is in its colour; without a class it’s just “[Lv 12]”. VoxelForge leaves chat alone when a chat plugin is installed (EssentialsChat, LPC, ChatControl, VentureChat, CarbonChat, HuskChat), and leaves the tab list alone when TAB is. Those plugins can use %vf_level% and %vf_class%.
  • With on: false there are no levels: orbs are vanilla experience, and items’ level is ignored.

Characters

"settings": { …, "characters": { "slots": 3, "locked": 8 } } // slots 1: one character each, and no character screen

locked (version 8): the character select page’s menu shows padlocked slots up to this many, for what a rank would give (0: none; at most 24).

  • Each character has its own:
    • class, level and XP;
    • inventory (armor and off hand too), health and hunger;
    • quests, variables, respawn points and merchants’ stock;
    • money in an item currency, and wallets (see Currencies);
    • the spot it was left at.
  • The ender chest belongs to the player and is shared by all their characters, so it works as their bank.
  • Vault money is the player’s, not the character’s. The economy plugin (EssentialsX and the like) keeps one balance per player, so a map whose money is vault shares it between all their characters, and with the rest of the server. For money each character earns on its own, use a wallet currency.
  • Slots: each player gets slots. On a map with more than one, a player given the permission voxelforge.characters.<n> (by a permissions plugin; being an operator isn’t enough) gets n when that’s more, up to 28, so a rank can give more slots.
  • The character screen (/class) is a chest menu. It has a card per character (its class’s icon, “Warrior · Level 12”, quests done, last played) and a “New character” card per empty slot.
    • Click a character to play it. The one being played is marked.
    • A new character starts at the map’s spawn with an empty inventory, and arrives as a new player does (the class picker, start rules).
    • Shift-right-click deletes a character, after a confirm page that names it. The one being played can’t be deleted.
    • The screen doesn’t open inside a dungeon run, or within 10 seconds of being hurt.
  • Switching: the character being played is saved (inventory, health, where it stands), the inventory is emptied, and the other character is loaded where it was left.
  • Where it’s kept, in the map’s data folder:
    • players/<uuid>.json is the first character (a save from before version 7 becomes it);
    • players/<uuid>.<n>.json are the others;
    • players/<uuid>.characters.json says which is being played and holds the stored inventories.
  • Back on the map, a player is in the character they last played.
  • Parties are made of players, not characters: switching keeps the party.
  • With slots: 1 there’s no character screen. /class opens the class picker while the player has no class, and otherwise says their class and level.

The class picker

"settings": { …, "classPicker": { "onArrival": true, "drawn": true } } // drawn: the pack has the picker's font
  • When it opens:
    • the first time a character arrives on a map with classes. With onArrival false it doesn’t: a map that picks the class in a conversation opens it from an answer instead;
    • from a class action;
    • at a Trainer.
  • The screen is a 6-row chest drawn over with the map pack’s voxelforge:classes font. It shows one class at a time:
    • the class’s name along the top, with ◀ and ▶ for the classes either side;
    • its picture, or its weapon drawn large, on the left;
    • its summary and four bars (Damage, Defence, Range, Ease), 1 to 5;
    • a row of its abilities. Hover one for its name, how it’s set off, its mana and cooldown, and the item it’s on;
    • “Pick”, or “Your class” on the one that’s already theirs.
    • Hovering the picture shows the whole summary, the class’s stats and its kit.
  • Picking sets the character’s class, gives its kit (the first time), and fires the class rule. Closing the picker without picking leaves them without a class, and the chat says how to open it again.
  • Without the pack (no voxelforge:classes font, or a Java player who turned the pack down), it’s a plain chest menu: a card per class with everything in its tooltip.
  • Bedrock players get a form: a button per class, then a page with its summary, ratings, stats and abilities as text, and Pick or Back.

Drawing the class picker

The plugin writes the card into the chest’s title, as glyphs of the map pack’s fonts placed with its spaces. The title’s text starts 8 px in and 6 px down from the chest window’s corner. A glyph’s top sits 13 − ascent px below the window’s top. The panel covers the chest’s top part (176 × 125, down to where the player’s inventory starts), so the lower half is the game’s own.

voxelforge:classes:

code point what size top
U+E000 the panel: the window’s edge, a dark band across the top row, the picture’s well (rows 1–4, columns 0–3), wells for 6 abilities along the bottom row 176 × 125 0
U+E001, U+E002 ◀ and ▶, over slots 0 and 8 16 × 16 18
U+E003, U+E004 the button over slots 52 and 53: green (Pick), grey (Yours) 36 × 16 108
U+E005 the character menu’s panel (version 8): the window’s edge, a slot well for each square of the grid (columns 0–3, rows 0–5), and a dark box for the shown character (x 83, y 17, 86 × 88) 176 × 125 0
U+E006 the red button (Delete), over slots 50 and 51 at x 97; Back is U+E004 at x 133 36 × 16 108
U+E020 + r a character’s square in grid row r (0–5), white: the plugin colours it with the class’s 16 × 16 18 + 18r
U+E028 + r a free slot’s green + in grid row r 16 × 16 18 + 18r
U+E030 + r a locked slot’s padlock in grid row r 16 × 16 18 + 18r
U+E010 + 2b, U+E011 + 2b bar b’s (0–3) pip, on and off 7 × 7 the bar’s row + 1
U+E100 + i class i’s picture, at x 11 64 × 64 39
U+E200 + i race i’s picture (version 8), the same way 64 × 64 39
U+F801… / U+F821… spaces of −1, −2, −4 … −256 and +1 … +256 px

The pictures are each class’s upload, or its weapon: a Library gear’s picture, or a vanilla item’s own texture from the player’s game, scaled by the font. The plugin writes the picture last, so its width doesn’t matter.

voxelforge:classes_row_1 … _10 are the game’s font, lowered so a row’s text tops sit at 5 (the heading), 22 (the name), 37, 46 and 55 (the summary), 68, 78, 88 and 98 (the bars: label at x 82, pips from x 130, 8 px apart), and 112 (the button’s word). Every other piece of the panel has its last column filled, so its width is its image’s plus one.

The chest’s slots over the panel hold items with the item model voxelforge:blank (the pack’s items/blank.json, an empty model), so the art shows through them while their tooltips still work.

Talent trees

"settings": { …, "talents": { "on": true, "icons": true } }, // icons: written by the editor, the pack has the combo's click icons
"classes": [{ …, "tree": [{
"id": "talent-1", "name": "Bash", "summary": "A heavy blow at everything in front of you.",
"icon": "iron_axe",
"x": 4, "y": 0, // its place: a column 0–8 and a row from the top
"level": 1, // the level it unlocks at
"after": [], // one of these taken first; none: a root
"ranks": 3,
"kind": "active", // active (cast with a combo), passive (stats), upgrade (of an active talent)
// active:
"slot": 1, // its combo: 1 R-L-R, 2 R-R-R, 3 R-L-L, 4 R-R-L
"then": [{ "do": "harm", "amount": 6, "radius": 3, "players": false }],
"mana": 15, "cooldown": 4,
"perRank": 20, // each rank after the first: this many percent stronger
// passive:
"stats": [{ "stat": "max_health", "amount": 2, "op": "add" }], // for each rank
// upgrade:
"of": "talent-1", // the active talent it upgrades
"damage": 15, "faster": 0.5, "cheaper": 2, // for each rank: % stronger, seconds less cooldown, mana less
"adds": [] // run after the talent's own actions
}] }]
  • Talent points: one at level 1 and one more each level (a character’s level is its points). Each rank of a talent costs one.
  • Learning: a talent needs the character’s level to be at least its level, one of the talents in after taken (any rank), a point left, and a rank not yet taken.
  • Per class: what a character has taken is kept for each class, so changing class and back keeps the tree it had. Points are the character’s level less what the current class’s tree has spent.
  • Resetting: a Trainer’s “Reset talents” (for its reset price) gives back every point spent in the character’s current class.
  • The tree (/talents): a 6-row chest. The top five rows show five of the tree’s rows; ▲ and ▼ in the bottom row page up and down, beside the points left. Each talent is its icon, with its name, kind, rank, level, what it does and what it needs in the tooltip:
    • taken talents shimmer;
    • lines between talents are glass panes: green once both ends are taken, yellow from a taken talent, light grey otherwise. Click a talent to take a rank. Bedrock players get forms: a button per talent, then its page with Learn.
  • The class picker has a Talents button showing the class’s tree (read only), and its abilities row adds the tree’s active talents with the level each unlocks at.
  • Stats: passives’ stats, times their rank, count as the class’s own.

Click combos

  • Casting: holding one of the class’s weapons (a map item for the class, or the class’s icon item), three clicks cast the active talent whose slot the combo is: R-L-R 1, R-R-R 2, R-L-L 3, R-R-L 4. With a bow or crossbow, or a weapon with a use or useSneaking ability of its own (a wand’s bolt), L and R swap (L-R-L is 1), so a lone right-click still draws the bow or uses the weapon’s ability; right-clicks in the middle of a combo are the combo’s. A click that goes to a combo doesn’t use the item in either hand. The action bar shows the combo as it’s clicked; a combo stops after a second and a half without a click.
  • How the combo shows: a map with talent trees (or the character select page, version 8, for its controls) has the click icons in its pack (settings.talents.icons), the voxelforge:combo font: a mouse with its left button lit gold (U+E000), one with its right lit (U+E001) and a dim one for a click still to come (U+E002), so R-L-_ is three mice. A player without the pack (or a map exported before them) sees “R - L - _” instead.
  • Clicking a chest, door or the map’s NPC with a class weapon uses it and isn’t a combo’s R (sneaking, a click on a block still counts).
  • An active talent costs its mana (less its upgrades’ cheaper) and cools down for its cooldown (less faster, then the player’s cooldown reduction). Its actions run with its power: the player’s spell power, times 1 + perRank% × (rank − 1), times 1 + damage% of each upgrade, rank for rank. Upgrades’ adds run after.
  • A combo with no talent on it (none taken for that slot) says so above the hotbar.
  • Class weapons’ own right-click abilities don’t run while the character has an active talent: the clicks are the combo’s.

Currencies

"currencies": [{ "id": "currency-1", "name": "Dungeon tokens", "kind": "wallet", "item": "vf:item-9" }],
"settings": { …, "currency": { "kind": "extra", "item": "emerald", "extra": "currency-1" } } // the map's money can be one of them
  • A map’s own currencies, beside its money:
    • wallet: a balance each character keeps. It can’t be dropped, lost or stolen. Its item is its coin: a player who picks one up gets it added to the wallet instead (“+5 Dungeon tokens” above the hotbar).
    • item: counts of item carried in the inventory, as the map’s money item is.
  • Where they’re used: a merchant’s currency or the map’s money can be { "kind": "extra", "extra": "<id>" }, and the money condition and action take "currency": "<id>" (left out: the map’s money).
  • Seeing them: /stats lists the character’s money and every currency; %vf_money_<id>% is one currency’s amount.

Party frames

"settings": { …, "hud": { …, "party": true } }
  • In a party, each player sees the other members on the map (up to four) at the top left:
    • a dark panel with the class’s initial in its colour, the name, and “Lv 12” with levels on;
    • a red health bar and a blue mana bar, each with its numbers.
    • A member more than 64 blocks away, or dead, is grey (“dead” for the health).
  • How they’re drawn: in a white boss bar’s name, with the map pack’s voxelforge:party font. Each member m (0–3) has its own glyphs at U+E000 + 32m: the panel (+0, 104 × 27), the bars’ tracks (+1, +2, 52 × 5) and their fill pieces 1–32 px wide (+3…+8 health, +9…+14 mana). The text rows are voxelforge:party_<m>_name, _health and _mana. Members are 30 px apart; the health bar is 10 px below the name’s top and the mana bar 17.
  • The left edge: the name is padded on the left by its own width, so it starts in the middle of the screen. The pack’s core/text.vsh (the coordinates corner’s, with one more block) moves near-the-top text whose colour channels leave 1, 2 and 1 over four left by half the screen less 4 px. Every colour the frames use is moved a hair to match; no colour Minecraft names does. The white boss bar’s sprites are transparent, as for the coordinates.
  • Bedrock players, and Java players without the map’s pack, get the same in the sidebar under the tracked quest (“♥ 32/40 Lv 12 Warrior Zellio”), refreshed every second.

LuckPerms, AuraSkills and mcMMO

The companions list gains luckperms (LuckPerms) and skills (AuraSkills or mcMMO, whichever is installed). Their rule pieces work in maps and dungeons:

Condition is fields holds when
permission what (permission, group), value The player has the permission, or is in the group (LuckPerms’ group.<name> permission).
skill skill, op, value, missing The player’s level in the skill compares with value. Without AuraSkills or mcMMO it holds when missing.
Action do fields does
permission action (give, take), what, value, minutes, world Gives or takes the group or permission, for minutes (0: for good), and only in the map’s world with world.
skillxp skill, amount Gives XP in the skill.
  • With LuckPerms, permission runs LuckPerms’ own commands from the console (lp user <uuid> parent addtemp vip 60m world=<world> and so on), so grants are kept by LuckPerms.
  • Without it, a permission is given until the player leaves the server, and a group can’t be given or taken: the console says so once.
  • Skills: names are the plugins’ own (mining, fishing…). A few read across so a map works with either: woodcutting is AuraSkills’ foraging, farming is mcMMO’s herbalism, and fighting is mcMMO’s swords.
  • Resource nodes give skill XP as the blocks they’re made of would: ore 10 a block (crystal 15) in mining, trees 8 in woodcutting, herbs 5 in farming. The plugins never see those breaks themselves. Mobs and fishing count by themselves, since they’re the game’s own kills and catches.

Trainers

{ "id": "ent-…", …, "trainer": { "reset": 20 } } // or null
  • With talent trees on, a trainer offers “Reset talents” for reset in the map’s money (0: free), on its conversation’s first line as a merchant offers “Trade”. With nothing to say, it resets them straight away.
  • Since version 8 a character’s class never changes (nor its race): players make a new character to play another. Version 7 trainers also offered “Change class” for a price; that’s gone, and price is ignored.
  • The editor gives a new trainer the plate word “Trainer”.

Rules: what version 7 adds

Trigger on fields when
level level A player reaches the level (any level when 0).
class class A player picks the class (any when “”).
Condition is fields holds when
class class The character’s class is it (“”: they have none yet).
level op, value The character’s level compares with value (always 1 with levels off).
Action do fields does
xp amount Gives map XP (vanilla experience with levels off).
class action (pick, set), class Opens the class picker, or sets the class (with its kit) without opening it. Since version 8 both only work for a character with no class yet.

All of these are maps only.

placeholder value
%vf_class% The character’s class name (“” with none).
%vf_level% The character’s level.
%vf_xp%, %vf_xp_next% Their XP into the level, and the XP the level takes.
%vf_character% Which character they’re playing (1, 2…).
%vf_talent_points% Talent points left (with talent trees on).
command does
/class The character screen (or the class picker; see Characters).
/vfa class <player> <class|pick> Sets the player’s class (by id; an operator’s override, so it can change one), or opens the picker for them.
/vfa xp <player> <amount> Gives map XP.
/vfa level <player> <level> Sets the level (with 0 XP into it).
/talents The player’s talent tree (talent trees on).
/vfa talents <player> reset Gives back the talent points spent in the player’s current class.

Version 8: races and the character select page

"version": 8 adds races and a character select page, and fixes a character’s race and class for good: players make a new character to play another (trainers now only reset talents). A version 7 file has none of them and plays as before, except that its trainers no longer change class.

Races

"races": [{
"id": "race-1", "name": "Elf",
"summary": "Quick and sharp-eyed, at home in the old woods.", // on its card
"color": "#5fa86b", // its name's colour on the card and in the name tag
"icon": "vf:item-7", // on its card when there's no picture
"picture": true, // the picker's font has its picture (U+E200 + its index)
"classes": ["class-2", "class-3"], // the classes it can take; empty: every class
"start": { "pos": [120, 64, -40], "yaw": 180 }, // where its new characters start; null: the map's spawn
"kit": [{ "item": "bread", "count": 8 }], // every new character of the race gets these
"stats": [{ "stat": "movement_speed", "amount": 5, "op": "percent" }],
"effects": [{ "id": "night_vision", "level": 1 }], // always on while it's the character's race
"skin": { "texture": "voxelforge:entity/npc/elf", "model": "slim" }, // null: the player's own
"looks": [{ // the race × class squares with something of their own
"class": "class-2",
"skin": { "name": "Notch", "properties": [{ "name": "textures", "value": "eyJ0…" }] }, // null: the race's
"kit": [{ "item": "vf:item-4", "count": 1 }] // empty: the class's kit
}]
}]
  • Fixed: a race is picked when a character is made, before its class, and never changes. Only the classes in classes can be picked with it.
  • Races never touch talent trees: a character’s tree is its class’s.
  • Starting: a new character arrives at its race’s start (else the map’s spawn) and gets its race’s kit, then its square’s kit, or its class’s kit when the square has none.
  • Stats count as a class’s do, and add to them. Effects are put on with no end while it’s the character’s race (back within a second after milk or death) and come off when the player leaves the map.
  • Skins are mannequin profiles, as NPCs’ are: an upload in the pack (texture), a player’s (name), or an NPC library skin (name and its pinned textures property, which wins). A square’s skin wins over its race’s; with neither, the player’s own. See “Skins in play”.
  • Items: an item’s races (below) lists the races that can use it.
  • Names: “[Lv 12 Elf Warrior]” goes before the player’s name in chat and on the tab list: the race and class in their colours.
  • Characters from before a map had races keep playing with no race.
  • Without the character select page, the class picker shows a race page first (below).

Items and rules: what version 8 adds

{ "id": "item-2", …, "races": ["race-1"] } // empty: every race

An item for other races works as one for another class does (version 7): armor can’t be worn, a weapon hits for nothing, its abilities and stats don’t count, and the action bar says “Elf only”.

Condition is fields holds when
race race The character’s race is it (“”: it has none).

Quests’ requires and conversation lines’ and answers’ conditions take it too, so a quest can be for one race and an NPC can greet an elf its own way.

placeholder value
%vf_race% The character’s race name (“” with none).

Classes: what version 8 adds

"classes": [{ …, "aura": { "particle": "enchant", "count": 3 } }] // or null
  • aura: particles (a game particle id) drifting around the class’s character on the character select page, count each half second.

The character select page

"settings": { …,
"landing": {
"on": true,
"everyJoin": true, // false: only until the player has a character
"camera": { "pos": [10.5, 70.2, -3.5], "yaw": 200, "pitch": 12 }, // where it looks from (blocks, with fractions; down is positive)
"stand": { "pos": [11, 68, 0], "yaw": 0 }, // where the shown character stands (it faces the camera)
"createCamera": null, "createStand": null // a scene of its own for making a character (both or neither)
}
}

A scene the creator builds anywhere in the map. The editor takes the camera from its own view (“Use this view” in Classes → Character select) and the spot from a click in the world.

  • When: a player joining the server onto the map, or coming onto it from elsewhere, lands here: every time, or with everyJoin false only until they have a character. Coming back from a dungeon run doesn’t. /class opens it (not in a fight), putting the character away where it stands.
  • The view: the player watches from the camera in spectator view, locked on an invisible camera entity, so the hotbar, hearts and hunger are gone and the mouse doesn’t turn it. Other players are hidden from them. Their game mode comes back when they leave the page.
  • The shown character stands on stand, facing the camera: a mannequin in its skin (its race × class square’s, its race’s, or the player’s own), wearing its armor and holding what it held, with glints. Now and then it swings its weapon; its class’s aura drifts around it. Beside it a card: race and class in their colours, the level and how far into it, quests done of all, time played, and which of how many; above the card, its class’s weapon turning.
  • Controls (said along the bottom of the screen, with the click icons’ mice for left-click and right-click when the player has the pack, else in words; a map with the page on has the icons in its pack, and settings.talents.icons says so):
    • left-click: play the shown character, back where it was left;
    • right-click: the character menu (below).
  • The character menu (a 6-row chest menu over the scene, drawn with the voxelforge:classes font when the player has the pack, as the class picker is; otherwise a plain chest menu):
    • On the left, a grid of 4 columns and 6 rows: each character as its class’s icon on a square in the class’s colour (the race’s without a class), a green + for each free slot, then a padlock for each slot up to settings.characters.locked (what a rank would give; 0: none). A character’s tooltip has its race and class, level and how far into it, quests done of all, and time played.
    • On the right, the shown character in a dark box, and Delete and Back along the bottom row.
    • Clicking a character shows it on the stage (then left-click in the scene plays it). Clicking + starts making a character in the scene.
    • Delete, then a character, opens a confirm page (Delete / Keep). Deleting the one last played leaves an empty slot. With no characters left, making one starts.
  • Making a character: from the menu’s + (with nothing made yet it starts straight away). Right-click shows the next race and left-click picks it; then the same for the classes that race allows; a last card says race and class stay for good, and left-click makes it. Sneak goes back a step. The shown character wears each choice’s skin and starting gear. With createCamera, this happens in that scene.
  • A new character arrives at its race’s start (else the map’s spawn) as its race and class, with their gear; then start rules fire.
  • How clicks reach the plugin: in spectator view the game turns a left-click on an entity into a request to spectate it, and still sends a right-click on one. The page puts an invisible hit box (an interaction entity) 1.6 blocks in front of the camera, so every click lands on it; the plugin cancels both and acts. Sneak is read from the player’s input; the game’s own ways out of the camera (Sneak, the spectator menu’s teleports) are held off. Everything on the page is seen only by its player.
  • Keeping the camera: the game ignores a camera it doesn’t have yet (on joining, its chunk can come seconds later), so the plugin tells it to watch once the camera has reached the player, and again whenever the game sends a move (watching from a camera it sends none: a move means it let go).
  • The inventory: the game opens a player’s own inventory without asking the server, so it can’t be stopped. While they’re on the page, the character being played has its things put away in its roster entry (its inventory, as the others’ are), so the inventory is empty there; they’re back on leaving.
  • Leaving: logging out on the page puts the player back where their character was, in their own game mode, with their things. While they’re on it that spot and game mode are kept in their roster (away, awayMode), so a server that stops meanwhile still puts them back.
  • Bedrock players stand at the camera spot (they can look about, not walk) with their character in front of them, and choose with forms: play a character, New character (race, class, confirm), or delete one.

The class picker: what version 8 adds

  • A race page first, on a map with races, for a character with no race (and no class): the same card with the race’s name, picture (voxelforge:classes U+E200 + its index), summary, and “Can be:” with the classes it can take where the class page has its bars. Its picture’s tooltip has its stats, effects and gear; the classes it can be sit in the abilities row. Pick takes the race for good and opens the class page.
  • The class page shows only the classes the character’s race allows. A class’s picture is still U+E100 + its index among all the map’s classes.
  • Only for a character still to pick: the picker doesn’t open for one that has its class. Picking says it stays for good.
  • Without the pack it’s a plain chest menu of race cards, then class cards; Bedrock players get forms (races, a race’s page, classes, a class’s page).
  • On a map with one character each, /class shows that character with “Shift-right-click to start again”: after a confirm, the character’s progress and things go, and it arrives as a new one (the picker again).

Skins in play

The companions list gains skinsrestorer (SkinsRestorer).

  • With SkinsRestorer, a character wears its square’s or race’s skin in play, and the player gets their own back when they leave the map (or play a character whose race keeps the player’s own).
  • A worn skin must be signed by Mojang. An upload is read from the world’s resources.zip and sent to MineSkin once (POST https://api.mineskin.org/v2/generate; mineskin-key in the plugin’s config.yml is its API key); an NPC library skin’s texture URL and a player’s name go through SkinsRestorer, which asks MineSkin or Mojang itself. Signed skins are kept in the plugin’s skins.json, so each is signed once. A skin that can’t be signed is said once in the console, and players keep their own skin for it. The game’s own built-in skins (Steve, Alex…) can’t be worn in play.
  • Without SkinsRestorer, players keep their own skin in play; races’ skins show on the character select page only. Bedrock players always keep their own.

Characters: what version 8 adds

  • A slot never played, with no race or class, isn’t a character yet: the character select page doesn’t show it, it doesn’t use up a slot, and switching away from one drops it.
  • A character keeps how long it’s been played (playtime, seconds) and the hotbar slot it held (held), for the card.
command does
/class The character select page on a map with one; otherwise the character screen (or the picker while there’s a race or class to pick).

Version 8 also: the drawn HUD, item tooltips and rarity squares

"version": 8 also adds a drawn HUD (health, mana and level above a re-skinned hotbar), drawn item tooltips, and a rarity square behind each of the map’s items. Each has its switch under settings.hud; the HUD’s look is settings.hudLook, and each item says how its tooltip is drawn (tooltip) and its look with its square (square). A version 7 file has them off.

"settings": { …,
"hud": { …, "bars": true, "tooltips": true, "squares": true },
"hudLook": { "look": "wood", "health": "#d8382c", "mana": "#2f7fe0", "xp": "#6cc644", "food": "#c47a32" }
}
  • The switches are on for new maps, and for older maps with levels or mana. The editor writes each one true only when it built that part into the pack (the game’s font was there to build it with).
  • hudLook.look is wood, stone, dark, carved or custom (the creator’s own sheet over one of the first three, in the pack already). Carved is one picture laid out its own way (see “The Carved look” below). The colours are the bars’ fills; plain tooltips, the hotbar and the party frames follow the look too.
  • One pack for the server: the pack hides the game’s hearts, hunger, armor, air and XP bar wherever it’s loaded. Another world on the same server that isn’t an adventure map loses them too, so give such a world its own server, or turn the drawn HUD off.

The drawn HUD

  • What it shows, above the hotbar, two plates side by side across its width, their numbers in a small 4 × 6 pixel font:

    • a health plate on the left: “486 / 486” over a red bar, a heart at its left end. Absorption is a gold stretch after the red, with “+12” after the numbers. The bar is green while poisoned, dark while withered and pale blue while frozen.
    • a mana plate on the right: “114 / 114” over a blue bar, a gem at its right end. With hunger on, the mana bar is thinner and a brown food bar sits under it; a map with hunger but no mana shows food only there.
    • the level on a steel hexagon badge over the seam between them, low enough to overlap the plates, the XP bar and the hotbar’s top border (17 × 19, so the level centres on its middle column and row: its digits are 5 × 5, so one or two of them are an odd width as the badge is; from level 100, 3 × 5 digits so three or four fit; numbers centre their pixels, not the gap after the last glyph). When the player’s level or XP goes up, a shine sweeps across it: four frames, two ticks each;
    • a ten-segment XP bar under all three (the map level’s progress, as the game’s XP bar had it);
    • up to ten bubbles over the mana plate while under water. Numbers past 9999 shorten (“12.5k”).
  • The hotbar: the pack re-skins the game’s hotbar, its selection box and the off-hand slot in the look (hud/hotbar, hud/hotbar_selection, hud/hotbar_offhand_left, _right).

  • What the pack hides: every heart sprite (hud/heart/…), hunger (hud/food_…), armor (hud/armor_…), air (hud/air…) and the XP bar (hud/experience_bar_…) are transparent. The badge covers the game’s level number.

  • How it’s drawn: in a white boss bar’s name (its sprites are transparent, as for the coordinates corner), from the voxelforge:hudbars font, built outward from the screen’s middle so the name’s width is 0. Positions are x from the screen’s middle, y from its bottom, in GUI pixels:

    code point piece size at (x, y)
    U+E000, U+E001 the plates: left, and right (its mirror) 91 × 15 −91, −45 and 0, −45
    U+E002, U+E003 the badge’s top and bottom halves 17 × 9, 17 × 10 −8, −39 and −8, −30
    U+E012…U+E015, U+E016…U+E019 the badge with its shine, frames 0–3: top halves, bottom halves 17 × 9, 17 × 10 as the badge
    U+E006, U+E007 heart, gem 7 × 7 −95, −38 and 87, −38
    U+E008 a plate’s track 78 × 5 −88, −37 and 10, −37
    U+E009, U+E00A the thin mana track, the food track (hunger on) 78 × 4 10, −38 and 10, −35
    U+E00B, U+E00C the XP track, its segment lines 182 × 5 −91, −29
    U+E011 a bubble 7 × 7 8 px apart leftward from 90, −53
    U+E020… bar fill pieces 1–64 px (3 tall) the track’s inside, y −36
    U+E030… thin mana fill pieces (2 tall) y −37
    U+E040… food fill pieces (2 tall) y −34
    U+E050… XP fill pieces 1–128 px (3 tall) y −28

    Fill pieces are white; the plugin tints them to the bar’s colour and adds them up to the fill’s width. The numbers are voxelforge:hudbars_plate_numbers (their tops at y −44, centred over each track): digits, “/”, “+”, “.”, “k” and “M”, 6 px tall, each glyph’s advance its width and one (digits and “/” 4 wide, “+” 3, “M” 5, “.” 1) and a space 2. The level is voxelforge:hudbars_level_numbers (digits 5 × 5) up to 99 and voxelforge:hudbars_level_small (digits 3 × 5) from 100, their tops at y −32 (an empty row below each glyph, as a glyph can’t reach higher above its line than it’s tall), centred on the badge’s middle column. U+F801… and U+F821… in voxelforge:hudbars move left and right, as in the other fonts.

  • Where the shader moves it: every piece is in one of four rows, each an 18 px band whose top is 60, 48, 35 or 20 px above the screen’s bottom. Every colour the HUD uses is a hair off: its red and green leave 2 and 1 over four, and its blue’s last three bits are the row. The pack’s core/text.vsh (the coordinates corner’s, with one more block) finds such text’s boss bar slot (names are 19 px apart from y 3, and every glyph sits in its row’s band) and moves it from there to its row’s place, so the HUD stays put whatever other boss bars show. No colour Minecraft names leaves 2 and 1, nor does its shadow; the numbers’ shadow is a hair-off dark grey in their row, every other shadow is transparent.

  • Health is scaled to ten hearts for every player on the map (and in a dungeon run from it), so a big health pool doesn’t fill the screen with hearts for those who see them; it’s put back when they leave.

    • AuraSkills scales hearts too, by its own table, unless told not to. Each time it does, the HUD puts ten back, and the game shows that as a hit. So in AuraSkills’ stats.yml, under traits › auraskills/hp, set health_scaling and ensure_scaling_disabled to false.
    • Set keep_full_on_increase to true there as well, so a full bar stays full when AuraSkills raises the most health.
    • The map’s load report in the console warns while either of the first two is on.
  • Hidden in creative and spectator, while dead, and while a conversation’s frame is on the action bar. Players in a dungeon run from the map keep theirs.

  • Mana’s “✦ 40/100” line no longer shows for players who see the mana plate.

  • Bedrock players, and Java players without the map’s pack, keep the game’s own HUD, their hearts scaled to ten, the level on the XP bar and mana on the action bar.

  • The creator’s sheet (200 × 136, downloaded from Map settings) has every piece at its own spot: the hotbar (0, 0), the selection box (0, 24), the off-hand slot (26, 24), a plain tooltip (57, 24, 32 × 32), the badge (91, 24, 17 × 19), the heart (110, 24), the gem (119, 24), a bubble (128, 24), the left plate (0, 58; the right is its mirror), the track (93, 58), the thin track (93, 65), the XP track (0, 76) and its segment lines (0, 83). A spot left empty shows the look the sheet starts from. The badge is steel in every look; its shine frames are drawn on the built-in badge.

The Carved look

Carved (Ethan’s pick from a PixelLab trial) is a dark carved-wood frame 230 px wide resting on the hotbar’s top. The heart and the mana orb sit in star-shaped sockets past the hotbar’s ends, the bars are lit segments, an XP strip runs under each bar, and the level sits on a bronze medallion between them. It’s one picture with the bars’ slots in it rather than pieces, so the plugin lays it out its own way (HudBars.CARVED), and a creator’s sheet can’t start from it.

code point piece size at (x, y)
U+E000, U+E001 the frame’s top and bottom halves, the heart in its left socket 230 × 14, 230 × 12 −115, −45 and −115, −31
U+E002, U+E003 the medallion’s halves 18 × 14, 18 × 11 −9, −45 and −9, −31
U+E012…U+E019 the medallion with its shine, frames 0–3 as the medallion as the medallion
U+E007, U+E107 the orb’s halves (in the right socket), grey: tinted to the right bar’s colour 14 × 7 each 92, −38 and 92, −31
U+E01F, U+E11F the orb’s glint and reflections, white, over it 14 × 7 each as the orb
U+E01E the bars’ segment lines, over the fill 82 × 5 −91, −35 and 9, −35
U+E00C an XP strip’s segment lines 82 × 2 −91, −29 and 9, −29
U+E011 a bubble 7 × 7 as the other looks’
U+E020… bar fill pieces 1–64 px (5 tall, a lit tube) the slots, x −90 and 10, y −35
U+E030…, U+E040… thin mana, food fill pieces (2 tall) y −35 and −32
U+E050… XP fill pieces 1–128 px (2 tall) y −29
  • The bars are 80 px slots in the frame (x −90 to −11 and 10 to 89); no track glyphs are drawn. The plugin’s tracks for them are a pixel wider each side (x −91 and 9, 82 wide), as the other looks’ are, so the fill starts a pixel in. With hunger on, mana fills the slot’s top two rows and food its bottom two.
  • The XP fills the left strip, then on along the right one (each 80 px); the medallion covers the gap.
  • The numbers sit on the bars (their tops at y −35, in row 2) and the level on the medallion (y −34, row 2), centred as in the other looks.
  • A tall piece is two glyphs, its top half in row 1 and its bottom half in row 2; the orb’s and its glint’s bottom halves are their tops’ code points + 0x100.
  • The orb is the right bar’s colour: the map’s mana, a class’s own mana colour, or its Rage, Energy or Focus (adventure-json.md, “Class resources”); food’s on a map with hunger and no mana. The plugin tints its grey body as it tints the fills, and draws its glint white over it.
  • The hotbar keeps its place; the pack re-skins it in Carved’s dark wood with a bronze selection box. The heart’s socket comes down beside the hotbar to y −20, over the top of the off-hand slot when it shows.

Item tooltips

"items": [{ …,
"typeWord": "WAND", // the creator's own type tag (optional)
"tooltip": {
"type": "SWORD", // the type tag: typeWord, or one from the base item
"badge": "diamond", // gear: diamond (weapons), shield (armor), circle (shields and tools); null otherwise
"icon": 57600, // gear with a picture: its code point in voxelforge:tooltip (U+E100…)
"headline": "melee" // melee, bow, crossbow (DPS), armor (health or armor), or null
},
"square": "voxelforge:square/vf_frozen_north/item-3" // its look with its rarity square (or null)
}]
  • What it shows, in rows of known width (so values sit on the right and the lore in the middle):
    • for gear, a badge left of the name in the rarity’s colour, with the item’s picture in it (with “Gear pictures hop” on in the editor, off by default, it hops a little every 1.2 s: the pack’s text shader lifts text in its exact colour; without the shader’s block it stays still);
    • the name in its rarity’s colour, then its rarity and type tags (rounded pills, the text dark over them);
    • a headline in big digits: a weapon’s DPS with its pace (“Slow (0.9 hits/s)”), its hit with fire, frost and poison points, and its crit (“10% crit for 17”); or an armor piece’s health (and armor) or armor;
    • its requirements (level, class, race), each with a tick or a cross for whoever carries it;
    • its stats, the value on the right in green (red below 0); “While carried” first for an item whose stats count anywhere;
    • enchantments, abilities (their trigger, and mana and cooldown on the right), charges, the upgrade tier, sockets, a gem’s own words, the set, soulbound;
    • its lore, centred at the bottom. A divider (a metal bar with a red gem, a thin grey line either side) sits between the parts.
  • DPS is the item’s own (its stats, not the holder’s): melee is its hit (the player’s 1, the base item’s attack damage, its stats’, and Sharpness) times hits a second (4 plus the base item’s and its stats’ attack speed). A bow is one full-draw arrow a second (Power counted, and a full draw’s crit bonus on average); a crossbow one bolt per reload (Quick Charge counted). A crit adds 50% plus crit damage at the crit chance, and fire, frost and poison points go on every hit. The stats page shows the player’s own DPS with what they hold and wear.
  • The frame: an uncommon, rare, epic or legendary item has the tooltip style voxelforge:<rarity>: its colour’s frame with a darker inner line and a stud at each corner, on a dark background tinted to it. Everything else (common items, the game’s items, menu buttons) has the look’s plain tooltip, which replaces the game’s own.
  • The fonts: voxelforge:tooltip has the badges (U+E000 + 2 × shape, the fill; + 1, its edge: diamond, shield, circle; 26 × 26, their tops 13 px above the first lore line), the tags’ caps (U+E010, U+E011, 3 × 10) and middles (U+E012… 1–64 px, 10 tall; grey plates the plugin tints, with white words on them), the tick and cross (U+E020, U+E021), the divider’s middle (U+E030, 30 × 8, its bar 4 px up) and its line (U+E031… 1–128 px), the divider in its own colours, and the gear’s pictures (U+E100…, 16 × 16, 8 px above the first lore line, in the colour #FDFEFE, which the pack’s text shader lifts when the pictures hop). voxelforge:tooltip_big is the game’s font at twice the size, for the headline’s digits.
  • The name is padded on both sides by the badge’s width, so it sits beside the badge and the held item’s name over the hotbar stays centred. The game’s own lines for attribute modifiers, enchantments, unbreakable and dye are hidden (the tooltip says them itself).
  • Dressed for whoever carries it: an item is drawn for a Java player with the pack and plain (today’s lines, its own look) for one without and for Bedrock players. Once a second the plugin re-dresses the map’s items a player carries (and those in a chest they have open) when they aren’t dressed for them yet, or when a requirement’s tick has changed; an item picked up is dressed for the player before it lands, so it stacks. voxelforge:dressed on the item ("<item>|t110") says how it was. Shops and smiths make their items for the player looking.

Rarity squares

  • The look: each map item’s look wrapped in voxelforge:square/<map>/<item>: in an inventory (the gui display context) a 16 × 16 square in its rarity’s colour sits behind its own look (common is soft grey); everywhere else it’s its own look. The own look is its cooldown counter’s, its Library gear’s, or its base item’s (the game’s own definition, from public/mc/itemdefs.json), so bows still draw and potions keep their colour.
  • Who sees them: Java players with the pack. An item dressed plain keeps its own look (and the Bedrock looks, keyed by model, are unchanged).
  • The game’s own items stay plain.

Party frames and health bars: what version 8 adds

  • With the drawn HUD on, the party frames’ panels are small plates in the HUD’s look and their bars its colours (same sizes and code points).
  • Mobs’ health bars have a new style, wood, matching the HUD’s plates.

Version 9: mobs’ own moves

"version": 9 lets a mob type have moves of its own, built from steps: pick who it’s for, warn them with a shape on the ground, wait, then hit whoever is still inside it, or shoot at them. Moves check fight conditions (its health, how far the player is, line of sight, players near it). A mob picks its skills at random by weight or in order, with a pause between them. A dungeon’s dungeon.json has the same in its version 4 (see dungeon-json.md). A version 8 file has none of it, and its mobs pick skills at random a second apart, as before.

Own moves

"skills": [{
"id": "skill-3", "skill": "move", "name": "Meteor",
"cooldown": 12, "range": 24, "weight": 2, // as any skill: seconds between uses, its target within `range` (0: any), how likely it's picked
"if": [{ "is": "mobHealth", "op": "<", "value": 60 }], // conditions; the player is its target
"then": [ // run as an ability's actions
{ "do": "aim", "at": "random", "count": 3, "radius": 20, "angle": 90 },
{ "do": "warn", "shape": "circle", "size": 3, "inner": 1, "angle": 90, "width": 3, "seconds": 1.5, "color": "#ff3b30" },
{ "do": "wait", "seconds": 1.5 },
{ "do": "burst", "in": "warning", "radius": 3, "damage": 10, "element": "fire", "effect": null, "seconds": 0, "players": true }
]
}],
// on the mob type: how it picks its next skill, and the pause after one (seconds)
"moves": { "pick": "random", "pause": 2 }
  • Using one: a move is a skill like the ready-made ones. It’s used while the mob has a player as its target within range, once its cooldown has passed, and only while its if holds for that target. A boss phase’s skills can list it.
  • Running: its then runs as a rule ability’s actions. The player is its target, the spot is the mob, and burst and shoot damage is by difficulty and the boss’s phase, as ready-made skills’ damage is.
  • Picking: each time it thinks (four times a second), with no pause running, it tries its ready skills one at a time. With pick random it tries them in a random order, each earlier the more weight it has (weight 0: never). With order it goes round the list from the one after the skill it last used. The first that goes is used, and then nothing for pause seconds.
  • weight is on every skill (1 when it’s missing). A mob type without moves picks at random with a pause of 1 second.

Fight conditions

Conditions about the mob, for its moves, its abilities and its boss phases. Anywhere else they don’t hold.

Condition is fields holds when
mobHealth op, value Its health, in % of its most, compares with value.
distance op, value The player’s distance from it, in blocks, compares with value.
sight It can see the player (nothing solid between them).
nearby radius, op, value The number of players its hits can reach within radius blocks of it compares with value.

Steps

random works in any action list (rules, lines, quests, abilities). The others are for a mob’s moves, abilities and boss phases. Anywhere else they’re skipped, and the load report says so for aim.

Action do fields does
random options ([{ "weight", "then" }]) Runs one option’s actions, picked by weight (its chance is its weight ÷ all the weights), then the actions after it.
aim at, count, radius, angle Picks targets. The actions after it run once for each target, with that player as the player and the spot where they stood just now.
warn shape, size, inner, angle, width, seconds, color Draws a warning on the ground at the spot, filling up over seconds (below).
shoot kind, speed, damage, element, hit The mob shoots at the spot and goes on with the next action. Where the shot lands, hit runs (below).
burst in (new) "warning": hits whoever is inside the last warning’s shape instead of within radius of the spot.

aim’s at:

at targets
target Its target (else the player).
self Its own spot, facing the way it faces. The player stays its target.
random count players picked at random within radius blocks.
nearest, farthest The count nearest or farthest players within radius.
all Every player within radius.
fighters Everyone in its fight: its boss fight’s fighters, everyone who hurt it, and its target, within 64 blocks.
front The players within radius within angle degrees of the way it faces.

Players its hits can’t reach (dead, creative, spectator) are never targets. With no target, the actions after it don’t run. A target’s spot is locked: a warning and a hit after a wait land where they stood, so they can step out. Without an aim, a step’s spot is the mob and its way is towards the player.

Warnings

  • Shapes:

    • circle: radius size round the spot.
    • ring: radius size, with a safe middle of radius inner.
    • cone: angle degrees wide (10 to 180), size long, from where the mob stood towards the spot (its own way after aim self).
    • line: size long and width wide, from where the mob stood towards the spot.

    color is a hex colour (red when missing). A warning lies on the ground under its spot: the top of the first solid block within 6 below.

  • Players with the pack see the shape drawn from the pack: an edge at full size, and a fill that grows from nothing to full over seconds. Both are item displays lying flat at full brightness, shown only to them, and gone when the time is up.

  • Players without it (and Bedrock players) see the edge in dust particles of its colour, with a line moving out as time runs.

  • Inside: a burst in the warning hits players in the shape (with 0.3 blocks to spare for their width) and within 3 blocks of its height. Its particles spread over the shape.

In the pack, written by the editor for each shape a move draws:

  • assets/voxelforge/items/warning/<key>_edge.json and _fill.json, each a minecraft:model tinted by custom_model_data colours[0];
  • their models, a square 16 wide at height 8 with only its top face (tintindex 0);
  • their white pictures, 128 × 128, or 32 × 128 for a line. They’re assets/voxelforge/textures/item/warning/<key>_<part>.png, since the game only puts pictures under textures/item/ in the items atlas.

<key> is circle, line, ring_<n> or cone_<n>:

  • ring_<n>: the safe middle is round(20 × inner ÷ size) × 5 % of the radius, from 5 to 95;
  • cone_<n>: its angle to the nearest 5°, from 10 to 180.

A cone’s picture points at its top, with its point in the middle.

The displays (item_display fixed, the item a paper with item_model voxelforge:warning/<key>_<part> and its colour) stand on the ground at the centre (for a cone or line, where the mob stood) with no yaw. Their transformation:

  • circle, ring: scale 2 × size across.
  • cone: the same, turned about y by atan2(dx, dz) of its way.
  • line: scale width × 1 × size, the same turn, moved size ÷ 2 along its way.

The edge is 0.035 above the ground and the fill 0.02. The fill starts at nothing (a line’s at nothing long) and is interpolated to full over the warning’s ticks.

Shots

kind is small_fireball (the default), fireball, arrow, snowball, wither_skull or trident.

  • Aim: it flies from the mob’s eyes, at speed, towards the spot (1.1 blocks up at a player’s spot, their chest).
    • With no aim it flies at the player’s eyes.
    • After aim self it flies the way the mob faced.
  • Hits: it hurts what it hits for damage of its element, as a ready-made skill’s shot does, and harms no blocks.
  • Landing: where it lands, on a mob, a player or a block, hit runs a tick later. The player is the one it hit (or the player it was shot for). The spot is where it landed. So a burst there splashes round the landing.

Version 9 also: statuses and zones

Version 9 also adds statuses: debuffs and crowd control that mobs put on players, and players’ items and talents put on mobs. It adds lingering zones too, which any steps can leave on the ground. A dungeon has them in its version 4.

Statuses

"statuses": [{
"id": "status-4", "name": "Bleeding",
"icon": "droplet", // a text icon's name (see "Text icons"), or "" for none
"color": "#c0392b", // its name's colour, and its particles'
"stacks": 5, // the most stacks it has (1: it doesn't stack)
"seconds": 6, // how long it lasts; adding it again starts them over
"damage": 1, "element": "none", // each second, per stack
"slow": 0, "vulnerable": 0, "weaken": 0, // per stack, in %: slower, more damage taken, less damage dealt
"stun": false, "root": false, "silence": false,
"full": [], // actions when it reaches its most stacks
"clear": false // then its stacks go
}],
// on a mob type: statuses can stun, root and silence it (missing: yes, unless it's a boss)
"crowdControl": true
  • Adding it: stacks are added up to its most, and its seconds start over. Each stack does its damage once a second, as the hits of whoever put it on, of its element (resistances and their effects apply). slow adds up across stacks and statuses (at most 100%). vulnerable makes its holder take that much more damage, and weaken makes them deal that much less (at most 90%).

  • Crowd control:

    • stun: can’t move, jump, attack, use anything, or use abilities. A mob stops thinking.
    • root: can’t move or jump.
    • silence: can’t use abilities. For a player, that’s right-click item abilities and active talents (“Silenced” above the hotbar). For a mob, it’s its skills and moves, and its every, hit, hurt and target abilities.
  • Shrugging it off:

    • A mob type with crowdControl false (a boss, unless set) ignores statuses that stun, root or silence.
    • Each kind (stun, root, silence; a status that does several counts as the first of those it does) is counted on its own. Anyone given one of a kind again within 15 s of the last one ending gets it for half its seconds, and a third within that time doesn’t take.
    • When it doesn’t take, “Immune to for now” shows above that player’s hotbar. For a mob, “ is immune to ” shows above the hotbar of the player who tried.
  • At its most stacks (when an add reaches it), full runs:

    • the player is the holder when that’s a player;
    • the target is the holder, and the spot is where it stands;
    • steps that hit are by whoever put it on (so a mob’s chill that freezes at five stacks hits players).

    With clear, its stacks then go.

  • Showing it:

    • A player sees theirs above the hotbar, each with its icon (from the pack, or its stand-in), name, stacks and seconds left (“Bleeding ×3 4s”). It follows the mana line when that’s showing, and otherwise shows once a second while nothing else is there (a message, a conversation’s frame).
    • A mob shows each status’s icon (or name) and stacks after its name and level, over its health bar.
  • A player’s statuses end when they die or leave; a mob’s end when it dies.

Steps and conditions

Action do fields does
status status, action (add, remove), stacks, to Adds stacks of it to, or takes it off, to: player (the player), target (the mob an item’s ability hit or killed, or what a thrown item landed on), or self (in a mob’s steps, the mob).
burst apply (new): { "status", "stacks" } or null Also adds the status to everyone it hits.
zone below Leaves a zone on the ground.
Condition is fields holds when
status status, who (player, mob), op, value The player’s (or, in a mob’s steps, mob: the mob’s) stacks of it compare with value (0: they haven’t it).

Zones

{ "do": "zone", "shape": "circle", "size": 3, "inner": 1, "angle": 90, "width": 3, // a warning's shape
"seconds": 6, "every": 1,
"damage": 2, "element": "fire", "effect": null, "apply": { "status": "status-4", "stacks": 1 },
"particle": "fire", // fire, poison, frost, smoke or none
"color": "#ff6a00", "follow": false }
  • Where: it lies where a warning of its shape would. It’s round the spot, or from where the mob (or player) stood towards it.
  • What it does: every every seconds, for seconds, everyone inside takes damage of element, effect (for a little over every seconds) and apply’s stacks.
    • A mob’s zone hits players.
    • A player’s zone (an item’s ability, a thrown item’s landing) hits mobs.
    • Left by an own move, its damage is scaled by difficulty and the boss’s phase, as the move’s other damage is.
  • How it looks:
    • Players with the pack see its shape (the warnings’ pictures) at full size for its whole time, edge and fill, in its colour.
    • Players without the pack see a dust outline.
    • Its particles rise over it.
  • follow: a mob’s zone moves with the mob, an aura round it (or, for a cone or line, in front of it), and ends when the mob dies.

Version 10: daily and weekly quests, quest boards, more conditions

"version": 10 adds daily and weekly quests, which open again at the map’s reset, quest boards that give quests, and conditions about when, where and the player. A version 9 file has none of them and plays as before.

Daily and weekly quests

"settings": { …, "resets": { "daily": "00:00", "weekly": "monday", "zone": null } }
// a quest
{ "id": "quest-4", …, "repeat": "daily" } // or "weekly"
// an NPC, and a quest board
{ "id": "…", …, "pick": { "daily": 3, "weekly": 1 } } // 0 (or no pick): all of them
  • The reset: every day at daily (“HH:MM”, 24 hours), and every week on weekly at that time, in zone (a time zone name such as “Europe/London”; null: the server’s).
    • The load report warns about a time, day or zone it can’t read, and uses midnight, Monday or the server’s zone instead.
  • Doing them again: a quest done before the last reset can be taken again. One done since can’t, until the next reset.
    • A quest under way carries on over a reset: only the “done” mark clears.
    • cooldown, once and always work as before.
  • Picks: a giver’s daily (weekly) quests are its pool. With pick.daily (pick.weekly) above 0 and below the pool’s size, it offers only that many at a time, the same ones to everyone until the next reset.
    • The plugin shuffles each giver’s pool once, by the giver’s id, and each period offers the next few in that order. Nothing is stored, so picks survive restarts.
    • With a pool at least twice the pick, a period never offers the last one’s quests again.
    • A quest under way that isn’t among the new picks can still be finished and handed in.
    • Quests started by rules, answers and /vfa quest start aren’t held to picks.
  • Over an NPC: the “!” is blue when everything it offers the player is a daily or weekly quest. Bedrock players see the same, a little higher.
  • The journal starts a daily (weekly) quest’s summary with “Daily: resets in 5h 12m”, or “Daily: open again in 5h 12m” once it’s done.

Quest boards

"boards": [
{ "id": "board-1", "name": "Town board", "pos": [12, 64, -3], "pick": { "daily": 3, "weekly": 1 }, "label": true }
],
"settings": { …, "questBoard": { "drawn": true } }
  • A board is a block (pos) marked with the editor’s Logic tool. Quests with the board as their giver are its quests.
  • Right-clicking the block opens its page, which shows the player:
    • this period’s picks of its daily quests, then its weekly ones, then its other quests;
    • each as a quest to take, one under way, or (daily and weekly) done until the reset;
    • nothing they can’t take: requirements not met, or done for good.
  • On a note:
    • The tooltip shows when it resets, the quest’s summary, its rewards, and what a click does.
    • Clicking a quest to take takes it, as “Accept” does in a conversation.
  • label: the board’s name floats over it in gold. Under it, in grey, when its quests change (“New dailies in 5h 12m · weeklies in 3d 4h”).
  • Bedrock players get a form: a button per quest, then the quest’s page with “Take it” or “Back”.

Drawing the quest board

With settings.questBoard.drawn, the map pack has the voxelforge:board font, and the page is a 6-row chest drawn as a notice board. It works the way the class picker is drawn (see “Drawing the class picker”).

  • The panel (U+E000, 176 × 125) covers the chest’s top part:
    • a wooden plank with the board’s name;
    • a cork board over slot rows 0 to 4;
    • a plank below with when its quests change.
  • A note (U+E010 + row r, 18 × 18) is pinned in each quest’s slot:
    • columns 1, 3, 5 and 7 of rows 0 to 4, up to 20 notes;
    • drawn white and tinted by the plugin: cream for daily, blue for weekly, white for the rest, grey for one done until the reset.
  • A tick (U+E020 + r) goes over the note of a quest under way.
  • Text rows: voxelforge:board_row_1 (the name) and _row_2 (the countdown) are the game’s font, lowered to their planks.
  • The slots hold blank items (voxelforge:blank), so the notes show through them and each carries its quest’s tooltip.
  • Without the pack, or when drawn is false, it’s a plain chest:
    • paper for dailies, maps for weeklies, books for the rest;
    • grey dye for one done until the reset;
    • a glint on one under way;
    • a clock with the countdown.

Conditions: what version 10 adds

They work anywhere conditions do: rules, lines, answers, quests’ requirements, puzzles, and mobs’ moves and abilities. Without a player, the player’s conditions don’t hold.

Condition is fields holds when
date from, to Today’s date (“MM-DD”, both days in) is in the window, in the map’s reset zone. “12-20” to “01-06” runs over the new year.
weekday days Today is one of days (1 Monday … 7 Sunday).
time from, to The game’s time of day (“HH:MM”; 06:00 is sunrise, 18:00 sunset) is in the window. “19:00” to “05:00” is the night.
weather weather "clear", "rain" (rain or a storm) or "thunder".
biome biome The player stands in it (“minecraft:desert”).
mobsNear mob, radius, op, value The number of living mobs within radius blocks of the player compares with value. mob: "" any hostile mob, a vanilla id (not counting mob types built on it), "vf:mob-2" a mob type, or "mythic:<name>".
holding item, slot The item (a map item by its vf: id) is in slot: hand, offhand, head, chest, legs, feet, worn (any armour slot) or any (a hand or worn).
health op, value The player’s health, in % of their most, compares with value.
potion effect, level The player has the effect ("night_vision") at level or stronger.
any of Any one of the conditions in of holds (each with its own not). They can nest.
compare name, op, other The variable name compares with the variable other: numbers every way, flags and text with = and !=.

A dungeon with any of these is dungeon.json version 5.

For other plugins: events

The plugin calls Bukkit events other plugins can listen to (the API, voxelforge-server/api, published at https://voxelforge.app/maven/ and described at https://voxelforge.app/adventure/api):

  • Quests: started (cancellable), a step done, done, failed or abandoned, and the daily and weekly reset.
  • Mobs and bosses: a mob type spawning or dying, using a move (cancellable), a boss’s phase, and its defeat with each player’s share of the damage.
  • Progression: level up, XP (changeable, cancellable), class, talent, character switch, money (changeable, cancellable).
  • The world: a dungeon run starting or ending, a loot box’s prize (changeable, cancellable), a signal, a conversation answer.

Version 11: the drawn inventory (milestone 10, part 1)

"settings": { …, "inventory": {
"on": true,
"spots": { "ring1": true, "ring2": true, "bracelet": true, "necklace": true, "charm": true,
"pouch": true, "sack": true, "character": true, "journal": true },
"sack": [{ "level": 10, "price": 0 }, { "level": 20, "price": 50 }], // each adds 9 slots to the first 9, up to 54
"drawn": true, // the pack draws the screen and the spots' icons
"pages": true, // the pack draws the pages the buttons open (voxelforge:inventory)
"outlines": true // the empty jewellery spots' items wear outlines (false: the screen's picture has them)
} },
"items": [{ …, "slot": "ring", // or bracelet, necklace, charm: the drawn inventory's jewellery slots
"material": true, // picked up, it goes into the Ingredient pouch
"stars": 2 }], // 0 to 3: after its name, and marked in its icon's corner
"npcs": [{ …, "merchant": { …, "sack": true } }] // he sells Item sack levels that have a price

The inventory’s top row (slots 9 to 17) becomes fixed spots, Wynncraft-style: two rings, a bracelet, a necklace and a charm, a drawn divider, then the Ingredient pouch, the Item sack, Character info and the Quest journal. A spot that’s off is a normal slot. New maps have the inventory on; a map from before version 11 has it when it has levels. Version 12 moves Character info and the journal to the hotbar and adds Item sacks 2 and 3 in their place (below, “the inventory’s hotbar spots”).

  • Jewellery: an empty jewellery spot holds a grey outline of its kind.
    • Clicking jewellery of that kind onto it puts it on, and swaps out what was worn. A click with nothing takes it off, and shift-click takes it off into the inventory. Number keys swap with the hotbar.
    • Shift-clicking jewellery in the inventory screen puts it in the first free spot of its kind.
    • Its stats count only in its spot (both ring spots take rings), never held or carried. Level, class and race limits apply as for gear.
    • It drops on death as the map’s keepInventory says. The outlines and buttons never drop, move or go into chests, and they come off when the player leaves the map for anywhere but its dungeon runs.
  • The Ingredient pouch: a material picked up goes straight in, with the pickup animation and a line above the hotbar. So does one given by a quest’s or rule’s give, /vfa map give, a shop, a station, skinning, or a drop pulled in by telekinesis.
    • It belongs to the character (players/…’s pouch, by the map item’s id) and is kept on death. One made with more stars than its item’s own is kept apart, under <id>@<stars> (“mat-bar@2”), so its stars aren’t lost; counts take any of an item, stations take the fewest stars first (at least a recipe’s stars).
    • The button’s tooltip lists the first ten kinds. A click opens its page: 45 kinds a page; a click takes a stack out, shift-click all of it. The buttons below it (and below Character info) open their own pages, as they do below a sack’s.
    • A material dropped on the button (clicked with it on the cursor) goes in rather than opening the page: a left-click puts the whole stack, a right-click one. Anything that isn’t a material stays on the cursor, with a line saying only materials go in.
    • Quests’ collect and deliver objectives, and rules’ item conditions and take actions, count it with the inventory. A deliver or take takes from the pouch first.
    • In a merchant’s shop the tooltip says what he’d pay for everything in it he buys; shift-right-click sells it all (not bought back). Bedrock players get “Sell my pouch” in the shop’s form.
  • Materials: an item’s material is the editor’s tick, else whether a resource node, fishing spot or mob type drops it (straight or from a loot table), worked out at export.
  • The Item sack: a chest of the character’s own (sack, serialized), for when the inventory is full. Soulbound items may go in; it’s kept on death.
    • It starts with 9 slots. Each sack level adds 9, up to 54.
    • A level with price 0 comes by itself at its character level (any time on a map without levels). One with a price is sold then by a merchant with sack (a button at slot 46 of his shop; a form button for Bedrock players), in the map’s money. sackLevel counts the levels had.
    • A sack never shrinks round its things, if a map lowers its levels.
    • An item dropped on its button (clicked with the item on the cursor) goes in rather than opening the sack: a left-click puts the whole stack, a right-click one. What doesn’t fit stays on the cursor. The same goes for Item sacks 2 and 3.
  • Character info: a 6-row page whose top row is tabs.
    • Character (slot 0): who the character is, and the Stats page’s groups.
    • Talents (slot 1): opens the talent tree (talent trees on).
    • Skills (slot 2): AuraSkills’ or mcMMO’s skills and levels (with either installed).
    • Switch character (slot 8): the character screen (more than one slot).
    • Professions and pets get their tabs in milestone 10’s later parts. Bedrock players get a form with a button per tab.
  • Quest journal: the journal, as /quests.
  • Stars: an item’s stars follow its name (“Raw sea iron ★★”). With the pack, items with stars wear their rarity-square look (square, now also with stars) with the stars in front: 1 or 2 gold, 3 pink, top right. That needs drawn tooltips or rarity squares on.
    • Items recipes make are wrapped too: a made stack with more stars than its item’s own carries custom_model_data strings[0] stars_<n>, and its look’s minecraft:select on it draws those stars (a cooldown counter’s float stays). The plugin uses square whenever it’s set.
    • Jewellery’s tooltip heads its stats “While worn” (“While carried” for an item that counts anywhere).

Drawing the inventory

  • The screen: the pack replaces gui/container/inventory.png (the 176 × 166 screen at the top left of a 256 × 256 texture) with one drawn in the HUD’s look (Wood, Stone, Dark), or the creator’s own picture with “My own sheet”.
    • Carved’s is a picture of its own (PixelLab’s design A): dark carved oak, bronze caps, the jewellery outlines drawn in it (outlines false, so the outline items are voxelforge:blank). A spot the map turns off becomes the plain slot under it. The game’s dark grey “Crafting” can’t be read on it, so the pack’s en_us and en_gb lang files hide container.crafting (crafting tables’ titles too).
    • The game’s slots stay where they are.
    • The top row has a brass tray round the jewellery spots, a brass divider, and raised sockets for the buttons.
    • A pale plaque sits where the game writes “Crafting” in dark grey.
  • The spots’ items wear voxelforge:inventory/<ring|bracelet|necklace|charm|pouch|sack|character|journal>.
    • Without the pack they’re a light grey glass pane (outlines), a bundle, a chest, the player’s head and a writable book.
    • Bedrock players’ wear the same item models, which the map’s Bedrock pack maps to the outlines and icons. Version 12: Character info too (paper under its icon, as on Java), and the extra sacks’ (sack_locked while locked).
  • The pages (settings.inventory.pages) are drawn over their chest’s whole window as the class picker is, in voxelforge:inventory: the chest’s rows, then the player’s part, a plank under the game’s “Inventory”, their spots’ row as their screen draws it (Carved’s outlines too), two rows and the hotbar.
Code Piece Size Top
U+E000 + r − 1 a page over a chest of r rows (1–6): the look’s face, a pale plank for the title, a well for each slot, and the player’s part 176 × (114 + 18r) 0
U+E008 Character info’s page: the same for 6 rows, its top row raised tabs over a line 176 × 222 0
U+E009 the chosen tab’s brass ring, over its socket (x 6 + 18 × tab) 20 × 20 16

voxelforge:inventory_row_1 is the game’s font with its text top at 5 px, for the title on the plank (“Zellio’s Pouch”). The pages’ empty slots hold voxelforge:blank items. Without the game’s font at export, pages is false and they’re plain chests.

Version 11 also: professions (milestone 10, part 2)

"settings": { …, "professions": { "mains": 2, "vanilla": false, "starBonus": 10 } },
"professions": [{ "id": "smithing", "name": "Smithing", "kind": "crafting", // gathering, crafting or secondary
"icon": "anvil", "max": 100, "first": 50, "growth": 6, "price": 0 }],
"stationKinds": [{ "id": "forge", "name": "Forge", "icon": "blast_furnace" }],
"recipes": [{ "id": "recipe-1", "profession": "smithing",
"result": { "item": "vf:bar", "count": 1 },
"materials": [{ "item": "vf:ore", "count": 2, "stars": 0 }], // stars: the least it takes
"stations": ["forge"], // none: anywhere
"level": 1, "skill": { "skill": "forging", "level": 5, "missing": true }, // or null
"seconds": 2, "xp": 10,
"learn": "start", "price": 0 }], // start, trainer (price) or item
"stations": [{ "id": "station-1", "name": "Forge", "kind": "forge",
"area": { "min": [3, 1, 4], "max": [3, 1, 4] }, "placement": null, // a block, or a placed build's box
"label": true, "particles": "flame",
"if": [ /* conditions */ ], "locked": "The dwarves don't trust you yet." }],
"nodes": [{ …, "needs": { "profession": "mining", "level": 10, "skill": "", "skillLevel": 0, "skillMissing": true },
"xp": 8, "skillXp": { "skill": "mining", "amount": 10 } }], // fishing spots have the same three
"items": [{ …, "recipe": "recipe-1" }], // a recipe item
"npcs": [{ …, "trainer": { "reset": 0, "teaches": ["smithing"] }, "station": "forge" }]
  • Professions: gathering and crafting ones are main professions; a character can have mains of them (0: no limit). Secondary ones are open to everyone. Levels run 1 to max; level n to n + 1 takes first × (1 + growth/100)^(n−1) XP.
  • Learning: a trainer NPC that teaches professions offers “Professions” on its conversation’s first line (or opens it straight away with nothing to say):
    • the professions it teaches (click to learn, for its price; shift-click to unlearn, which forgets the level and recipes);
    • the trainer recipes of those professions the character doesn’t know, for their prices (they need the profession at the recipe’s level).
    • Learning a profession teaches its start recipes. A recipe item (items[].recipe), right-clicked, is used up and teaches its recipe.
    • Rules: the profession action learns, unlearns or gives XP; the recipe action teaches; the profession condition compares a level (0: not learned); the recipe condition is true when it’s known.
  • Stations: right-clicking a station’s block (any block of a placed build’s box), a Station NPC (npcs[].station: “Craft” on its first line), the station action or /vfa station <player> <kind> opens the kind’s page.
    • A station with if conditions opens only when they hold, else says locked.
    • Floating text over it (“Forge” and “Right-click to craft”) with label, and its particles now and then.
  • The page: a 6-row chest (drawn in the HUD’s look with the pack) listing the recipes the character knows that can be made there (a recipe with no stations: anywhere). Version 12 splits it in two halves, with categories, a grid, a bar and Craft buttons (below, “The station’s page”).
    • Each icon’s tooltip has its profession and level, its colour (orange until 10 over its level, yellow to 20, green to 30, then grey; XP ×1, ×0.6, ×0.25, ×0), every material as have / need (green or red, counted from the inventory, the Ingredient pouch and the Item sack), and the time.
    • Click makes one, shift-click as many as there are materials for. Making shows a bar above the hotbar, sparks and the station’s sound for players nearby. It stops when the player walks over 6 blocks away (from a page opened from afar: when it closes), or runs out.
    • Materials are taken from the pouch first, then the inventory, then the sack. A made item’s stars are its materials’ on average; above its item’s own, they’re the stack’s own (custom_data.voxelforge.stars) and raise its stats starBonus % each. A made material goes into the pouch. Quests’ “Craft items” objectives count what’s made.
    • Bedrock players get forms: a recipe list, then a recipe’s materials with Make 1 and Make all.
  • Gathering: a node or fishing spot with needs can’t be broken (fished: it gives the world’s catch) until the character has the profession at its level and/or the AuraSkills or mcMMO skill at skillLevel (without either plugin it holds when skillMissing). Each break gives xp to the profession it needs, else to the character’s gathering profession of its kind (Mining for ore and crystal, Woodcutting for trees, Farming for herbs, Fishing for fishing). skillXp replaces milestone 9’s fixed skill XP.
  • Vanilla crafting: with professions on a map and vanilla false, crafting tables, the 2 × 2 grid and furnaces make nothing there.
  • Character info: a Professions tab (slot 3) lists every profession with its level and XP, and how many of its recipes are known.

Profession depth (milestone 10, part 3)

"professions": [{ …, "perks": [{ "level": 10, "kind": "speed", "amount": 20 }] }], // speed, extra or star, in %
"recipes": [{ …, "kind": "work", // make (the default), work or apart
"work": { "do": "enchant", "enchant": "sharpness", "level": 2 }, // or { "do": "upgrade" }, { "do": "gem", "gem": "vf:ruby" }
"on": ["vf:sword"], // the held items it takes; none: any of the map's items
"gives": [{ "item": "vf:bar", "count": 2 }], // apart: what the held item gives back
"skillXp": { "skill": "forging", "amount": 15 } }],
"mobs": [{ …, "skinning": { "profession": "skinning", "level": 5, "drops": [{ "item": "leather", "count": 2 }], "xp": 20 } }]
  • Perks: each perk counts from its level on, and perks of a kind add up.
    • speed: breaking a node of the profession (the one it needs, else of its kind) is that much faster, and so is making its recipes.
    • extra: a chance of a node’s drops twice, or of one more result.
    • star: a chance of one more star on what’s made (up to three).
  • Work recipes change the item in the player’s main hand, after its materials are taken. A gem’s recipe should list the gem among its materials.
    • enchant adds an enchantment, vanilla or the map’s own (vf:enchant-1).
    • upgrade raises its upgrade tier, with no chance of failing (the Smith keeps his odds).
    • gem fits the gem into a free socket.
    • The page says why when the held item can’t take it (no tier left, no free socket).
  • Apart recipes take one of the held item and give gives back (materials into the pouch). Shift-click takes apart as many as are held.
  • Skill XP: each one made gives the AuraSkills or mcMMO skill’s XP.
  • Skinning: a mob type with skinning leaves its body for 30 s.
    • The body is a hide on the ground, under its name and “✂ Skinning 5”.
    • A character with the profession at the level right-clicks it and stays within 4 blocks for 2 s. They get the drops (materials into the pouch) and the XP, and the body goes. One skinner per body.

Version 11 also: pets and mounts (milestone 10, part 4)

"pets": [{
"id": "pet-wolf", "name": "Grey wolf",
"mob": "wolf", "baby": false, "size": 1, // a vanilla mob's body, its scale
"fights": true, "health": 30, "damage": 4, // off: it can't be hurt and doesn't block
"perLevel": 5, // % stronger a level of its owner's, after the first
"bonus": [{ "stat": "movement_speed", "amount": 5, "op": "percent" }], // its owner's while it's out
"ride": false, "speed": 1.5, "jump": 1, "swims": false, "flies": false, // a mount
"rest": 60 // seconds it rests after dying
}],
"items": [{ …, "pet": "pet-wolf" }] // a pet item: right-clicked, it's used up and the pet joins
  • The collection: a character learns a pet from its pet item and keeps it (in the map’s save, per character). Character info’s Pets tab lists them: click summons one, or sends the one out away. One pet is out at a time; on Bedrock, Character info’s form has a Pets button.
  • Out: the pet follows its owner under “Name’s pet name” (teleporting when it’s 24 blocks behind). Sneak-right-click makes it stay, or follow again; a name tag renames it (for this character only). It goes when its owner leaves the map.
  • Fighting: one that fights attacks what its owner hits (arrows too) and what hurts its owner (version 12: or itself), never players. Its health and hit grow with its owner’s level (perLevel). When it dies it drops nothing and rests for rest seconds; the Pets tab counts down.
  • Mounts: a mount is ridden as it’s summoned, only out of combat (5 s after a hit given or taken). The game steers horses, donkeys, mules, camels and llamas; the plugin steers the rest from the rider’s keys (speed, jump; swims keeps it up in water; flies: jump climbs, looking down glides down). Getting off sends it away.
  • Looks and moves: version 12 (below, “Pets’ looks and moves”).

Text icons

A map can carry text icons: small pictures (a key, a coin) and word badges (a coloured pill saying “DUNGEON”) from the editor’s Library → Icons, written into any of the map’s words as a code between colons, :key:. Names, lines, answers, quests, items, rule messages and mob names can all have them. The map lists each icon it uses under icons, with how it shows to each kind of player, and the plugin swaps a code for the one that suits whoever reads it. A code that isn’t in icons stays as its words. A file without icons has none (no version is needed: an older plugin ignores them, and the codes stay as typed).

"icons": {
"key": {
"kind": "icon", "glyph": 58880, "width": 10,
"pack": { "text": "", "font": "voxelforge:icons", "color": "#FFFFFF", "shadow_color": 0, "bold": false, … },
"big": { "text": "", "font": "voxelforge:icons", … },
"text": { "text": "", "color": "#C9A25F", … },
"bedrock": { "text": "", "color": "#FFFFFF", … }
},
"dungeon": { "kind": "badge", "glyph": 58881, "width": 38, "pack": { "text": "", "font": "voxelforge:icons", … }, "big": null, "text": { "text": "[DUNGEON]", "color": "#ECB0AA" }, "bedrock": { … } }
},
"npcs": [{ …, "icon": "key" }],
"holograms": [{
"id": "e-12", "pos": [10.5, 65, -3.5], "rot": [0, 0, 0, 1], "scale": [1, 1, 1], "light": null,
"lineWidth": 200, "background": 1073741824, "align": "center", "shadow": false, "seeThrough": false, "billboard": "vertical",
"topIcon": "key", "height": 0.5,
"text": { "pack": { "text": "", "extra": [ … ] }, "text": { … }, "bedrock": { … } }
}]
  • The components are the game’s JSON text components, one for each kind of player:
    • pack: players whose server pack loaded. An icon is its glyph in voxelforge:icons (U+E600 + n, 9 px tall). A badge is a glyph there too: one picture of its pill and word.
    • big: an icon over a name (U+E700 + n, 18 px tall); null for a badge.
    • text: players without the pack. An icon is its stand-in, a symbol in its main colour, or nothing. A badge is “[DUNGEON]” in a light shade of its colour.
    • bedrock: Bedrock players. An icon is the same character, which the map’s Bedrock pack draws from its glyph sheet (font/glyph_E6.png). A badge is its stand-in.
  • Style: each component undoes bold, italic and the rest, and is white, so the words around it never tint or widen the picture.
  • glyph is its character in voxelforge:icons. The conversation frame’s row fonts (dialogue_row_1 … _5) have the icons at the same characters, lowered with each row. In the frame, the plugin writes an icon as its character, in white, and a badge as its stand-in.
  • width is the advance with the pack, in the font’s pixels: 10 for an icon; the word plus 9 for a badge. It’s for lines the plugin measures.
  • An NPC’s icon is shown big over its name tag, and its “!” and “?” marks go over the icon. Players without the pack see the stand-in at twice a letter’s size. Bedrock players see the glyph.
  • holograms are the map’s holograms that show text icons. The editor leaves them out of the world. The plugin spawns each one three times (pack, text, bedrock) as not-saved text displays, with these fields as a text_display has them:
    • rot is its turn as a quaternion (x, y, z, w), and scale its size.
    • background is ARGB as an unsigned number.
    • Each player is shown the copy for them.
    • topIcon is shown big over its top: height blocks at size 1, turned and sized with it.
    • A copy gone with its chunk comes back once the chunk is loaded.
  • Everywhere else the plugin draws codes for whoever reads them: chat, titles and the action bar, quests, waypoint words and the sidebar, item names and lore, shop and talent menu titles. For what many players see at once:
    • A boss bar is three bars, one for each kind of player.
    • A mob’s drawn health bar has the pictures, and its text bar the stand-ins.
    • An NPC’s speech bubble has the stand-ins. Each player’s chat line of the same speech has the icons as they see them.
  • Stand-ins only:
    • Bedrock forms, which take plain words, get icons as their glyphs.
    • Placeholders for other plugins (%vf_quest%, %vf_tracker_1% and the rest) and the drawn class picker’s names get the stand-ins.
  • The pack: voxelforge:icons has each icon at text size and big, and each badge as one picture 9 px tall. That’s a pill in its colour with a darker face and its word in 5 px capitals in a lighter shade, drawn by the editor. A badge is one picture, not a word laid over a pill, because in the world a glyph that overlaps an earlier one is hidden behind it. A map that uses no icons has no such font.

Version 12: drawn character menus and the progress card

The character select page (version 8) can draw its character menu as an open book or a runestone, and stand a drawn progress card beside the shown character. Both menus are for making a character too. The editor’s places and glyphs are in src/dungeon/selectMenus.ts and selectPack.ts; the plugin’s are in DrawnCharacterMenu and CardArt.

"settings": { "landing": {
…, // version 8's
"menu": "book", // "panel" (the grey one), "book" or "stone"
"card": { // the card the drawn menu shows; null: no drawn menu or card
"w": 96, "h": 128, // its picture's size (the pack has the picture)
"pictured": ["warrior", "mage"], // classes the card's font has a picture for
"scene": true, // also drawn beside the shown character
"parts": [{
"kind": "name", // picture, name, level, xp, percent, quests, played, money, text
"x": 48, "y": 26, // from the card's top-left; x is a word's middle when centred
"color": "auto", // "#rrggbb"; the name's "auto" is the race's then the class's colour
"bold": true, "centre": true,
"width": 60, // the XP bar's
"text": "" // a text part's own words
}]
}
}}
  • The editor sends "panel" when the pack can’t draw the book or stone (no game font to build the words from), and card only when the pack has it. A map with a book or stone always has a card: Voxelforge’s card 2 with its parts, until the creator designs one (Classes → Character select → Design the card).

  • Where things go. A chest’s slots are where the game puts them, so the art is placed over the window to line its parts up with slots, and covers the whole window:

    • The book is over a 4-row chest. Its spine sits on column 4 and each page on three columns: 22 parchment columns were cut from each page so everything on a page is centred on it. Your characters are in a 3 × 4 grid (columns 0–2) with “2 of 3 made” under it. Back, then Delete under it, sit on the player’s own rows under the grid, and Play on their rows under the card (columns 6–8). The card is at (94, −3).
    • The runestone is over a 5-row chest: a 5 × 4 grid on its face (columns 2–6). Play sits on the chest’s last row, then Back and Delete on the player’s rows, all on columns 3–5. The card stands beside the stone at (200, 10).
    • Buttons on the player’s own rows work because the page empties their inventory, and the menu takes clicks there.
  • Pages.

    • Characters: click one to show it on the stage and its card. Play plays it, Delete then a character then Delete again deletes it, and Back closes.
    • Making one (a free slot’s +): the races, then the classes the race takes, then a last look. Clicking one dresses the character on the stage and puts its words on the card. Choose goes on, Make makes it, and Back goes back a step.
    • Right-click in the scene opens the menu at whatever step the player is at. The scene’s own clicks still work under it.
    • Version 13 (milestone 11): making a character happens only in the menu. It opens by itself when making one starts (a new player’s first visit, or New character in the scene), once the pack is on; shut, a click in the scene opens it again at the same step, and Sneak still goes back a step. The scene’s grey panel and its click-through of races and classes are gone while making one (the stage still dresses the character). Without the pack, and for Bedrock players (forms), nothing changed.
  • The card beside the character (scene) is a text display’s line in voxelforge:card. The card picture has its class picture in it (no turning item above), and the line is lifted so the card stands on its foot. Without the pack, and for Bedrock players, it’s version 8’s box of words. Dark words (ink on a parchment card) go without the line’s drop shadow.

  • Money is the character’s own when the map’s money is a wallet. Other money belongs to the player, so only the character they play shows it.

  • The pack. voxelforge:select holds:

    • the art;
    • its headings, drawn in PixelLab’s pixel fonts (gold serif for the book, runic for the stone);
    • the button plates at each button’s place;
    • the grid’s marks: a well, a + for a free slot, a padlock, a ring round the shown character and red over the ones being deleted;
    • the card with its class pictures and XP bar pieces.

    voxelforge:select_t<top> and voxelforge:card_t<y> are the game’s own font, lowered to each top a word sits at. They point at the player’s own font sheets. The game’s “Inventory” label is blanked (container.inventory in assets/minecraft/lang), since a drawn menu covers the player’s rows. When another part of the pack has a language file too, both keep their words.

  • Words.

    • Every word on the page is in a small 8 px pixel font: the card’s parts, the buttons’ words, the count, the race and class pages, and the click hints. Any character it hasn’t got is drawn in the game font.
    • The font is PixelLab’s, with each letter moved to the left of its cell so letters sit a pixel apart.
    • landing.font carries its letters’ advances, so the plugin centres and fits words exactly: { "advances": { "A": 8, … }, "space": 3 }.
    • A card’s words are cut to fit inside its frame (the card’s width less 20).
    • A race and class too wide for one line stack: the race 4 px up, the class 5 px down.
  • Badges.

    • A class’s or race’s own picture (an upload, or one of Voxelforge’s badges) is drawn over its square in the grid. That covers the characters’ classes, the race page and the class page.
    • The item under the picture is blank but keeps its tooltip.
    • The glyphs are E400 + 64L + 4i + r for class i on grid row r, and E500 + 64L + 4i + r for race i.
    • card.racesPictured lists the races that have a picture.
  • Click hints (landing.hints) are drawn in voxelforge:hint:

    • the action bar’s line, 40 px lower (the hotbar is hidden on the page);
    • the gold mice, in their own colours;
    • a 30 px space (U+2003) between hints, with no dot.
  • No chat on the page.

    • While a player is there, other players’ chat and the join and leave lines skip them.
    • Every other chat line waits and arrives, in order, when they leave the page (the newest 100). This covers another plugin’s welcome, /msg and their own joining line. Joining onto the page, it waits from the moment they join. Action bar lines (the click hints) still show.
    • Chat isn’t wiped with empty lines: the game draws its dark chat box behind those too, for 10 s. Lines already showing fade out on their own.
    • Paper has no way to stop another plugin’s message, so the plugin holds the lines in the player’s connection. If a Paper version moves what it looks for, the plugin logs a warning once and chat shows on the page.

Version 12: drawn talent pages

With talent trees and the drawn inventory, each class’s tree is drawn on Character info’s Talents tab, under the top row of tabs. /talents opens it there. Players without the pack, and maps without the drawn inventory, get the plain tree chest; Bedrock players get forms.

  • settings.talents:

    • drawn: the pack has the pages (the voxelforge:talent font).
    • pageReset: the page has Reset, a second click to confirm. Off: only a trainer resets talents.
    • resetPrice: what Reset on the page costs in the map’s money (0: free).
  • The page: the class’s picture covers rows 1–5 of the chest, at (7, 35) in the window, 162 × 90. The tree sits in rows 2–5, four rows at a time. Row 1 is left clear so the top sockets stay off the tabs. Over the picture, in this order:

    • each cell’s line tile, 18 × 18: dim, then lit where both ends are taken. Lines run as the plain chest’s do: down the first talent’s column to the row above the second, along it, then down into it;
    • each talent’s socket, 26 × 26, centred on its cell, so the shape shows round its 16 px icon;
    • the talents’ icons, as items. A click takes a rank, and the item’s number is the ranks taken.
  • Sockets:

    • by kind: round for an active talent, square for a passive, diamond for an upgrade;
    • by state: locked is dim grey, ready to take is the frame bright with a glow round it, taken is gold, and at its top rank gold with a star.
  • The top row’s free spots: ▲ (5) and ▼ (6) scroll a row at a time when the tree is taller than four rows; Reset (7) shows when talents are taken.

  • The plank reads “Warrior talents · 3 points”.

  • The editor: each class picks a look in the Classes dialog (Talent page):

    • one of six themes, A or B: Might, Arcane, Nature, Shadow, Holy, Death (PixelLab pictures in public/talent). A new class gets one by its name;
    • or their own 162 × 90 picture, made from the downloadable template;
    • the lines’, glow’s and sockets’ colours.

    None of it goes into adventure.json: it’s drawn into the pack.

  • voxelforge:talent’s codes:

    • class L (the first 24 classes) from U+E000 + 0x100 L: +0 the page’s picture;
    • for each of the four shown rows r (chest row r + 2), from +0x10 + 0x30 r: line tiles at +mask (dim) and +0x10 + mask (lit). A mask’s bits are up 1, right 2, down 4, left 8;
    • sockets at +0x20 + 4 kind + state. Kind: active 0, passive 1, upgrade 2. State: locked 0, ready 1, taken 2, top rank 3;
    • ▲ ▼ and Reset are U+F800–F802.

    Every glyph is as wide as its picture.

Version 12 also: the inventory’s hotbar spots and more sacks, station looks and sounds

"settings": { …, "inventory": { …,
"spots": { …, "sack": true, "sack2": true, "sack3": true, "character": true, "journal": true },
"sacks": [ // Item sack 2 and 3
{ "unlock": { "level": 15, "price": 0 }, // by itself at level 15 (with a price: sold by merchants then)
"rule": false, // true: only a rule action unlocks it
"levels": [{ "level": 20, "price": 0 }] }, // its own, as the first sack's
{ "unlock": { "level": 30, "price": 0 }, "rule": false, "levels": [] } ]
} },
"rules": [{ …, "then": [{ "do": "sack", "sack": 2 }] }], // unlocks Item sack 2 (or 3)
"stationKinds": [{ "id": "forge", "name": "Forge", "icon": "blast_furnace",
"menu": "forge-a", // its page's picture (unset: a ready-made kind's A; "plain": the HUD's look)
"glyph": 57355, // that picture's code point in voxelforge:inventory (0: the plain page)
"sounds": { "open": "minecraft:block.furnace.fire_crackle", "working": "minecraft:block.blastfurnace.fire_crackle",
"made": "minecraft:block.lava.extinguish", "done": "minecraft:entity.player.levelup" } }], // "" none
"recipes": [{ …, "category": "Bars" }], // its tab on the station's page (unset: worked out from the result)
"stations": [{ …,
"model": { "id": "vf-station-forge", "idle": "idle", "working": "working", "size": 1, "facing": "south", "raise": 0,
"showBlock": false, "bedrock": … }, // null: none; played as a loot box's model is (boxModels)
"block": "minecraft:blast_furnace", // the block under a model (it turns into a barrier while the model shows)
"work": { "particles": "lava", "sound": "minecraft:block.blastfurnace.fire_crackle" } }] // while anyone crafts there
  • The layout: the top row (slots 9 to 17) is two rings, a bracelet, a necklace and a charm, the divider, then the Ingredient pouch and Item sacks 1, 2 and 3. Character info and the Quest journal sit at the hotbar’s last two slots (7 and 8), ringed in gold on the hotbar on screen and in the inventory’s hotbar row (every look, Carved’s picture too, and the pages’).
    • A right-click while one’s held opens it (a station’s block still opens the station); so does a click in the inventory.
    • They never drop, move, go to the off hand or swap out with a number key. What was in those slots moves to a free one, else to the player’s feet.
    • Their base items do nothing of their own in the hand: a plain book for the journal, paper under Character info’s icon (the player’s head without the pack).
    • A map from before has the same layout when it’s played: its character and journal move to the hotbar. It has no extra sacks until it’s exported again (no sacks: sack2 and sack3 are off).
  • Item sack 2 and 3 are sacks of their own (players/…’s sacks: unlocked, level, things), 9 slots once unlocked, each growing 9 a level in its own levels.
    • Locked, the spot shows the sack with a padlock (voxelforge:inventory/sack_locked), its tooltip says what unlocks it, and a click says so too.
    • unlock with price 0 comes by itself at its level (from the start on a map without levels). With a price, a merchant with sack sells it once the level is reached.
    • With rule, only the sack action unlocks it. The action always can, whatever the sack’s own unlock.
    • A merchant with sack sells what’s next for each sack: its unlock, else its next level. His shop has a button for each, at slots 46, 48 and 50; Bedrock players get a form button for each.
    • Every sack holds any item, gear and materials alike (put in by hand). Only the Ingredient pouch takes materials straight in as they’re picked up or given.
    • Stations count and take materials from the pouch, the inventory and every sack the character has unlocked.
  • The journal has its “Your stats” button only on a map without Character info (Character info’s Character tab shows them).

The station’s page

  • Two halves. It’s a 6-row chest; with the pack it’s drawn: the kind’s picture (glyph) or the plain page in the HUD’s look.

    • Left: the recipes the character knows here, 16 a page under a tab for each category (the chosen one glows). With more than four categories, three show and an arrow brings the next ones. The arrows in the bottom corners page this half only.
    • Right: the chosen recipe’s materials in a 3 × 3 grid (each have / need, nothing taken until they craft), its result beside it (the XP, the time and the star chance), the bar under the grid, and Craft and Craft all.
    • Craft makes one. Craft all makes as many as there are materials for (a work recipe works once). While making, the buttons are “Making 2 of 5” and Stop, and they come back once it’s done.
  • Categories: a recipe’s category, else the editor’s from its result: Weapons, Armour, Tools, Jewellery, Upgrades (work recipes), Materials, else Other.

  • The bar is four slots’ items (voxelforge:inventory/bar_0 to bar_18): each draws 18 pixels, its own 16 and a pixel of the gap either side, so it runs unbroken over the gaps. The plugin moves it on every game tick, a pixel at a time. It stays full for 4 ticks as each one is made, then fills a little faster to finish on time.

  • Sounds: the kind’s open plays to the crafter as the page opens (Bedrock’s form too). Players nearby hear the rest at the station:

    • working (the station’s own work.sound in place of it, when it has one) about once a second, in step with its model’s working animation;
    • made as each one is made (on a map from before them: the pick-up pop, for the crafter);
    • done when the whole batch is done.

    Uploads are voxelforge:<map>.<id>, as items’ sounds are.

  • Models: a block station can wear an animated model in place of its block, played by the plugin as a loot box’s is: idle while nobody’s crafting there, working (looping) while anyone is. The block turns into a barrier (still there to right-click, an interaction box over it). Java players without the pack see a block display of block; Bedrock players see the model’s Bedrock entity (bedrock), as a loot box’s. The floating name sits over the model.

  • Bedrock players get forms: the categories, a category’s recipes, then a recipe’s materials with Craft and Craft all.

Recipes and blueprints

"recipes": [{ …, "learn": "open", // start, trainer, item, or open (anyone, no learning)
"blueprint": true, // it also needs a Blueprint, one used up for each one made
"charLevel": 15 }], // the character level it needs (0 or missing: none)
"items": [{ …, "recipe": "recipe-1" }, // a Recipe item: teaches it (known already: turns into blueprints)
{ …, "blueprint": "recipe-1" }] // a Blueprint item for it

A recipe can be learned, need a Blueprint, or both.

  • Station page: every recipe made at the station shows, for everyone. One the character can’t make yet has its name in grey, and its tooltip says why: “Needs Smithing” (the profession), “Needs Recipe: Iron sword” (learned from that item), “Learn it from a Smithing trainer”, “Needs Smithing 20”, “Needs level 15”, an AuraSkills or mcMMO skill.
  • Blueprints are one more material, one for each one made. They show in the grid and the tooltip as have / need, and come from the inventory or the sacks. A recipe whose Blueprint no item is can’t be made (the Check panel warns).
  • Recipe items: right-clicked, an unknown one is used up and teaches its recipe. A known one, whose recipe needs blueprints, opens a small page with “Turn into a blueprint” (one for one) and “Turn all”. Bedrock players get a form.
  • The editor makes a recipe’s own items when it’s learned from an item or needs a Blueprint and has none: “Recipe: Iron sword” and “Blueprint: Iron sword”, paper, stacking to 16, never materials. They go into loot tables and shops like any item. Items › “Teaches” and “Blueprint for” mark any item as one.

The word “Inventory”

settings.inventory.word is true when the pack blanks the game’s “Inventory”, the label over the player’s rows in every chest. The book and runestone character menus do this, since they cover those rows. The drawn pages (pouch, sacks, stations, Character info, a recipe’s blueprint page) then write it themselves on their plank, in voxelforge:inventory_t<20 + 18 × rows>, the game’s font lowered to it.

Version 12 also: pets’ looks and moves

"pets": [{ …,
"variant": "chestnut", // its mob's coat or kind (a horse's colour, a cat's kind…); "" or none: the game's random one
"look": { "kind": "model", "model": "…", "centre": [0, 0.6, 0], "box": [1.2, 1.2, 1.4] }, // as a mob type's look: vanilla, model, blocks, modelengine
"skills": [{ "id": "skill-1", "skill": "leap", "cooldown": 8, "range": 12, "weight": 1, "damage": 6, "radius": 3, "element": "none" }],
"moves": { "pick": "random", "pause": 2 } // as a mob type's
}]
  • Coats: variant is the game’s own name for the coat or kind: horses (white, creamy, chestnut, brown, black, gray, dark_brown, with no markings), llamas, parrots, foxes, rabbits, axolotls, cats, wolves, frogs and sheep (a dye colour). A name the mob doesn’t have is warned of, and it gets the game’s random one.
  • Looks are a mob type’s (see “Mob types”): its mob as it is, or, with the mob hidden underneath, one of the creator’s models (the exported box as a mob type’s has it; the model goes in the pack), a small build, or a ModelEngine model. The body still walks, flies or is ridden as its mob. Bedrock players see a model as they see a mob type’s.
  • Its name rides over the look, “Name’s pet name”, and a fighting pet’s health bar under it (the map’s health bar look). A mount shows neither: its rider sits there.
  • Moves: a fighting pet uses its skills, a mob type’s list without summon, at what it’s fighting, as strong as it is at its owner’s level (perLevel). Each is picked as a mob’s are (moves), when ready and in range of its target.
    • Hits (a charge, a landing, a slam, a fireball, arrows) land on its target and the hostile mobs around, never on players, other pets or NPCs. A pull drags mobs in.
    • An own move (move) runs as its owner’s ability from where the pet stands: “the player” is its owner, and “Hit everything around” hits the mobs round the pet. Aim at, warnings and shots are mobs’ steps and are skipped.
  • Its owner’s kills: whatever the pet hits counts as its owner’s, so a kill it makes is theirs (quests, drops, skinning).

Version 13: effects and shots (milestone 11, part 1)

"version": 13 adds effects: visuals that aren’t part of a body, such as impacts, shots and their trails, ground bursts, beams, auras and statuses’ looks, heals and shields. The project lists them under effects. The fx step plays one; statuses and zones loop one; and shots fly as one, with a trail and an impact. A dungeon has the same in its dungeon.json version 6.

Effects

"effects": [{
"id": "fx-1", "name": "Fire burst",
"kind": "impact", // cast, shot, trail, impact, area, beam, aura, heal, shield or movement (how the editor groups it)
"loop": false, // plays over and over while it's on (a status's or zone's look); otherwise once
"variants": ["own", "fire"], // the colours the pack has its tinted frames in: "own", an element, or "c" and hex digits
"colors": { "own": "#ffffff", "fire": "#f59a26" }, // each colour's middle, for tinted dust
"pieces": 1, // the most displays it shows at once (the crowd budget counts these)
"layers": [
{ "id": "layer-1", "name": "Blast", "type": "flipbook", "start": 0, "length": 0.86, "anchor": "body", "offset": [0, 0, 0],
"model": "voxelforge:fx/vf_isle_of_ash/fx-1", "frameW": 85, "frameH": 78, "frames": 12, "fps": 14, "loop": false,
"pivot": [44, 39], "size": 1.6, "facing": "camera", "tint": false, "aspect": 0.918 },
{ "id": "layer-2", "type": "particles", "start": 0, "length": 0.4, "anchor": "body", "offset": [0, 0, 0],
"particle": "flame", "shape": "burst", "count": 24, "radius": 1.3, "height": 2, "tint": true, "color": "#ffffff" },
{ "id": "layer-3", "type": "sound", "start": 0, "length": 0.05, "sound": "minecraft:entity.generic.explode", "volume": 0.5, "pitch": 1.4 },
{ "id": "layer-4", "type": "light", "start": 0, "length": 0.3, "anchor": "body", "offset": [0, 0, 0], "level": 13 }
]
}]
  • Layers each have their own start and length, in seconds.

  • flipbook: frames shown as a picture on an item display (size blocks wide, size × aspect tall).

    • Played once, each frame is an item model, <model>/<colour>/<layer>/<n>. The plugin swaps the display’s frame each tick the frame changes, spreading the frames over the layer’s length, so it always starts on its first frame.
    • With loop, it’s one item model, <model>/<colour>/<layer>/loop, whose picture the pack animates (an .mcmeta, round(20 ÷ fps) ticks a frame), so nothing is sent while it plays.
    • The colour is the play’s when tint is on, else own.
  • facing:

    • camera: always faces the viewer (billboard center).
    • upright: stands up and turns only about the up axis (vertical).
    • ground: flat, its top towards the way the effect points.
    • forward: standing across the way it points.
    • beam: stretched from the caster to the target, as two crossed pictures, size × aspect thick.
  • anchor:

    • feet: stands on the ground at their feet.
    • body: its pivot pixel is on the middle of their body.
    • head: rests on top of their head (a status’s look).

    offset moves it in blocks: forward (the way it points), up and right. On a mob or player, a picture facing the camera stands just in front of them rather than inside them. At a spot, feet is the ground under it, body the spot and head 0.9 above, and a standing picture never sinks into the ground.

  • particles: count of them over the layer’s length, in a shape: point, burst (outwards to radius), ring, sphere, spiral and column (up to height), or line (ahead, radius long). dust and entity_effect take the play’s colour (colors) with tint, else color. Other particles needing data are skipped.

  • sound: plays once at the layer’s start, a little higher or lower each time.

  • light: a light block of level shown to the viewers where the air is, put back when it ends. Nothing in the world changes.

Who sees it. Players within 48 blocks:

  • With the pack on Java, they see it whole.
  • Without the pack, and on Bedrock, they see its particles and hear its sounds.
  • Another player’s effect (not the viewer’s own or their party’s) follows each player’s setting, /vfa effects all|reduced|none: reduced is particles only, none is nothing.
  • Mobs’ effects and the world’s always show.
  • A player already shown 40 pieces of others’ effects sees any more as particles.

In the pack, written by the editor:

  • assets/voxelforge/items|models/fx/<map>/<effect>/<colour>/<layer>/…;
  • pictures under assets/voxelforge/textures/item/fx/…, the folder the game puts in the items atlas;
  • voxelforge:fx/empty, an item model that draws nothing, for shots.

A tinted layer, drawn in greys, is baked once for each colour the map plays it in. Each grey is mapped along that colour’s ramp, so a white-hot middle stays white-hot.

Playing effects

Action do fields does
fx fx, at, color, size, follow Plays the effect. at: player (the caster of a talent or item), target (the mob hit, or with nothing hit the mob the player looks at; in a mob’s steps, the player), spot, self (the mob whose step it is), between (from a player’s hand or a mob’s body to the target: a beam), look (where the player looks, within 32 blocks) or hand (version 13: at the caster’s hand, following it). color: "" as drawn, an element, or "#rrggbb". size times as big. follow: it moves with whoever it’s on.
  • Statuses: a status’s fx loops on whoever has it, in the status’s colour, while they have it. With two or more on someone, only the newest put on shows its pictures (they’d overlap over the head). The others’ particles, sounds and damage go on, and the one before shows again when the newest ends.
  • Zones: a zone step’s fx loops over the zone, in its colour, while it lasts. It’s sized by the zone’s radius ÷ 1.5.
  • Statuses’ targets: in a talent’s or item’s steps, the status action’s to: "target" with nothing hit is now the mob the player looks at (within 24 blocks), or nobody. Before, it was the player.

Shots

{ "do": "projectile", "kind": "small_fireball", "speed": 1.4, "damage": 6,
"look": { "fx": "fx-7", "trail": "fx-8", "impact": "fx-1", "color": "" }, // version 13
"hit": [{ "do": "status", "status": "status-2", "action": "add", "stacks": 1, "to": "target" }] }
  • look goes on a player’s projectile and a mob’s shoot step:

    • fx flies in place of the projectile, riding a snowball with no gravity that carries voxelforge:fx/empty, so only the effect shows.
    • trail is left every 2 ticks where the shot was.
    • impact plays where it lands, on the mob or player it hit.
    • All three are in the look’s color.

    Without fx, the vanilla projectile flies with the trail and impact. A shot that travels should always show its path: a look or a trail.

  • A player’s projectile’s hit (new) runs where it lands: the target is what it hit, and the spot is where it landed.

  • A status’s damage first ticks a second after it’s put on, so a status shorter than that never hurts.

  • Damage over time never knocks back: a status’s ticks, a zone’s, and the poison element’s own damage each second.

Talent pieces

New steps that talents, items’ abilities and mobs’ moves are built from. A player’s reach mobs; a mob’s reach players (never one in creative or spectator), and neither reaches NPCs or anything the map protects.

{ "do": "hit", "on": "cone", "damage": 5, "element": "fire", "radius": 6, "angle": 70, "width": 2,
"knock": 3, "apply": { "status": "status-2", "stacks": 1 }, "fx": "fx-1", "color": "" }
{ "do": "chain", "jumps": 3, "radius": 6, "damage": 6, "element": "none", "falloff": 20,
"apply": null, "beam": "fx-4", "fx": "fx-12", "color": "" }
Action do fields does
hit on, damage, element, radius, angle, width, knock, apply, fx, color Hurts whom on picks, damage of the element (times the caster’s spell power), each pushed knock blocks away from the caster (below 0: pulled in), given apply’s status, with fx played on them. on: target (the mob hit, or with nothing hit the mob the player looks at within 24 blocks, or within reach blocks when it’s set: a melee strike’s; in a mob’s steps, the player), around (within radius of the caster), cone (radius long and angle degrees wide, in front, within 3 blocks up or down) or line (radius long and width wide, in front).
chain jumps, radius, damage, element, falloff, apply, beam, fx, color Hurts the target (as hit’s), then jumps to the nearest not yet hit within radius of the last, jumps times, 3 ticks apart, each falloff% weaker. beam plays from the caster to the first and from each to the next; fx plays on each.
leap distance, height, land Throws the caster distance blocks their way (a player the way they look; a mob towards its target, no further), height high. The fall doesn’t hurt. land’s steps run where they come down (the spot), up to 5 s later.
blink distance, fx, color Puts the caster up to distance blocks their way (a mob: to just short of its target), stopped short of walls, with fx at both ends.
charge distance, damage, element, knock, apply, fx, color The caster rushes distance blocks their way, a block a tick, hurting each it passes through once (as hit’s, pushed knock blocks), fx left as a trail. A wall stops it.
grapple distance, pull, beam, color A player’s catches the first mob or block they look at within distance; a mob’s, its target. It pulls the caster to it, or with pull the one caught to the caster (a block can’t be pulled), for up to 2 s. beam is the rope. Missing, nothing happens.
totem mode, at, seconds, every, radius, damage, amount, element, apply, speed, look, loop, fx, color A totem stands at at for seconds. Every every seconds, by mode: hit hurts those within radius (with apply’s status); heal heals its side there by amount (a player’s: them and their party; a mob’s: mobs); shoot (a turret) shoots the nearest it can see within radius, a projectile speed fast with the shot look, doing damage. loop plays on it while it stands (pick a looping effect); fx plays on each one hit or healed.
trap at, seconds, radius, damage, element, knock, apply, loop, fx, color A trap at at, armed for seconds with loop on it. The first one it can hit to come within radius sets it off: everyone there is hurt, pushed knock blocks from it and given the status, with fx played there. Unsprung, it goes when its time is up.
orbit count, radius, seconds, speed, damage, element, apply, loop, color count blades circle the caster radius blocks out for seconds, speed turns a second, loop played on each. Each one they touch is hurt, at most twice a second.
decoy at, seconds, radius, size, damage, element, knock, fx, color A copy of the player (their skin, holding what they hold) stands at at for seconds. Nobody’s hits reach it. Mobs within radius go for it and can’t pick another target while it stands. Then it bursts: those within size are hurt and pushed knock blocks, with fx played there. A mob’s decoy is only the burst, seconds later at its spot.

| shield | to, radius, amount, seconds, loop, color | Each it’s for absorbs amount damage (times spell power) for seconds: the game’s absorption, drawn as the gold layer on the HUD’s health bar. A new shield replaces the old one. Going up it chimes with gold sparkles; used up, it shatters (glass breaking). loop plays on them while it holds. | | cleanse | to, radius, status, fx, color | Takes status off each it’s for; with status "", every status, the game’s harmful effects (poison, slowness, wither…) and fire. fx plays on each. | | aura | radius, seconds, effect, amount, loop, color | For seconds, each second the caster’s side within radius gets effect (the game’s, { "id", "level" }, lasting while they stay in it) and is healed amount. loop plays on the caster. | | stealth | seconds, bonus, fx, color | The caster hides for seconds: invisible, and mobs lose track of them and can’t pick them as a target. Their first hit does bonus% more. Hitting or being hit ends it. fx plays where they hid. | | repeat | count, every, at, then | Runs then count times, every seconds apart (the first at once). Each run has the same spot: look, where the player looked when it started (a mob’s: its target’s feet); feet, the caster’s; none, the step’s own (a landing’s). For a meteor, put a wait and then a hit on spot. For rain, repeat a hit on spot with an effect at the spot. |

  • to (shield, cleanse): self, the caster; party, the caster and their side within radius (a player’s: their party; a mob’s: mobs).
  • hit’s on: "spot": everyone within radius of the step’s spot (a landing, a repeat’s spot), or the caster with no spot.

Looks that last. An effect shown for something that lasts (a totem’s, trap’s, blade’s, shield’s or aura’s loop, a status’s or zone’s look, a shot’s) plays over and over until it’s over, even when the effect isn’t a loop itself. Its pictures stay up from the last frame to the first, with no gap.

Where placed things go (at): feet, the caster’s spot; look, the ground where the player looks (within 24 blocks), or in a mob’s steps its target’s feet.

Aiming at a mob is forgiving. “Where the player looks” and “the mob the player looks at” pick a mob their look passes within a block of (before any wall), so a meteor lands on it rather than the ground behind it. The look spot is then that mob’s feet. All of them go when the plugin stops.

Shots’ paths. A player’s projectile and a mob’s shoot step take a path:

"path": { "pierce": 3, "bounce": 0, "homing": 8 }
  • pierce: it goes through this many more after the first it hits.
  • bounce: it then flies on to the nearest it can hit within 8 blocks of the last, this many times. With nobody left in reach, it ends there.
  • homing: it turns up to this many degrees a tick (0 to 45) towards its target:
    • a player’s: the mob they look at when they shoot, else the nearest in front of the shot within 12 blocks;
    • a mob’s: the player it shot at.
  • from: "sky" (with scatter, in blocks): it starts 14 blocks over its spot (4 back towards the caster, so it slants in) and falls onto the ground there, at random within scatter of the spot. A player’s spot is the step’s (a repeat’s, a landing’s), or where they look; a mob’s, where its target stands. Without a look it’s a snowball. For a meteor, drop one with its hits in hit on spot. For a rain, put it in a repeat with a scatter.
  • Each it goes through or bounces off is hurt as its hit would be, and gets its impact and the hit steps (as where it landed). Its last hit lands as any shot’s does.
  • Whom it can’t hit, and whom it’s hit already, it passes through: a player’s shot flies past other players and NPCs.
  • Without path (or with all three 0) it flies straight, as before.

Items with right-click abilities are never placed as blocks, even while the abilities cool down (a wand made from a lightning rod used to be).

Casting

A right-click ability (use, useSneaking) and an active talent take a casting:

"casting": { "seconds": 1.5, "channel": 0, "every": 1, "charges": 0 }
  • seconds: casting this long before the steps run. Moving (more than a third of a block along the ground) or a strong hit (a tenth of the player’s health or more at once) breaks it. Mana and the cooldown are only spent when it lands, so a broken cast costs nothing.
  • channel: after that, the steps run again every every seconds for this long; moving or a strong hit stops it.
  • charges: with 2 or more, that many uses are stored, and each comes back after the cooldown, one at a time, in place of a plain cooldown. (An item ability’s own charges, uses before the item is used up, is a different field.)
  • While a player casts or channels, they can’t change hotbar slot or swap hands.
  • hand, feet, color: effects (ids from effects) looping at the caster’s hand and at their feet while it casts or channels, in a colour (as the fx step’s).

Charged looks. An item whose ability casts, or a class’s weapon, can have a charged look: a second picture, its icon lit up, that it shows while its holder casts or channels. The item carries charged: true; the pack has its own copies of the item’s looks (model, its counter’s model, square, all under voxelforge:charged/<map>/…), each switching to the charged picture on custom_model_data flags[0], without the hand’s down-and-up. The plugin sets the flag on the held item for the cast.

Action do fields does
cast name, seconds, steady, hand, feet, color Casts for seconds before the steps after it run (in a mob’s move, a player’s rule or a talent). A mob stands still while it casts; a player’s cast breaks as above. Broken or interrupted, the steps after it don’t run. steady: interrupt steps and strong hits pass it by. hand, feet: effects looping at the caster’s hand and feet while it casts.
interrupt on, radius Breaks the cast of the target (on: "target"), or of everyone it can hit within radius (around), unless it’s steady.

The cast bar. With the drawn HUD (settings.hud.bars), a player’s cast is drawn right above the plates in the HUD’s look, 96 × 14: the spell’s icon (the item’s or talent’s picture, half size) in a socket, then the bar, gold when it can be interrupted and grey when it can’t, with the spell’s name and the seconds left on it in small capitals. It fills as it casts, drains as it channels, and flashes red when it breaks. The air bubbles there hide while casting. settings.hudLook.castIcons lists the items whose pictures the pack has as cast icons (glyph U+E100 plus each one’s place). Without the drawn HUD, the bar is a line on the action bar.

A mob’s cast shows over its head (the spell’s name and a thin bar, gold or grey), and a boss’s bars read “Name · Casting Meteor” while it casts.

Procs

A passive or upgrade talent can carry a proc:

"proc": { "when": "crit", "chance": 10, "every": 0, "then": [ /* steps */ ] }
  • when: hit (the player’s hit on a mob lands, from a weapon, a talent or an ability), crit (one is a critical hit), kill, dodge (the player dodges a hit), hurt (something hits the player) or cast (the player casts an active talent; an upgrade’s, only its own talent).
  • chance: percent, for each rank taken (two ranks of 10: 20%).
  • every: it fires at most once every this many seconds (0: whenever it rolls). A proc’s own steps never set procs off again at once.
  • then: steps, run as the talent’s: “the player” is its owner, and the target is the mob hit or killed, or what hit them.

Items’ abilities take the new triggers crit and dodge (a weapon’s own critical hit, the player dodging) and, with hit, crit, hurt, dodge and kill, a chance in percent (absent: 100).

Action do fields does
freeCast talent, seconds, instant The player’s next cast of active talent talent ("": whichever they cast next) within seconds is free: no mana and no cooldown, even while it’s cooling down. instant skips its cast time (a channel still channels). A chime plays. Map rules only.
resetCooldown talent Active talent talent’s cooldown ends now and its stored uses all come back ("": every active talent’s). Map rules only.

A free cast shows as a buff in the drawn HUD, left of the cast bar: the talent’s icon (for "", the icon of the talent or item whose proc gave it) in a socket with a lit gold rim, and the seconds left beside it, the newest two shown. settings.hudLook.castIcons has these icons too. Without the drawn HUD, the action bar says “Volley is free”.

Formulas

Any step’s number can be worked out each time the step runs. The step keeps its numbers and adds formulas beside them, by field (a plugin without formulas uses the numbers):

{ "do": "hit", "on": "target", "damage": 6, "formulas": { "damage": "20 + 5 * rank" } }

A formula is plain maths: + - * / (× and ÷ too), ^, brackets, and min(…), max(…), round(…), floor(…), ceil(…), abs(…), with these values:

Value is
rank the talent’s rank (its own, or the proc’s talent’s; 1 elsewhere)
level the caster’s level: the player’s character level, or a mob type’s level in its moves (a player’s is 1 in a dungeon run)
power the caster’s spell power (1 is none; a talent’s per-rank strength is in it too)
party how many are in the player’s party (1 alone)
health, maxhealth the target’s health and max health (the caster’s when there’s no target; a hit on the target reads the one it will hit)
myhealth, mymaxhealth the caster’s
{name} the map’s number variable name (the player’s, the party’s or the world’s copy, as it’s kept)
%placeholder% a PlaceholderAPI value that reads as a number

A whole-number field (a count) takes the formula rounded. A formula that can’t be worked out (a typo, an unknown name, a division by 0, a placeholder that isn’t a number) leaves the step its number, and the server log says why once. In the editor, the ƒ beside a step’s number puts a formula in its place, with its value at rank 3, level 12 (and the other values’ samples) beside it, red when it can’t be worked out.

Hotbar spells

An active talent’s bar says how it’s cast: "combo" (or absent) with its click combo, "spell" as a spell on the hotbar, or "either", as the player picks (on the bar it’s a spell; off it, its combo). A talent cast as a spell carries spellModel, its spell item’s look in the pack (its icon, darkened on custom_model_data flags[0], with the cooldown counter as items’ have it, without the hand’s down-and-up). settings.talents gains spellSlots (how many spells fit on the bar, 1 to 7; 5) and sharedCooldown (seconds every spell waits after any spell; 0.75).

  • The bar: spells sit in the hotbar’s slots 1 to 7 (8 and 9 are Character info and the Quest journal), saved for each character and class. The Spell book (/vfa spells) puts them on and takes them off; a right-click on one while the inventory is open takes it off.
  • Rules: a spell moves only within slots 1 to 7. It can’t go into the inventory, the off hand or a container, can’t be dropped, and stays on the bar through death.
  • Casting: pressing a slot’s number only puts the spell in hand; a left- or right-click, or F, casts it (a click on a mob casts rather than hits). Its cooldown counts down on its icon; a stored-uses spell shows how many are left as its count; it darkens while the character is short of its cost. After any spell every spell waits the shared cooldown.
  • The weapon: while a spell is held, the weapon held last keeps its stats (spell power, damage, mana). A player’s “back to the weapon” switch (in the Spell book) puts the weapon back in hand after each cast.
  • The Spell book: Character info’s tab in the Skills tab’s spot (the skills go onto the Professions page, or into its spot on a map without professions), named by the class’s book (“Combat book”; empty: “Spell book”). The class’s actives in rows of 7 over its talent page’s picture, each over an active’s socket, lit when it’s on the bar; ▲ and ▼ for more. Hover one and press 1–7 to put it in that hotbar slot; right-click takes it off. Click one, then one of the four combos in the bottom row, to put it on that click combo (the player’s own combos, kept for each class; right-click a combo clears it). Spot 7 of the top row: back to the weapon. Without drawn pages it’s the same chest; without the drawn inventory, /vfa spells opens a plain chest of the spells. Bedrock players get a form, and can put any active on the bar (combos are awkward on a controller).
  • Frames: each spell’s icon is drawn at 2× in a 64 × 64 frame in its class’s talent-page theme (Might, Arcane, Nature, Shadow, Holy, Death), 4 px clear of it; custom_model_data flags[1] lights the frame (a glow in the theme’s colour) while a proc makes its next cast free, and the item glints.
  • A talent’s own picture: a talent’s picture in the editor (a square PNG, 64 × 64 for a 64× pack) takes its icon’s place in the tree, in the Spell book and on its spell (framed in a frame drawn as many times bigger as it needs, so it keeps the same room); in hand its spell shows the picture alone. adventure.json carries pictureModel, the picture’s item model in the pack, not the picture; icon stays for players without the pack and on Bedrock.
  • aim: an aimed spell (its radius in blocks, 0 for none) shows a ring of the class’s colour on the ground where the player looks while it’s held, seen only by them: where its steps’ “where the player looks” spot will be.

Body animations

A mob type’s (or pet’s) model look whose model is a Blockbench model with animations moves: the plugin plays its bones itself, as it plays a loot box’s model (one item display per bone, frames every step ticks, the game easing between). Its bones and frames go in boxModels under the model’s id, beside the boxes’, with every animation the model has (a move or step may name any of them); a model a box wears too is there once.

  • look.anims: { "idle", "walk", "attack", "hurt", "death" }, each the name of one of its animations or null. The editor fills the ones the creator didn’t pick from the names (walk, run → walk; attack, swing, bite → attack…). idle loops while it stands, walk while it moves; attack plays as it hits a player in melee, hurt when something hurts it, death where it dies (the bones stay there till it ends, then go). A look without anims stands still, as before.
  • look.head: the bone (by name) that turns to where the mob looks; the model’s boxModels entry has it as head: { bones, ref, pivot }: the bone displays that turn with it, and the one it turns about with its pivot in that display’s own space. It turns at most 70° from the body and 40° up or down.
  • A move’s anim: a mob skill (ready-made or own move) may name an animation that plays as it starts.
  • The anim step ({ "do": "anim", "anim": "slam" }, mobs’ moves, abilities and phases): the mob’s model plays that animation now.
  • Either stands in for walking and standing until it ends; a hurt doesn’t cut a move’s animation short. Players without the pack and Bedrock players see the model standing still (the model look’s display).

Class forms

A class’s forms (milestone 11, item 17: a Druid’s bear and cat) are shapes its characters shift into: { "id", "name", "icon", "look", "size", "stats", "self" }.

  • look: a model look as mob types have (with its box, and anims and head when its model moves; its bones in boxModels), or vanilla for none: the character keeps their own body and only the stats and bar change. In a model form the character is invisible and their gear hidden from others (their armour from themselves too); the model rides them size times as big, moving as a mob’s does (standing, walking, a melee hit, hurt). With self (the default) they see it too, all but its head (in third person, and its arms in first); with self false it’s hidden from them (a tall model that would fill their view).
  • stats: stat lines on top of the character’s own while in it.
  • The form step ({ "do": "form", "form": "form-1" }, maps only): the player shifts into that form of their class’s; into the form they’re in, or "", back to their own shape. Dying, leaving the map, another character or class also bring them back; a form isn’t saved.
  • The hotbar in a form is the form’s own. Shifting in sets aside the hotbar’s items (all but its spots, Character info and the Quest journal) and the off hand’s, in the save (PlayerSave.formStash, by inventory index), and shifting back puts them back where they were. Slots 1 to 7 hold the form’s layout: the form’s own spells the character knows and the ones that shift into or out of it, set for them and locked (they can be moved among themselves, not taken off, and nothing else goes in; the Spell book can’t change it). Its empty slots are the form’s claws: a click hits with the form’s own stats (no weapon is held). The hotbar’s last two are its spots, or blank and can’t be held. Nothing else is used, eaten or drunk; a pickup goes to the inventory’s rows. Dying in a form, what was set aside drops (or goes back, when inventories are kept); quitting in one, it’s put back when they’re next on the map.
  • Bars: spells on the hotbar and combos are kept per form (PlayerSave.spells and combos under "<class>/<form>"): a layout keeps the order the character last moved its spells into, else their own bar’s slots (the same key shifts back). A spell moved on one bar moves on the class’s others that have it too.
  • A talent’s form: an active only cast while in that form (“Stone slam: only in Stone form”), and only ever on that form’s hotbar, never the character’s own (the Spell book and Character page say so). In a form, only its own talents and the ones that shift cast, by spell or combo.
  • Spells in a model form aren’t seen in hand, first person or third (the model swings its own arms): their items carry the flag vf_form in custom_model_data strings[1], and on a map with model forms the pack wraps the class’s spells’ looks to show nothing in hand for it. Nothing else is held in a form but its spots (Character info, the Quest journal), which show as themselves. (The plugin never sends a player a stand-in for their own held item: the client puts it in the slot it has selected when it arrives, which while scrolling is another slot, and the hotbar showed doubled or changed icons.)
  • The “Play a body animation” step works on a player in a model form too.

Version 13 also: the UI painter and custom menus

The UI painter (Library → UI Elements → New painting, or Paint beside a page’s picture field) paints over a template of one of Minecraft’s windows or one of Voxelforge’s pages, so what’s painted lines up with the game’s slots. Custom menus (Logic → Menus) are windows of the map’s own, drawn by a painting, whose buttons run steps. The editor’s code is paintings.ts (model and templates), paintRender.ts, paintChecks.ts, paintFonts.ts, paintPack.ts and menus.ts; the plugin’s is MenuDefs, Menus and PaintedMenu.

"paintings": [{
"id": "painting-1", "name": "Bank", "template": "chest3", "scale": 4,
"font": "paint_0", // its glyphs are in voxelforge:paint_0
"centred": false, // a dispenser's or furnace's window centres its title
"word": true, // drawn on the map's look: "Inventory" written when the pack blanks the game's
"tiles": [{ "code": 57344, "x": 0, "w": 59 }], // the flat art, each tile at x (GUI px from the window's left), w wide
"parts": [{ "id": "part-…", "code": 58368, "grey": 58369, "x": 7, "w": 72,
"show": [/* conditions */], "button": "button-…" }], // drawn by itself: switchable, or a button's
"words": [{ "id": "part-…", "text": "{player} has {money} gold", "letters": "body32",
"font": "paintw_body32_t31", "x": 88, "top": 31, "align": "centre",
"color": "#3a2a18", "shadow": false, "max": 0, "show": [], "button": null }],
"uses": ["chest6"] // Voxelforge's pages it's drawn over
}],
"paintFonts": { "body32": { "advances": { "A": 4, … }, "space": 3 } },
"menus": [{
"id": "menu-1", "name": "Bank", "painting": "painting-1",
"window": "chest", "rows": 3, // chest (1–6 rows), hopper, dispenser or furnace
"title": "The Bank", // in words: without the pack, and Bedrock's form's title
"text": "You have {money} gold.", // Bedrock's form's words
"buttons": [{
"id": "button-…", "slots": ["c18", "c19", "c20", "c21"],
"name": "Put in", "lore": "Put 100 gold in the bank", // its tooltip
"icon": "", // "vf:<item>", a vanilla item, or "" (a blank item: the painting shows)
"count": 1, "glint": false,
"if": [/* conditions */], "whenNot": "grey", "reason": "Needs level 5",
"left": [/* steps */], "right": null // a right click's own steps (null: the left's)
}]
}]
  • Templates. Chests of 1–6 rows, the hopper, dispenser and furnace (each window over the player’s rows), the inventory screen, Character info, a station’s page, a talent page, the progress card, and free-size pieces (buttons, tags, badges, frames, up to 256 × 256) to place in other paintings. A template knows where the game puts each slot, where it writes the title and “Inventory”, and what it draws over the art (the furnace’s and inventory’s recipe book button, the player’s figure).
  • Detail. Each painting is 1×, 2× or 4× (a 4× chest is 704 px wide, for a 64× pack). Its glyphs are drawn at that many pixels a GUI pixel, and art over 256 of its own pixels either way is cut into tiles (the game drops a bigger glyph). A glyph high in the window gets see-through rows under it so its ascent (13 − its top) stays within its height.
  • Parts. Pixel layers, pictures (UI Elements’ pieces, the map’s other paintings drawn flat, uploads; stretched whole or in nine pieces), slot wells and words, bottom to top. Words are painted in a pixel font: body and heading (8 GUI px tall; PixelLab’s 16 px fonts at 2× and 32 px at 4×) or the 8 and 12 px fonts, with an outline, shadow and fade.
  • What the plugin draws by itself:
    • Live words are filled in each time the menu opens: {player}, {level}, {class}, {race}, {money}, {xp} (% into the level), {var:name} and PlaceholderAPI’s %…%. Their font is the painting font’s letters (white, so they take their colour; left-aligned in their cells) at the top they sit at, with the game’s font for anything else. The plugin measures them with paintFonts (or the game font’s widths for "game"), centres them on whole GUI pixels, and cuts them with “…” to max.
    • Switchable parts show only while their show conditions hold.
    • A button’s parts (its plate and words) are hidden with it, or drawn from their greyed glyph.
  • Buttons. Clicking any of a button’s slots runs its steps for the player (a rule’s steps; “Open a menu” also goes Back or Closes). A greyed button says its reason and plays a “no” sound. Its first slot shows its item; the rest hold a blank item (voxelforge:blank) that keeps the tooltip. After a click, a menu whose title can change (live words, switchable parts, buttons with conditions) opens again to show it.
  • Opening. The menu step ({ "do": "menu", "menu": "menu-1", "action": "open" }; "back", "close") in rules, conversations, quests’ rewards, items’ abilities and other buttons; an NPC’s menu role (straight away with nothing to say, otherwise a choice after its words); and /vfa menu <menu> [player] (a player needs voxelforge.command.menu). Each player keeps the menus they came through for Back; closing the window forgets them.
  • Bedrock players get a form: the title, text filled in, and the buttons by name (greyed ones with their reason in brackets, hidden ones left out), then Back when there’s a menu to go back to.
  • Voxelforge’s pages. A painting’s uses draws it over the page’s own art: chest1–chest6 (the pouch, the sacks and blueprint pages of that many rows), character (Character info, under the chosen tab’s ring), station:<kind> (that kind’s page) and talent:<class> (in place of the class’s talent picture). The inventory screen’s painting is its texture (256 × the painting’s scale across). The progress card’s is its picture, drawn at 1× for now.
  • Without the pack, a menu is a chest (or hopper, dispenser, furnace) with the buttons’ items and its title in words.

Version 13 also: zones, travel stops and music (milestone 11, part 2)

A big map’s world layer. Zones (the big parts of the land, each for some levels) and the places inside them (cities, towns, outposts, landmarks) are painted with a brush on the editor’s world map (J → Zones and travel), travel stops are dropped where they go, and each zone, place and boss fight can have music. The editor’s code is world.ts (the model and painted cells), worldMusic.ts, worldArt.ts (the drawn land), worldPack.ts (the export and pages) and ZonePainter.tsx; the plugin’s is WorldDef, Zones, Music and TravelMenu. Small maps leave it out (Check says so).

"world": {
"cell": 8, "size": 2048, // blocks a painted cell side; the map's side the cells cover (centred on 0, 0)
"zoneCells": "0*a3,1*k,…", // each cell's zone number (0: none), run-length coded "n*count" in base 36,
"placeCells": "0*1z5,3*4,…", // west to east, then north to south; places have their own grid
"zones": [{
"id": "zone-…", "n": 1, "name": "Middle isle", "levels": [1, 5],
"music": { "sound": "vfmusic:<map>.1", "seconds": 296.8, "volume": 1, "gap": 10, "music": true },
"ambient": { "sound": "minecraft:ambient.cave", "seconds": 9.2, "volume": 0.6, "gap": 25, "music": false },
"places": ["place-…"], "stops": ["stop-…"] // what's in it (for the counts)
}],
"places": [{
"id": "place-…", "n": 1, "name": "Harbour town", "kind": "town", // city, town, outpost or landmark
"zone": "zone-…", "xp": 10, // XP for finding it (the editor works out a tenth of a level at its zone's lowest)
"respawn": { "pos": [4, 11, 4], "yaw": 0 }, // where players who die nearby come back (none for a landmark)
"music": null, "ambient": null // its own, over its zone's
}],
"stops": [{
"id": "stop-…", "name": "Northport ferry", "kind": "ferry", // coach, cart, boat or ferry
"spot": { "pos": [-300, 6, -760], "yaw": 0 }, // where travellers arrive; within 10 blocks finds it
"price": 25, // in the map's money; 0: free
"npc": "npc-…", "block": [-298, 6, -760], // what opens the map there: its driver, its signpost (either, both)
"sound": "minecraft:entity.boat.paddle_water", // played on the trip
"zone": "zone-…", "place": "place-…"
}],
"bosses": [{ "mob": "mob-…", "track": { "sound": "vfmusic:<map>.7", "seconds": 344.2, "volume": 1, "gap": 2, "music": true } }],
"fade": { "font": "vfworld_fade", "code": 57344 }, // a trip's dark screen: a black glyph shown as a title (null: blindness)
"pages": { // the drawn travel pages (null: none; Java players then get a plain chest)
"world": {
"painting": { /* as paintings' entries are, its font "vfworld_0" */ },
"marks": "vfmarks_0", // the page's own marks' font
"mark": [{ "kind": "fog", "id": "zone-…", "code": 57344, "x": 7, "w": 54 }],
"area": [7, 17, 108, 108], // the land on the page: left, top, width, height (GUI px)
"rect": [-1024, -1024, 1024, 1024], // the blocks it shows: west, north, east, south (map blocks, less the origin)
"slots": { "c0": { "zone": "zone-…" } } // what each slot does
},
"zones": { "zone-…": {
"painting": { /* … */ }, "marks": "vfmarks_1",
"mark": [{ "kind": "stop", "id": "stop-…", "code": 57345, "x": 60, "w": 9 }], // stop, faint, place, giver, turnin
"area": [7, 17, 144, 108], "rect": [-760, -432, 616, 600],
"slots": { "c8": { "button": "back" }, "c17": { "button": "prev" }, "c26": { "button": "next" },
"c31": { "stop": "stop-…" }, "c22": { "place": "place-…" } }
} },
"dyn": { "font": "vfmarks_dyn", "you": 57344, "goal": 57856, "top": 15, "rows": 112 }
}
}
  • Zones and places. One painted layer: big zones, and places painted inside them (a place belongs to the zone under most of it). Discoveries, music and wild mobs (below) read it. Walking into one the first time shows its name as a title (“Middle isle”, “Levels 1-5 · discovered · +12 XP”), gives its XP (a zone: a tenth of a level at its lowest level; a place: xp) and a chime, and says so in chat; later visits show its name on the action bar. What a character has found (zones, places and stops, by id) is kept in their save (found).
  • Travel stops. Coming within 10 blocks finds one (“Travel stop found”). Its NPC (one with quests to give talks first) or its block opens the map there. The world page shows the land with the zones not found yet hatched over and the player as a red dot; clicking a zone (on the land, or its row in the list) opens its page: the zone’s land with the land round it faded, its stops (a gold or blue diamond once found, a faint outline before), the names of its places found, quest givers’ ! and ?, the player and their tracked quest’s objectives (gold rings), and Back, previous and next zone down the right. A found stop’s tooltip has its fare; at a stop, clicking another pays it and travels: the screen fades to black with “Travelling to …” and the stop’s sound for 2–4 s by distance, the player safe from harm and mobs on the way, then it fades back in at the far stop. The black is fade’s glyph shown as a title (64 × 16, 256 GUI px tall, so it covers the screen at any size and fades with the title); Bedrock players get blindness instead. Party members standing at the same stop are asked “Come along to …?” and pay their own fare. The journal (its World map button, or /vfa map) opens the same pages to look at; travelling needs a stop. Without the drawn pages the map is a plain chest of found stops. Bedrock players get forms: at a stop, a button a found stop with its fare and where it is; from the journal, the zones with what’s been found in each.
  • The drawn pages. The map’s paintings with the “World map page” and “Zone page” templates (UI Elements, or the zone painter’s Pages buttons; Voxelforge’s own at 4× when it has none). The land is drawn at export from the map’s region previews as a parchment map (sea washes and an inked coast, wave ticks, trees where it’s forest, hill shading and contours, zone borders, zone names in small lettering) into the painting’s part whose picture is world-map-<w>x<h> (the world page’s land), world-zone-<w>x<h> (a zone page’s) or world-list-<w>x<h> (the zone list). Live words take {places} (the world page: “12 of 40”) and {zone}, {levels} and {found} (a zone page: “3/8”). Each page is its own painting font (vfworld_<n>); the marks the plugin shows for each player are glyphs in vfmarks_<n>; the player’s dot and objectives can be anywhere, so vfmarks_dyn has each a GUI pixel down from top (the plugin moves them across with spaces).
  • Music. A zone’s or place’s track (a place’s over its zone’s), or a boss’s while its bar shows for the player (within 48 blocks of a living boss of that mob type), plays on the player’s Music volume, following them, again after its length and gap seconds of quiet. Changing tracks stops the old one at once and starts the new one 2 s later. An ambient loop plays on the Ambient volume every gap seconds (0: as it ends). Tracks are the game’s music (the pack’s vfmusic:<map>.<n> events point at the game’s own files, streamed), the game’s sound events, or uploads (.ogg, up to 8 MB for music). With muteGame (and any music set) the pack empties the game’s own background music events (all music.* but the menu’s and the credits’), so only the map’s plays. Players turn music off and on with /vfa music [on|off] or the journal’s Music switch (kept in their save) until the Settings page comes.
  • Deaths. A player who dies comes back at the nearest of the respawn points they’ve reached, the cities, towns and outposts they’ve found (each place’s respawn, or its middle on the ground) and the travel stops they’ve found, keeping their inventory and XP as the map’s death rules say.
  • Commands. /vfa map (the world map, to look), /vfa music [on|off]; for other plugins and steps, /vfa travel <player> (the map at the found stop they’re at: a conversation line’s command) and /vfa find <player> <zone, place or stop id> (found without going there: a quest’s reward). Only a bare /vfa map from a player is the world map; /vfa map list|reload|give …, from the console too, are still the admin’s (and an admin’s bare /vfa map on a map with no world layer still lists the maps).

Wild mobs, levels, rares and elite camps (milestone 11, item 15)

The world layer’s wild (the zone painter’s Wild tab; the editor’s wilds.ts and WildTab.tsx, the plugin’s Wilds and MobLevels). Missing: no wild mobs, rares or camps.

"world": {
"wild": {
"perLevel": { "health": 10, "damage": 5, "xp": 10 }, // % more (less) a level above (below) a mob type's own level (0 as 1)
"elite": { "health": 3, "damage": 1.5, "xp": 2.5 }, // × an elite camp's mobs (made for two players)
"clear": 24, // no wild spawns within this of a city, town, outpost or travel stop
"roads": ["minecraft:dirt_path", "minecraft:cobblestone", "minecraft:gravel"], // nor within 3 blocks of these
"spawns": { "zone-…": { // by zone id
"mobs": [{ "mob": "mob-…", "weight": 3, "time": "any" }], // any, day or night
"cap": 6 // the most alive within 48 blocks of a player
} },
"rares": [{ "id": "rare-…", "mob": "mob-…", "spot": { "pos": [108, 64, -148], "yaw": 0 },
"level": null, // null: one above its zone's top
"respawn": [20, 40], // minutes after it's killed, between the two
"loot": "loot-…" }], // rolled for each player who fought it (null: none)
"camps": [{ "id": "camp-…", "name": "Bandit camp", "spot": { "pos": [196, 64, -84], "yaw": 0 }, "radius": 6,
"mobs": [{ "mob": "mob-…", "count": 3 }], "level": null, // null: its zone's top
"respawn": 10 }] // minutes after it's cleared
}
}
  • Wild mobs. Every two seconds, for each player in a zone with wild mobs (not inside a city, town or outpost), one spawns 20–40 blocks off while fewer than cap are within 48 blocks: a pick by weight among the zone’s mob types for the time of day, at a random level in the zone’s range, on open ground (not water, room to stand) in the same zone, no closer than 16 blocks to any player, and not within clear of a respawn place or a stop nor 3 blocks of a road block. One nobody’s come within 72 blocks of for 30 s goes (they’re never saved with the world).
  • Levels. A mob type’s level was only a label; now it’s the level its stats are made for. A mob spawned at another level (a wild one, a rare, a camp’s) has its health, damage, its skills’ damage and its XP × (1 + perLevel% × the levels between). Its badge shows its own level.
  • Level gaps, WoW’s way (any mob with a level, on a map with levels on). Each player sees a mob’s badge in the colour of the gap to their own level: red 5+ above, orange 3–4, yellow within 2, green below that, grey at or under WoW Classic’s grey level (level − 5 − level/10 from level 6 to 39; level − 1 − level/5 to 59; level − 9 after). A grey mob gives its killer no XP; a higher one +5% a level (up to +20%), a lower one −10% a level (down to a fifth). A mob 5+ levels above its target hits 10% harder a level from 5 (up to double), and the target’s dodge is 15% less a level (down to none). Each player sees their own colours: a display shows one text to everyone, so players who’d see the name line differently get a copy of it made for them (the drawn bar’s frame layer, or the text bar), and the shared one is hidden from them.
  • Rares. A rare is a mob type of its own (its name, moves and loot) at a spot, with “Rare” after its badge in silver. It spawns, on the ground near its spot, when a player comes within 96 blocks and its time has come; killed, it’s back after respawn minutes (between the two), and loot is rolled for each player who fought it (on top of the type’s own). The timer isn’t kept over a restart.
  • Elite camps. A camp fills when a player comes within 64 blocks: its mobs, elite (“Elite” in gold after the badge; × elite), round its spot. They walk back (not healed) when they stray 16 blocks past its radius. Cleared, it fills again after respawn minutes; left alone for 30 s, its mobs go and it’s full again for the next visit.
  • /vfa map list adds what’s out: “3 wild mobs, 1 of 1 rares up, 0 of 1 camps filled”.

Threat and taunt (milestone 11, item 16)

Every mob type’s mob keeps a table of the players who hurt it (threat = the damage done) and goes after the top one, switching only when another has over 10% more than the one it’s on (WoW’s melee rule), so a party’s tank keeps it. Players further than 48 blocks, dead or in creative drop off the table. Shown quietly: a red ! before the mob’s name for the player it’s after (their own copy of its name line), and party frames tint the panel of a member a mob is after red (the sidebar lines: their name in red).

{ "do": "taunt", "radius": 8, "seconds": 4 }

The taunt step (a talent’s, or a rule’s: the caster is the player): each mob type’s mob within radius goes after the caster for seconds and puts them on top of its table (so it stays unless someone does over 10% more after), with angry sparks over each and a roar. Healing doesn’t make threat yet.

Tips (milestone 11, item 22)

{ "do": "tip", "id": "tip-…", "title": "Your first spell", "text": "Hold the Spell book and press F." }

A tip shows once per character (by id): “✦ Tip ” and the text in chat (<code>:key:</code> text icons work), a chime, and the title on the action bar. It’s kept, as shown, in the character’s save (<code>tips</code>), and the journal gets a Tips button (a book) once there’s one: a page of the tips seen, oldest first (Bedrock: a form with them all). Fire it where the thing is first met: a rule on the first spell, a station’s area, a conversation line.</p> <h3 id="rates-milestone-11-item-23">Rates (milestone 11, item 23)</h3> <div class="expressive-code"><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="jsonc"><code><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">settings</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"rates"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"xp"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">2</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"reputation"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"drops"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1.5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"coins"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"professionXp"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53"> } } </span><span style="--0:#919F9F;--1:#5D6376">// null: all 1</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code=""settings": { "rates": { "xp": 2, "reputation": 1, "drops": 1.5, "coins": 1, "professionXp": 1 } } // null: all 1"><div></div></button></div></figure></div> <p>Beside difficulty in Map settings, for servers to tune a template map without editing it: <code>xp</code> × every kind of character XP (kills, quests, finds, steps; quest rewards say the rated amount), <code>drops</code> × each mob’s drops and loot (each stack, the part over by chance), <code>coins</code> × money that steps and quests give (not money taken, nor merchants’ prices), <code>professionXp</code> × every profession’s XP. <code>reputation</code> is kept for factions, which read it when they come.</p> <h2 id="version-13-also-cutscenes-milestone-11">Version 13 also: cutscenes (milestone 11)</h2> <p>Story scenes made with the Scene tool on the map itself. The Logic panel’s Cutscenes… lists them; Edit opens one in Scene mode on the map (its camera keys, storyboard, actors, lines, sound keys, doors, weather and time of day), and Back to the map closes it. The map’s own NPCs and mobs can act in it; NPCs and mobs placed while it’s open are its own extras (<code>cutscene</code> on the entity in the project), shown only while it’s open and never put in the world. One extra can be the Player stand-in (<code>standIn</code>), where each watcher sees their own character. Props aren’t offered: they’d be blocks in the map. A new cutscene is framed 2.39:1, as it’s seen between the bars. The editor’s code is <code>cutscenes.ts</code> (the model), <code>cutsceneBake.ts</code> (the bake below) and <code>Cutscenes.tsx</code>; the plugin’s is <code>CutsceneDef</code>, <code>Cutscenes</code>, <code>CutsceneShow</code>, <code>CutsceneListener</code> and <code>LockedCamera</code> (the character select page’s locked camera, shared).</p> <p>What plays one:</p> <ul> <li>the <strong>Play a cutscene</strong> step (<code>{ "do": "cutscene", "cutscene": "cutscene-1" }</code>, maps only) in rules, lines, quests and menus: the steps after it wait until it’s over for the player who set it off (watched or skipped);</li> <li>a new character’s first arrival: <code>cutscenes.intro</code> (before the class picker);</li> <li>a boss’s intro: <code>boss.intro</code> on the mob type. It plays once for each boss, the first time players come near it (in its arena, or within 16 blocks: a boss can meet them at its arena’s edge), for them and their party nearby, unless every one of them has seen it; the boss holds still with no target and can’t be hurt until it’s over. In a dungeon run entered from one of the map’s entrances (or its group finder), a boss’s intro comes from the dungeon’s own <code>cutscenes</code> (dungeon.json version 6) and plays in the run’s slot the same way, for the run’s players; a character’s <code>seen</code> keeps it as <code>dungeon <dungeon name>/<id></code>. The bars and fade show only when that dungeon.json says <code>overlays</code> (the map’s pack must have them);</li> <li>a trip to a travel stop: <code>stops[].cutscene</code> in <code>world</code>, in place of the dark screen; the traveller ends up at the stop.</li> </ul> <p>Who watches: the player who set it off and their party members on the map within 32 blocks (an intro or a trip: just them). Java watchers are put in spectator watching a camera only they see (<code>LockedCamera</code>), which follows the cutscene’s camera tick by tick (gliding over 2 ticks, or at once at a cut); other players are hidden from them. Letterbox bars (2.39:1 on a 16:9 screen) slide in over 4 ticks and a fade to black closes it: an item worn on the head whose camera overlay is the pack’s <code>voxelforge:cutscene/bars_1…4</code> or <code>fade_1…4</code>, sent to the watcher alone (their real helmet is back after). Bedrock watchers stay where they are under a fade to black (Geyser’s camera fade, the HUD hidden; blindness without it), the lines shown as titles and in chat. Watchers can’t be hurt, picked as targets or click anything, chat waits until they’re done, quests’ objectives aren’t checked meanwhile and timed steps’ clocks stand still. Once a character has seen a cutscene (<code>seen</code> in its save), Sneak skips it for that player alone; the others keep watching. After it, they’re back where they were (a trip: at the stop), as they were. A server stopping mid-cutscene keeps where they were in the character roster (<code>away</code>, as the character select page does), and joining again puts them back. <code>/vfa cutscene <player> <cutscene id></code> (admins and the console) plays one for a player and their party nearby, as the step does: for trying one out, or a command step. The Logic panel’s Check says which cutscenes have no camera keys or run too long, and what names a cutscene that’s gone.</p> <p>Lines: a title card shows as the title, a spoken line (subtitle) under the picture in the action bar (“Speaker: words”, kept up while it’s said), a name tag as the actor’s own name. Sounds play from their actor (following it), a spot, or everywhere alike; music clips on the music channel, from the song’s start (the game can’t start part way into a sound or fade it: the export warns).</p> <div class="expressive-code"><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="jsonc"><code><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">cutscenes</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: {</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"intro"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">cutscene-1</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// a new character's first arrival ("": none)</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"overlays"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#FF6A83;--1:#A24848">true</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// the pack has the bars and fade</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"list"</span><span style="--0:#D6DEEB;--1:#403F53">: [{</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"id"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">cutscene-1</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"name"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Raid at dusk</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">,</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"length"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">180</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// ticks (at most 2400: 2 minutes)</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"camera"</span><span style="--0:#D6DEEB;--1:#403F53">: [ </span><span style="--0:#919F9F;--1:#5D6376">// runs of keys [tick, x, y, z, yaw, pitch]; each run starts with a cut,</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">[[</span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">-7</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">11</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">-132.0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">21.4</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#FFFFFF;--1:#984E4D">…</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#919F9F;--1:#5D6376">// gliding straight between keys inside a run (kept only where it turns</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">[[</span><span style="--0:#F78C6C;--1:#AA0982">90</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">6</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">3</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">-6</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">48.1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">6.2</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#FFFFFF;--1:#984E4D">…</span><span style="--0:#D6DEEB;--1:#403F53">] </span><span style="--0:#919F9F;--1:#5D6376">// or changes speed: the editor samples every tick)</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"actors"</span><span style="--0:#D6DEEB;--1:#403F53">: [{</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"kind"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">npc</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// npc (a mannequin in its skin), mob (its type), player (each watcher's own character)</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"type"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">npc</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"npc"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">ent-rowan</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// a map NPC playing itself: its real one is hidden from the watchers meanwhile</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"name"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Rowan</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"skin"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#919F9F;--1:#5F636F">/* a profile, as npcs' */</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"armor"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"head"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"material"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">leather</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"color"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">5913122</span><span style="--0:#D6DEEB;--1:#403F53"> } }, </span><span style="--0:#7FDBCA;--1:#096E72">"hands"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"main"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"item"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">iron_sword</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53"> } },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"keys"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0.5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">6.5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">180</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#FFFFFF;--1:#984E4D">…</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#919F9F;--1:#5D6376">// [tick, x, y, z, yaw]: where it is (feet), as keys</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"poses"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">stand</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">], [</span><span style="--0:#F78C6C;--1:#AA0982">148</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">gone</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">]], </span><span style="--0:#919F9F;--1:#5D6376">// stand, crouch, sit, sleep, swim, gone</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"events"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">112</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">swing</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">], [</span><span style="--0:#F78C6C;--1:#AA0982">114</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">hurt</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">], [</span><span style="--0:#F78C6C;--1:#AA0982">128</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">die</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">]] </span><span style="--0:#919F9F;--1:#5D6376">// swing, hurt, die (falls and vanishes), fall (lies there)</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">}],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"texts"</span><span style="--0:#D6DEEB;--1:#403F53">: [{ </span><span style="--0:#7FDBCA;--1:#096E72">"t"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">10</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"dur"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">60</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"kind"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">subtitle</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"text"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">They come at night.</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"speaker"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Rowan</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">{ </span><span style="--0:#7FDBCA;--1:#096E72">"t"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">40</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"dur"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">60</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"kind"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">tag</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"text"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Raider</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"actor"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">{ </span><span style="--0:#7FDBCA;--1:#096E72">"t"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">144</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"dur"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">32</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"kind"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">title</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"text"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Cutscene test</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"black"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#FF6A83;--1:#A24848">false</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"color"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">#ffffff</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53"> }],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"sounds"</span><span style="--0:#D6DEEB;--1:#403F53">: [{ </span><span style="--0:#7FDBCA;--1:#096E72">"t"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">96</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"sound"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">entity.zombie.ambient</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"volume"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"pitch"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1.04</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"actor"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">{ </span><span style="--0:#7FDBCA;--1:#096E72">"t"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"sound"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">vfcut:<map>.cutscene_1.sound_1</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"volume"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">0.8</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"pitch"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"music"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#FF6A83;--1:#A24848">true</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">{ </span><span style="--0:#7FDBCA;--1:#096E72">"t"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">30</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"sound"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">block.wooden_door.open</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"volume"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"pitch"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"at"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#F78C6C;--1:#AA0982">4</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">1.5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">] }],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"blocks"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">50</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">open</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">4</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">]], </span><span style="--0:#919F9F;--1:#5D6376">// [tick, open|close|on|off|lit|blast|crumble, x, y, z, radius]: shown to the watchers only</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"fx"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">128</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">poof</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">1.5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">-1</span><span style="--0:#D6DEEB;--1:#403F53">]], </span><span style="--0:#919F9F;--1:#5D6376">// [tick, kind, x, y, z, size, colour]: particles where things happen</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"shots"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">20</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">32</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">arrow</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">2</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">8</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">1.5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">3</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0.4</span><span style="--0:#D6DEEB;--1:#403F53">]], </span><span style="--0:#919F9F;--1:#5D6376">// [from tick, to tick, item, from xyz, to xyz, arc]</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"emitters"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">180</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">fireflies</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">2</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">6</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">3</span><span style="--0:#D6DEEB;--1:#403F53">]], </span><span style="--0:#919F9F;--1:#5D6376">// [tick, ticks long, kind, x, y, z, radius]</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"sky"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">12500</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#FF6A83;--1:#A24848">false</span><span style="--0:#D6DEEB;--1:#403F53">]], </span><span style="--0:#919F9F;--1:#5D6376">// [tick, day time, glides on to the next]: the watchers' own time</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"weather"</span><span style="--0:#D6DEEB;--1:#403F53">: [[</span><span style="--0:#F78C6C;--1:#AA0982">60</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">rain</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">]] </span><span style="--0:#919F9F;--1:#5D6376">// [tick, clear|rain|storm|snow]: the watchers' own weather</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">}]</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D6DEEB;--1:#403F53">}</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code=""cutscenes": { "intro": "cutscene-1", // a new character's first arrival ("": none) "overlays": true, // the pack has the bars and fade "list": [{ "id": "cutscene-1", "name": "Raid at dusk", "length": 180, // ticks (at most 2400: 2 minutes) "camera": [ // runs of keys [tick, x, y, z, yaw, pitch]; each run starts with a cut, [[0, -7, 5, 11, -132.0, 21.4], …], // gliding straight between keys inside a run (kept only where it turns [[90, 6, 3, -6, 48.1, 6.2], …] // or changes speed: the editor samples every tick) ], "actors": [{ "kind": "npc", // npc (a mannequin in its skin), mob (its type), player (each watcher's own character) "type": "npc", "npc": "ent-rowan", // a map NPC playing itself: its real one is hidden from the watchers meanwhile "name": "Rowan", "skin": { /* a profile, as npcs' */ }, "armor": { "head": { "material": "leather", "color": 5913122 } }, "hands": { "main": { "item": "iron_sword" } }, "keys": [[0, 0.5, 1, 6.5, 180], …], // [tick, x, y, z, yaw]: where it is (feet), as keys "poses": [[0, "stand"], [148, "gone"]], // stand, crouch, sit, sleep, swim, gone "events": [[112, "swing"], [114, "hurt"], [128, "die"]] // swing, hurt, die (falls and vanishes), fall (lies there) }], "texts": [{ "t": 10, "dur": 60, "kind": "subtitle", "text": "They come at night.", "speaker": "Rowan" }, { "t": 40, "dur": 60, "kind": "tag", "text": "Raider", "actor": 1 }, { "t": 144, "dur": 32, "kind": "title", "text": "Cutscene test", "black": false, "color": "#ffffff" }], "sounds": [{ "t": 96, "sound": "entity.zombie.ambient", "volume": 1, "pitch": 1.04, "actor": 1 }, { "t": 0, "sound": "vfcut:<map>.cutscene_1.sound_1", "volume": 0.8, "pitch": 1, "music": true }, { "t": 30, "sound": "block.wooden_door.open", "volume": 1, "pitch": 1, "at": [4, 1.5, 0] }], "blocks": [[50, "open", 4, 1, 0, 0]], // [tick, open|close|on|off|lit|blast|crumble, x, y, z, radius]: shown to the watchers only "fx": [[128, "poof", 1, 1.5, 0, 1, -1]], // [tick, kind, x, y, z, size, colour]: particles where things happen "shots": [[20, 32, "arrow", 0, 2, 0, 8, 1.5, 3, 0.4]], // [from tick, to tick, item, from xyz, to xyz, arc] "emitters": [[0, 180, "fireflies", 0, 2, 6, 3]], // [tick, ticks long, kind, x, y, z, radius] "sky": [[0, 12500, false]], // [tick, day time, glides on to the next]: the watchers' own time "weather": [[60, "rain"]] // [tick, clear|rain|storm|snow]: the watchers' own weather }]}"><div></div></button></div></figure></div> <p>Positions are the editor’s; the map’s origin is added in game. The pack also carries the scenes’ uploaded sounds and songs (.ogg only) as <code>assets/vfcut/sounds/<map>/…</code> with their events in <code>assets/vfcut/sounds.json</code>. What plays in the editor only (the export warns for each cutscene): the lens (players see through their own field of view), moves the game has no animation for (waves, dances, casts, roars and the like: the actor stands as it is), model figures, the timelapse, and music clips’ offsets and fades.</p> <h2 id="version-13-also-factions-and-reputation-milestone-11">Version 13 also: factions and reputation (milestone 11)</h2> <p>Factions players belong to by their race, and reputation with each. The Logic panel’s Factions… sets the ranks and each faction: its races (a race belongs to one faction; its characters are members, for good), its marks (a wallet currency, earned in rewards and spent at its quartermaster: a merchant whose currency is the marks), its LuckPerms group, reputation for kills of mob types, and what’s for members only (items, quest boards, hall doors). The editor’s code is <code>factions.ts</code> and <code>Factions.tsx</code>; the plugin’s <code>FactionDef</code> and <code>Factions</code>.</p> <ul> <li><strong>Reputation</strong> is points per faction on each character (<code>reputation</code> in its save), shown as a rank. Members start at the starting rank with their own. It’s never lost (negative amounts do nothing). It comes from: <ul> <li>the <code>reputation</code> step, <code>{ "do": "reputation", "faction": "faction-1", "amount": 25 }</code>, in quests’ and dailies’ rewards, lines and rules;</li> <li>kills of the mob types a faction lists: the killer and party members within 32 blocks, none from a mob grey to the killer;</li> <li>both times the map’s reputation rate (<code>settings.rates.reputation</code>).</li> </ul> </li> <li><strong>Shown:</strong> “+25 Wardens reputation” above the hotbar; a new rank as a title (“Honoured” / “with the Wardens”) with a chime and a chat line naming what it opens. The chat and tab tag ends “· Wardens” in the faction’s colour. Placeholders: <code>%vf_faction%</code>, <code>%vf_rank%</code> (with their own), <code>%vf_reputation_<faction id>%</code> (the rank’s name with that faction).</li> <li><strong>Conditions:</strong> <code>{ "is": "faction", "faction": "faction-1", "outsiders": 0 }</code> (a member; with <code>outsiders</code> above 0, others at that rank with it count too: outsider quests at Honoured) and <code>{ "is": "reputation", "faction": "faction-1", "op": ">=", "rank": 3 }</code> (ranks by index, Neutral 0).</li> <li><strong>Members only:</strong> a faction’s <code>items</code> can’t be used by others (their tooltip shows a Faction requirement), its <code>boards</code> don’t open for others, and its <code>doors</code> don’t open by hand for others (“Wardens members only”). A merchant’s good can have <code>needs</code> (<code>faction</code> members at <code>rank</code> or above, and a <code>level</code>): others see it with what it needs, and can’t buy it.</li> <li><strong>LuckPerms:</strong> members are in the faction’s <code>group</code> while they play the map (in its world), and with <code>rankGroups</code>, <code><group>-<rank></code> for their rank with it (“wardens-honoured”); both come off when they leave.</li> <li><strong>Cards and the race picker:</strong> the progress card has two more parts, <code>faction</code> and <code>reputation</code> (the best rank with any faction, their own winning ties: just “Revered” when it’s their own faction, which the <code>faction</code> part names, or “Revered · Wardens” for another). Their <code>color</code> can be <code>"auto"</code> (the default for new ones): the character’s faction’s colour, or the colour of the faction the top rank is with. The race picker (book, runestone, grey panel, Bedrock form) shows each race’s faction.</li> <li><strong>Card words stay off the frame:</strong> <code>landing.card.rooms</code> (by part; 0 for the picture and XP bar) and <code>landing.card.rowRooms</code> (the race and class pages’ rows, by their tops 24, 36 … 108) say how wide words may be, in GUI px. The editor measures them on the card’s picture: the plain panel around each part on its rows, 1 px clear of each side, centred words twice the nearer side (Voxelforge’s card: 64–66). A 0, or a map without them, keeps the old 10 px each side.</li> <li><strong>The Character page</strong> reads <code>Factions.standing(p)</code> (each faction’s rank, points, progress to the next rank and what it opens), <code>top</code>, <code>own</code> and <code>marks</code>.</li> </ul> <div class="expressive-code"><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="jsonc"><code><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">factions</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: {</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"ranks"</span><span style="--0:#D6DEEB;--1:#403F53">: [{ </span><span style="--0:#7FDBCA;--1:#096E72">"name"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Neutral</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"at"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53"> }, { </span><span style="--0:#7FDBCA;--1:#096E72">"name"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Friendly</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"at"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">250</span><span style="--0:#D6DEEB;--1:#403F53"> }, { </span><span style="--0:#7FDBCA;--1:#096E72">"name"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Trusted</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"at"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">750</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">{ </span><span style="--0:#7FDBCA;--1:#096E72">"name"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Honoured</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"at"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1500</span><span style="--0:#D6DEEB;--1:#403F53"> }, { </span><span style="--0:#7FDBCA;--1:#096E72">"name"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Revered</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"at"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">3000</span><span style="--0:#D6DEEB;--1:#403F53"> }],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"start"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// members start at Friendly with their own</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"rankGroups"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#FF6A83;--1:#A24848">true</span><span style="--0:#D6DEEB;--1:#403F53">,</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"list"</span><span style="--0:#D6DEEB;--1:#403F53">: [{</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"id"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">faction-1</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"name"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Wardens</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"color"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">#4f8fd6</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"icon"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">white_banner</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"summary"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">…</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// icon: its emblem (Reputation page)</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"races"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">race-human</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">race-dwarf</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"mark"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">currency-2</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// a wallet currency ("" none)</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"group"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">wardens</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#919F9F;--1:#5D6376">// LuckPerms ("" none)</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"kills"</span><span style="--0:#D6DEEB;--1:#403F53">: [{ </span><span style="--0:#7FDBCA;--1:#096E72">"mob"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">vf:mob-3</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"amount"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">10</span><span style="--0:#D6DEEB;--1:#403F53"> }],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"items"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">item-12</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#7FDBCA;--1:#096E72">"boards"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">board-1</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#7FDBCA;--1:#096E72">"doors"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">door-2</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"opens"</span><span style="--0:#D6DEEB;--1:#403F53">: [[], [], [], [</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Quest for outsiders: The old mill</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Brown horse at Hilde</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">], []] </span><span style="--0:#919F9F;--1:#5D6376">// by rank, worked out by the editor</span></div></div><div class="ec-line"><div class="code"><span class="indent"><span style="--0:#D6DEEB;--1:#403F53"> </span></span><span style="--0:#D6DEEB;--1:#403F53">}]</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D6DEEB;--1:#403F53">}</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code=""factions": { "ranks": [{ "name": "Neutral", "at": 0 }, { "name": "Friendly", "at": 250 }, { "name": "Trusted", "at": 750 }, { "name": "Honoured", "at": 1500 }, { "name": "Revered", "at": 3000 }], "start": 1, // members start at Friendly with their own "rankGroups": true, "list": [{ "id": "faction-1", "name": "Wardens", "color": "#4f8fd6", "icon": "white_banner", "summary": "…", // icon: its emblem (Reputation page) "races": ["race-human", "race-dwarf"], "mark": "currency-2", // a wallet currency ("" none) "group": "wardens", // LuckPerms ("" none) "kills": [{ "mob": "vf:mob-3", "amount": 10 }], "items": ["item-12"], "boards": ["board-1"], "doors": ["door-2"], "opens": [[], [], [], ["Quest for outsiders: The old mill", "Brown horse at Hilde"], []] // by rank, worked out by the editor }]}"><div></div></button></div></figure></div> <p>A merchant’s good: <code>"needs": { "faction": "faction-1", "rank": 3, "level": 0 }</code>.</p> <h2 id="version-13-also-the-64-pack-and-the-hud-at-2-and-4-milestone-11-item-24">Version 13 also: the 64× pack and the HUD at 2× and 4× (milestone 11, item 24)</h2> <p>A map’s pack can be finer than the game’s own 16 px a block: a 32× pack’s pictures have 2 px a GUI pixel, a 64× pack’s 4. The game scales a sprite to its place and a font’s glyph to its <code>height</code>, so finer pictures work anywhere the pack gives them their size; what needs care is the game’s limits.</p> <ul> <li><strong>Glyphs are at most 256 px.</strong> The game keeps a font’s glyphs on 256 px pages and drops a bigger one. Wide art is cut into tiles: <ul> <li>paintings (the UI painter, above);</li> <li>the drawn HUD’s plates and tracks: a tile 256 px wide (128 GUI px at 2×, 64 at 4×), tile t (from 1) in <code>voxelforge:hudbars_tile<t></code> under the same code;</li> <li>the progress card: tiles of 256 × 256 on a fixed grid, across then down, tile n (from 1) in <code>voxelforge:select_tile<n></code> (the drawn menu) or <code>voxelforge:card_tile<n></code> (the scene) under the card’s code. Its picture is a painting made for the card, at the painting’s scale.</li> </ul> </li> <li><strong>The drawn HUD at 2× and 4×.</strong> A creator’s own HUD sheet twice or four times the downloaded size (400 × 272 or 800 × 544) is drawn at that detail: its pieces keep their GUI sizes. A spot the sheet leaves empty shows the look it starts from, blown up. The numbers, the fills and the badge’s shine stay 1×. Plain tooltips take the sheet’s tooltip at 1×.</li> <li><strong>Stone and iron orbs</strong>, a built-in look at 2× (<code>"look": "orbs"</code>): see below.</li> <li><strong>Clearance</strong> grows with the scale: 1 px a GUI pixel’s worth at 1×, so 2 px at 2× and 4 px at 4× (the painter’s check, and the orbs’ numbers).</li> <li><strong>Item textures</strong> can be 16 to 128 px square (a 64× item is 64 × 64); the tooltips’ badges, class pictures and charged looks draw them at their size. Minecraft makes a held item 1/16 block thick and colours its sides with the picture’s edge pixels, so a 64× picture with a pure-black outline looks like a black stick seen edge-on in third person. A dark-coloured outline reads better.</li> <li><strong>Bedrock.</strong> Check warns when the Bedrock pack (<code>voxelforge/bedrock.mcpack</code>) is over 25 MB, has a picture over 1024 px a side, or its pictures add up to more than a 4096 × 4096 sheet. Bedrock players download the pack when they join, and consoles hold every texture in a small memory. These are Voxelforge’s own lines (<code>BEDROCK_LIMITS</code> in export/bedrock.ts), not Bedrock’s.</li> </ul> <div class="expressive-code"><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="jsonc"><code><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">settings</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: {</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"hudLook"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"look"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">orbs</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"health"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">#d8382c</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"mana"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">#2f7fe0</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"xp"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">#6cc644</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"food"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">#c47a32</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">,</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"castIcons"</span><span style="--0:#D6DEEB;--1:#403F53">: [], </span><span style="--0:#7FDBCA;--1:#096E72">"scale"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">2</span><span style="--0:#D6DEEB;--1:#403F53"> }, </span><span style="--0:#919F9F;--1:#5D6376">// the HUD's px a GUI px: 1, 2 (orbs; a 2× sheet) or 4 (a 4× sheet)</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"landing"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"card"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"w"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">160</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"h"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">200</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"scale"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">2</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#FFFFFF;--1:#984E4D">…</span><span style="--0:#D6DEEB;--1:#403F53"> } } </span><span style="--0:#919F9F;--1:#5D6376">// the card's GUI size and its picture's px a GUI px</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D6DEEB;--1:#403F53">}</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code=""settings": { "hudLook": { "look": "orbs", "health": "#d8382c", "mana": "#2f7fe0", "xp": "#6cc644", "food": "#c47a32", "castIcons": [], "scale": 2 }, // the HUD's px a GUI px: 1, 2 (orbs; a 2× sheet) or 4 (a 4× sheet) "landing": { "card": { "w": 160, "h": 200, "scale": 2, … } } // the card's GUI size and its picture's px a GUI px}"><div></div></button></div></figure></div> <h3 id="stone-and-iron-orbs">Stone and iron orbs</h3> <p>PixelLab’s 9c take A from the HUD concepts (Ethan’s pick, 2026-10-29), built as a look. Health and mana are liquid in two 32 px glass orbs in thin iron rings over the hotbar’s end slots, on a stone band. The XP runs in the band’s channel, either side of a round stone badge with the level on it. The hotbar is the same stone and iron, its selection a bright iron frame. The editor’s code is <code>hudOrbs.ts</code> (with its pictures in <code>hudOrbsArt.ts</code>); the plugin’s is HudBars’ orbs part.</p> <ul> <li><strong>Its own rows.</strong> It’s 56 px tall, taller than the other looks, so the shader moves its rows to tops 58, 40, 22 and 18 px above the screen’s bottom (<code>hudRows</code>). Row 0 holds the frame’s top and the cast bar, which sits between the orbs; row 1 the frame’s bottom; rows 2 and 3 the stone ends beside the hotbar.</li> <li><strong>The orbs</strong> are drawn level by level: 54 levels, a glyph for each (those over 30 are two glyphs, one in each row). They’re grey with a lit surface, tinted by the plugin, in this order: <ol> <li>the empty glass, in the bar’s colour darkened;</li> <li>the damage trail, pale;</li> <li>absorption, gold, on top of the health;</li> <li>the liquid;</li> <li>the glass’s glints.</li> </ol> </li> <li><strong>How the orbs move.</strong> They ease towards their real level a tick at a time. A hit leaves the trail where the health was for 12 ticks, then it drains. Under a quarter’s health a red glow round the health orb pulses.</li> <li><strong>The right orb</strong> is mana, in its colour (a class’s own resource’s colour too). On a map with hunger, players without mana see their food in it. There’s no food bar beside mana, so Check warns on a map with hunger.</li> <li><strong>The numbers</strong> are inside the orbs (“389 / 486”), in the plates’ digits at half a GUI pixel, with their shadow drawn in. Wider than 24 GUI px, the current value shows alone.</li> <li><strong>Breath:</strong> bubbles sit in a row between the orbs above the badge. The row ends at the mana orb and counts down from the left, like the game’s over its hunger bar. Procs’ buffs show there too, when nothing is being cast.</li> <li><strong>Chat</strong> is drawn from 40 px above the screen’s bottom, on top of the HUD, so its background covers the orbs’ tops while chat lines show.</li> </ul> <p>Its glyphs in <code>voxelforge:hudbars</code>:</p> <table> <thead> <tr> <th>Code</th> <th>Glyph</th> </tr> </thead> <tbody> <tr> <td>E200–E203</td> <td>The frame’s tiles: row 0 left and right, then row 1</td> </tr> <tr> <td>E204–E207</td> <td>The stone ends: row 2 left and right, then row 3</td> </tr> <tr> <td>E208–E20B</td> <td>The badge’s shine</td> </tr> <tr> <td>E20C–E213</td> <td>The glow: row 0’s four strengths, then row 1’s</td> </tr> <tr> <td>E214–E217</td> <td>The glints: orb 0’s row 0 and row 1, then orb 1’s</td> </tr> <tr> <td>E220 + 0x40·o + k − 1</td> <td>Orb o’s row 1 at level k (1–30)</td> </tr> <tr> <td>E220 + 0x40·o + 30</td> <td>Orb o’s full row 1</td> </tr> <tr> <td>E240 + 0x40·o + k − 31</td> <td>Orb o’s row 0 at level k (31–54)</td> </tr> </tbody> </table> <p>Its numbers are in <code>voxelforge:hudbars_orb_numbers</code>. The cast bar, bubble and XP fill keep the other looks’ codes.</p> <h2 id="version-13-also-the-character-page-settings-and-inspect-milestone-11-items-26-2830">Version 13 also: the Character page, Settings and inspect (milestone 11, items 26, 28–30)</h2> <p>With the drawn pages (<code>settings.inventory.pages</code>), Character info’s Character tab is a character sheet in the WoW style, drawn by the map pack (<code>characterPack.ts</code>, the figure by <code>characterFigure.ts</code>; the plugin’s <code>CharacterSheet</code>). The export writes where everything goes in <code>settings.characterPage</code> (null: the plain Character tab, as before):</p> <div class="expressive-code"><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="json"><code><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">characterPage</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: {</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"layout"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"art"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#F78C6C;--1:#AA0982">3</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">35</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#7FDBCA;--1:#096E72">"title"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"right"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">168</span><span style="--0:#D6DEEB;--1:#403F53"> }, </span><span style="--0:#7FDBCA;--1:#096E72">"portrait"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">10</span><span style="--0:#D6DEEB;--1:#403F53">,</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"header"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"x"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">45</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"tops"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#F78C6C;--1:#AA0982">38</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#7FDBCA;--1:#096E72">"max"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">86</span><span style="--0:#D6DEEB;--1:#403F53"> }, </span><span style="--0:#7FDBCA;--1:#096E72">"xp"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"x"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">45</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"y"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">48</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"w"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">86</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"figure"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#F78C6C;--1:#AA0982">62</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">53</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#7FDBCA;--1:#096E72">"startAngle"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">7</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"turn"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"left"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">48</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"right"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">50</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"stats"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"left"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">35</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"right"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">125</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"tops"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#F78C6C;--1:#AA0982">56</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">65</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">74</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">83</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">92</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">101</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#7FDBCA;--1:#096E72">"max"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">23</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"details"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"left"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">29</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"right"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">147</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"tops"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#F78C6C;--1:#AA0982">56</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">65</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">74</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">83</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">92</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">101</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#F78C6C;--1:#AA0982">110</span><span style="--0:#D6DEEB;--1:#403F53">], </span><span style="--0:#7FDBCA;--1:#096E72">"max"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">118</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"reputation"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"emblem"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"x"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">27</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"right"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">167</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"top"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">37</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"bar"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"x"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">27</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"dy"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">10</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"w"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">141</span><span style="--0:#D6DEEB;--1:#403F53"> } },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"sections"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"sheet"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"details"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">6</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"reputation"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">7</span><span style="--0:#D6DEEB;--1:#403F53"> } },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"gear"</span><span style="--0:#D6DEEB;--1:#403F53">: [{ </span><span style="--0:#7FDBCA;--1:#096E72">"job"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">head</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"label"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">Head</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"slot"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">9</span><span style="--0:#D6DEEB;--1:#403F53"> }, </span><span style="--0:#FFFFFF;--1:#984E4D">…</span><span style="--0:#D6DEEB;--1:#403F53">],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"stats"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">health</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">resource</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">armour</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">dodge</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">block</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">spell_power</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">damage</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">dps</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">crit</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">speed</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">money</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">marks</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">],</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"bodies"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"default"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"elf|druid"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">1</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#FFFFFF;--1:#984E4D">…</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"pieces"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"iron_helmet"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">3</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"vf:item-3"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">30</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"main:diamond_sword"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">33</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"off:shield"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">47</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#FFFFFF;--1:#984E4D">…</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"figure"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"w"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">52</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"h"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">72</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"angles"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">8</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"poses"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">4</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span class="indent"> </span><span style="--0:#7FDBCA;--1:#096E72">"font"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"advances"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"a"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#FFFFFF;--1:#984E4D">…</span><span style="--0:#D6DEEB;--1:#403F53"> }, </span><span style="--0:#7FDBCA;--1:#096E72">"space"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">3</span><span style="--0:#D6DEEB;--1:#403F53"> }</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D6DEEB;--1:#403F53">}</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code=""characterPage": { "layout": { "art": [3, 35], "title": { "right": 168 }, "portrait": 10, "header": { "x": 45, "tops": [38], "max": 86 }, "xp": { "x": 45, "y": 48, "w": 86 }, "figure": [62, 53], "startAngle": 7, "turn": { "left": 48, "right": 50 }, "stats": { "left": 35, "right": 125, "tops": [56, 65, 74, 83, 92, 101], "max": 23 }, "details": { "left": 29, "right": 147, "tops": [56, 65, 74, 83, 92, 101, 110], "max": 118 }, "reputation": { "emblem": 0, "x": 27, "right": 167, "top": 37, "bar": { "x": 27, "dy": 10, "w": 141 } }, "sections": { "sheet": 5, "details": 6, "reputation": 7 } }, "gear": [{ "job": "head", "label": "Head", "slot": 9 }, …], "stats": ["health", "resource", "armour", "dodge", "block", "spell_power", "damage", "dps", "crit", "speed", "money", "marks"], "bodies": { "default": 0, "elf|druid": 1, … }, "pieces": { "iron_helmet": 3, "vf:item-3": 30, "main:diamond_sword": 33, "off:shield": 47, … }, "figure": { "w": 52, "h": 72, "angles": 8, "poses": 4 }, "font": { "advances": { "a": 5, … }, "space": 3 }}"><div></div></button></div></figure></div> <p>Everything is placed from the chest window’s top-left; slots are chest slots.</p> <ul> <li><strong>Sections</strong> (the top row’s spots 5–7 on the Character tab; on Talents and the Spell book they stay ▲ ▼ Reset): <strong>Sheet</strong>, <strong>Details</strong> (clicked again: its next page) and <strong>Reputation</strong> (only with factions; clicked again: the next five).</li> <li><strong>Sheet:</strong> gear down both sides (<code>gear</code>: head, chest, legs, feet and the main hand left; necklace, bracelet, the rings and the off hand right; the charm at the header’s end; jewellery only where its spot is on). A worn piece is the item itself (its tooltip); an empty slot shows a faint outline. Shift-click takes a piece off into the bags (refused when they’re full). The main hand is what counts as held for stats (the weapon held last while a spell is in hand). The plank has the character’s name and, at its right end, their faction’s name in its colour. The header: the face (the player’s head; its tooltip XP and their rank), “Level 12 Elf Druid”, the XP bar. In the middle the turnaround figure, ◀ ▶ under it turning it 45°; either side the stats block, six lines a side (<code>stats</code>), each row’s slots with the full lines in their tooltip. Money shortens past 9,999 (12.3k); marks add up the faction marks held.</li> <li><strong>Details:</strong> the Stats page’s groups as pages of seven lines (a heading and six “name … value” lines).</li> <li><strong>Reputation:</strong> a row a faction, the character’s own first (Factions’ <code>standing</code>): its emblem item, its name, its rank in the rank’s colour (red at the bottom through yellow to green), a bar to the next rank; the row’s tooltip has the points, the next rank and what it opens.</li> </ul> <p><strong>The figure.</strong> Drawn at export, offscreen, for each race × class (its look’s skin, else the race’s; Steve without, and as <code>default</code>), from 8 angles (0 the front, then 45° steps), in 4 poses (nothing held, the main hand, the off hand, both: holding turns the arm). Pieces are drawn the same way on a flat mask body and kept without it: every armour material, the map’s items worn as armour (with their Library looks), the usual weapons, and the map’s items in either hand. The plugin stacks the body’s glyph and each worn piece’s (legs, feet, chest, head, main, off) to wear the character’s real gear. A body is <code>body + 32·b + 8·pose + angle</code>, a piece <code>piece + 8·k + angle</code>, in <code>voxelforge:character_fig</code> (body E000, piece E800; at most 64 bodies and 512 pieces): one picture a body (4 rows of 8) and a piece (a row of 8), each angle’s cell 104 × 144 at 2×, its last column kept so every glyph is 52 wide.</p> <p><strong><code>voxelforge:character</code>:</strong> E000 the Sheet’s art, E001 Details’, E002 Reputation’s (each 170 × 91 from (3, 35)); E010 + k the outline for <code>gear[k]</code>; E020 + k the XP bar’s fill pieces (2^k px, green); E030 + 8r + k reputation row r’s fill pieces (white, tinted by the rank’s colour); E058 + r row r’s art (emblem well and bar track). Words are in <code>voxelforge:character_t<top></code> (the small clean font, the game’s font for letters it hasn’t got) at each top the layout uses.</p> <p><strong>Tabs (item 28):</strong> Character, Talents, the Spell book (spot 2), Professions (the AuraSkills or mcMMO skill levels now on it, after the professions; called Skills on a map without professions) and Pets; Switch character in slot 8.</p> <p><strong>Settings (item 29).</strong> The journal’s on/off switches moved to a Settings button (a comparator) opening the Settings page: others’ effects (all, particles only, none), back to the weapon after a spell (with hotbar spells), music (with zones), conversations drawn or in chat (when the map’s look isn’t chat), waypoints, coordinates and the minimap (when the map has them), and “Let others inspect me”. The commands still work (<code>/vfa effects</code>, <code>/dialogue chat</code>, <code>/waypoints</code>, <code>/coords</code>, <code>/minimap</code>, <code>/vfa music</code>). Bedrock: the journal form’s Settings button opens a form of the same.</p> <p><strong>Inspect (item 30).</strong> Sneak + right-click another player on the same map: their Sheet (figure, gear with its tooltips, stats), read-only, without the sections, money or marks (a plain chest of the same without the drawn pages; a form for a Bedrock viewer). With “Let others inspect me” off: “Ethan keeps their character to themselves.”</p> <h2 id="version-13-also-the-group-finder">Version 13 also: the group finder</h2> <p>The plugin’s group finder (<code>/vfa queue</code>) groups players for a map’s dungeons. Four fields tell it about the map; all are optional, and a map without them groups by count with no level limits.</p> <div class="expressive-code"><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="jsonc"><code><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">settings</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"finderRoles"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#FF6A83;--1:#A24848">true</span><span style="--0:#D6DEEB;--1:#403F53"> </span><span style="--0:#919F9F;--1:#5F636F">/* … */</span><span style="--0:#D6DEEB;--1:#403F53"> },</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">classes</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: [ { </span><span style="--0:#7FDBCA;--1:#096E72">"id"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">druid</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"roles"</span><span style="--0:#D6DEEB;--1:#403F53">: [</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">tank</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">healer</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">damage</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">] </span><span style="--0:#919F9F;--1:#5F636F">/* … */</span><span style="--0:#D6DEEB;--1:#403F53"> } ],</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">entrances</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: [ { </span><span style="--0:#7FDBCA;--1:#096E72">"id"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">entrance-1</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"minLevel"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">5</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"maxLevel"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">10</span><span style="--0:#D6DEEB;--1:#403F53"> </span><span style="--0:#919F9F;--1:#5F636F">/* … */</span><span style="--0:#D6DEEB;--1:#403F53"> } ],</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">npcs</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: [ { </span><span style="--0:#7FDBCA;--1:#096E72">"id"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">npc-4</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"finder"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#FF6A83;--1:#A24848">true</span><span style="--0:#D6DEEB;--1:#403F53"> </span><span style="--0:#919F9F;--1:#5F636F">/* … */</span><span style="--0:#D6DEEB;--1:#403F53"> } ]</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code=""settings": { "finderRoles": true /* … */ },"classes": [ { "id": "druid", "roles": ["tank", "healer", "damage"] /* … */ } ],"entrances": [ { "id": "entrance-1", "minLevel": 5, "maxLevel": 10 /* … */ } ],"npcs": [ { "id": "npc-4", "finder": true /* … */ } ]"><div></div></button></div></figure></div> <table> <thead> <tr> <th>Field</th> <th>Meaning</th> </tr> </thead> <tbody> <tr> <td><code>settings.finderRoles</code></td> <td>Groups of four are 1 tank, 1 healer and 2 damage, from the roles players fill; off (false), any four.</td> </tr> <tr> <td>a class’s <code>roles</code></td> <td>The roles it can fill (<code>tank</code>, <code>healer</code>, <code>damage</code>); none means damage. Players untick the ones they won’t take.</td> </tr> <tr> <td>an entrance’s <code>minLevel</code>, <code>maxLevel</code></td> <td>The character levels that may queue for it, and that “any in my level range” picks it for (0 or none: no limit that way). Walking into its portal isn’t limited.</td> </tr> <tr> <td>an NPC’s <code>finder</code></td> <td>A Group finder NPC: it offers “Find a group” (straight away with nothing else to say).</td> </tr> </tbody> </table> <p>The journal (a chest button and the Bedrock form’s) has <strong>Find a group</strong> on a map with dungeons. A group the finder makes goes into the dungeon’s lobby as a party and comes back where each player was (not to the entrance). The map still hears how it went: the <code>dungeon</code> trigger and quests’ dungeon objectives.</p> <h3 id="the-group-finders-page">The group finder’s page</h3> <p>On a map with entrances (and the game’s font at export), the pack draws the finder as a page over a 6-row chest in the HUD’s look (finderPack.ts, inventoryPack.ts <code>FINDER</code>). Left: each dungeon as a map (an empty map when it’s out of the player’s levels, glowing when they’re queued for it) in a 4 × 5 of wells, the picked one ringed; under them the queue’s status and, with <code>finderRoles</code>, the three roles. Right: the picked dungeon’s picture, three lines (the group’s icons and its levels, the final boss, this server’s best clear), up to four rewards, and Queue (or Leave), Any in my level range and Full groups only. The ready check shares the right half; its left has a row for each player (head, role icon, name, a tick once they’ve said yes) and Enter and Decline. Players without the pack, and servers’ dungeon files, get the plain chest page; Bedrock players get forms with the pictures on their buttons.</p> <div class="expressive-code"><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="jsonc"><code><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">settings</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"finder"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"drawn"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#FF6A83;--1:#A24848">true</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"font"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"advances"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#919F9F;--1:#5F636F">/* … */</span><span style="--0:#D6DEEB;--1:#403F53"> }, </span><span style="--0:#7FDBCA;--1:#096E72">"space"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">3</span><span style="--0:#D6DEEB;--1:#403F53"> }, </span><span style="--0:#7FDBCA;--1:#096E72">"pictures"</span><span style="--0:#D6DEEB;--1:#403F53">: { </span><span style="--0:#7FDBCA;--1:#096E72">"entrance-1"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#F78C6C;--1:#AA0982">0</span><span style="--0:#D6DEEB;--1:#403F53"> } } },</span></div></div><div class="ec-line"><div class="code"><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#ECC48D;--1:#984E4D">entrances</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">: [ { </span><span style="--0:#7FDBCA;--1:#096E72">"id"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">entrance-1</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53">, </span><span style="--0:#7FDBCA;--1:#096E72">"description"</span><span style="--0:#D6DEEB;--1:#403F53">: </span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#C789D6;--1:#7C5686">A cave under the training grounds.</span><span style="--0:#D9F5DD;--1:#111111">"</span><span style="--0:#D6DEEB;--1:#403F53"> </span><span style="--0:#919F9F;--1:#5F636F">/* … */</span><span style="--0:#D6DEEB;--1:#403F53"> } ]</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code=""settings": { "finder": { "drawn": true, "font": { "advances": { /* … */ }, "space": 3 }, "pictures": { "entrance-1": 0 } } },"entrances": [ { "id": "entrance-1", "description": "A cave under the training grounds." /* … */ } ]"><div></div></button></div></figure></div> <table> <thead> <tr> <th>Field</th> <th>Meaning</th> </tr> </thead> <tbody> <tr> <td><code>settings.finder.drawn</code></td> <td>The pack draws the pages.</td> </tr> <tr> <td><code>settings.finder.font</code></td> <td>The lines’ small font’s letters’ advances, for measuring them.</td> </tr> <tr> <td><code>settings.finder.pictures</code></td> <td>Each entrance with a picture, and its number <code>n</code>: its glyph is U+E100 + n.</td> </tr> <tr> <td>an entrance’s <code>description</code></td> <td>A line or two, in the picture’s tooltip and the Bedrock form.</td> </tr> </tbody> </table> <p><strong>Pictures.</strong> An entrance’s own (uploaded in its panel), else its dungeon’s Group finder picture (Dungeon settings → Take this view), else the dungeon project’s thumbnail; cut to 78 × 36 and drawn at 2×. The Bedrock pack has each as <code>textures/voxelforge/finder/<entrance id>.png</code>.</p> <p><strong>The pack’s <code>voxelforge:finder</code> font:</strong> E000 the page, E001 the ready check (176 × 222 each); E010 + row the picked dungeon’s ring; E020 Queue and E021 Leave (36 × 18, top 107); E028 + row a ready player’s tick; E030 + 8 × line + icon the lines’ 7 × 7 icons (player, tank, healer, damage, boss, best; lines 0–2 under the picture, 3–6 the ready check’s rows); E100 + n the pictures. Words are in <code>voxelforge:finder_row_1</code> (the planks, the game’s font) and <code>voxelforge:finder_t<top></code> (the small font). The UI painter’s Group finder page and ready check templates (uses <code>finder</code>, <code>finderready</code>) are drawn over the pages.</p> <p><strong>Best clears.</strong> The plugin keeps this server’s fastest clear of each map entrance and dungeon file in <code>best.yml</code> (published dungeons keep Voxelforge’s).</p> </div><footer class="sl-flex astro-rvm3k47p"><div class="meta sl-flex astro-rvm3k47p"></div><div class="pagination-links print:hidden astro-egtr2pc6" dir="ltr"></div></footer><div class="docs-foot astro-onqnpwgr"><a href="/" class="astro-onqnpwgr">voxelforge.app</a><a href="/privacy" class="astro-onqnpwgr">Privacy</a><a href="/terms" class="astro-onqnpwgr">User Agreement</a><a href="/dungeons-licence" class="astro-onqnpwgr">VF Dungeons licence</a><a href="mailto:info@voxelforge.app" class="astro-onqnpwgr">info@voxelforge.app</a><span class="astro-onqnpwgr">Made by Voxelforge. Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft. Claude is a trademark of Anthropic. Voxelforge is not affiliated with or endorsed by Anthropic.</span></div></div></div></main></div></div></div></div></body></html>