builders.yml
Every builder, its levels, its NPC appearance and its unlock rules.
Appearance and stats live together, one entry per builder. Each builder is checked when the file loads; one that breaks a rule is skipped with its numbered error in the console, and the others load.
builders:
mason:
display: "<gold>Mason</gold>"
icon: PLAYER_HEAD
description:
- "<gray>A master of stone work.</gray>"
appearance:
type: PLAYER
texture: ""
signature: ""
equipment:
head: CHAINMAIL_HELMET
hand: STONE_BRICKS
trailParticle: ""
placeSound: BLOCK_STONE_PLACE
buildOrderOverride: ""
unlock:
price: 50000
permission: ""
levels:
1: { name: "Stone Apprentice", blocksPerSecond: 5, efficiency: 0.00, price: 0 }
2: { name: "Journeyman Mason", blocksPerSecond: 8, efficiency: 0.05, price: 75000 }
3: { name: "Master Mason", blocksPerSecond: 12, efficiency: 0.10, price: 150000 }
The builder
| Key | Default | Meaning |
|---|---|---|
display | the id | Name in menus, MiniMessage |
icon | PLAYER_HEAD | Material in the crew menu |
description | none | Lore lines in the crew menu |
buildOrderOverride | empty | Forces a build order for this builder, above the package's |
unlock.price | 0 | What buying the builder costs |
unlock.permission | empty | Needed to buy it; empty means anyone |
appearance
| Key | Meaning |
|---|---|
type | PLAYER or MOB |
texture, signature | A skin for PLAYER; empty uses the default skin |
entity | The mob for MOB, for example ZOMBIE; unknown values become a zombie |
equipment.head, chest, legs, feet, hand, offhand | What the NPC wears and holds |
trailParticle | A particle left behind as it walks |
placeSound | Played as it places blocks |
While working, the NPC holds the block it has just placed.
levels
| Key | Default | Meaning |
|---|---|---|
name | <id> <level> | The level's title in menus and placeholders |
blocksPerSecond | 2 | Placement and walking speed |
efficiency | 0 | Chance, 0.00 to 1.00, that a block costs no material |
price | 0 | Cost of reaching this level; the first level's is ignored |
Validation
| Code | Rule | When broken |
|---|---|---|
UB-060 | Levels start at 1 and increase without gaps; a builder has at least one | The builder is skipped |
UB-061 | blocksPerSecond never decreases from one level to the next | The builder is skipped |
UB-062 | builders.defaultBuilder in config.yml names a builder defined here | Logged at load and reload; the first builder stands in |
UB-063 | A MOB appearance has an entity | The builder is skipped |
Notes
- The five shipped builders are
apprentice,mason,robot,wizardandzombie_crew; see Builders. uxmbuilders.builder.<id>grants a builder anduxmbuilders.builder.<id>.level.<n>a level, as if bought. Both are registered so operators do not hold them by default./builders admin setbuilder <player> <builder> [level]sets a level directly, selects the builder and saves it at once.- The display names and descriptions follow
general.language: a language switch rewrites the ones you have not edited.
Related: Builders, packages.yml
Was this page helpful?