DUXPLIMA Documentation

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

KeyDefaultMeaning
displaythe idName in menus, MiniMessage
iconPLAYER_HEADMaterial in the crew menu
descriptionnoneLore lines in the crew menu
buildOrderOverrideemptyForces a build order for this builder, above the package's
unlock.price0What buying the builder costs
unlock.permissionemptyNeeded to buy it; empty means anyone

appearance

KeyMeaning
typePLAYER or MOB
texture, signatureA skin for PLAYER; empty uses the default skin
entityThe mob for MOB, for example ZOMBIE; unknown values become a zombie
equipment.head, chest, legs, feet, hand, offhandWhat the NPC wears and holds
trailParticleA particle left behind as it walks
placeSoundPlayed as it places blocks

While working, the NPC holds the block it has just placed.

levels

KeyDefaultMeaning
name<id> <level>The level's title in menus and placeholders
blocksPerSecond2Placement and walking speed
efficiency0Chance, 0.00 to 1.00, that a block costs no material
price0Cost of reaching this level; the first level's is ignored

Validation

CodeRuleWhen broken
UB-060Levels start at 1 and increase without gaps; a builder has at least oneThe builder is skipped
UB-061blocksPerSecond never decreases from one level to the nextThe builder is skipped
UB-062builders.defaultBuilder in config.yml names a builder defined hereLogged at load and reload; the first builder stands in
UB-063A MOB appearance has an entityThe builder is skipped

Notes

  • The five shipped builders are apprentice, mason, robot, wizard and zombie_crew; see Builders.
  • uxmbuilders.builder.<id> grants a builder and uxmbuilders.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