Docs
Armor sets
Armor sets that give stats while worn. Every piece has its own bonuses, and wearing part or all of the set adds more.
| Configuration | armors.yml |
| Menu | menus/armors.yml |
| Command | /armor (aliases /armors, /armadura, /armaduras) |
| Module | armors |
Configuration
yaml
sets:
miner:
enabled: true
name: "@armors.names.miner"
icon: LEATHER_CHESTPLATE
pieces:
helmet:
material: LEATHER_HELMET
color: "#8D6E63" # leather only
name: "@armors.item.name"
lore:
- "@armors.item.lore"
bonuses:
pickaxe-exp: 0.02
chestplate:
material: LEATHER_CHESTPLATE
color: "#8D6E63"
bonuses:
sell: 0.02
leggings:
material: LEATHER_LEGGINGS
bonuses:
sell: 0.02
boots:
material: LEATHER_BOOTS
bonuses:
pickaxe-exp: 0.02
set-bonuses:
"2": # with 2 pieces of the set
tokens: 0.03
"4": # with all 4
sell: 0.05
enchant-chance: 0.02| Option | Does |
|---|---|
pieces.<piece> | helmet, chestplate, leggings, boots. Each with material, name, lore, glow, custom-model-data, color and bonuses |
set-bonuses | "<pieces worn>": stats |
The item accepts {set}, {piece}, {bonuses} and {set_bonuses}.
- Pieces are unbreakable.
- They are recognized by a hidden tag, so renaming or enchanting them doesn't break the bonus.
- Set bonuses stack: with 4 pieces both
"2"and"4"count.
Included: miner (leather) and tycoon (gold).
Commands
| Command | Permission | Does |
|---|---|---|
/armor | everyone | Sets, worn pieces and active bonuses |
/armor give <player> <set> [helmet|chestplate|leggings|boots|all] | pulseprison.armors.admin | Gives pieces |
/armor reload | pulseprison.armors.admin | Reloads armors.yml |