Links

Armors

How to create custom armors

armors.yml

Armors are special items which can't have custom texture, but they can have a custom color, so you can have a green armor made of emeralds
This is the file where all custom armors behaviour and config are stored.
This is an example armor piece, you'll notice iit has some specific properties for amors.
ruby_chest:
enabled: true
permission: rubyarmor
name: '&fRuby chestplate'
specific_properties:
armor: 7
armor_color: ff0000
armor_type: chest
craft_recipe:
enabled: true
pattern:
- rXr
- rrr
- rrr
ingredients:
r: ruby
IMPORTANT If you set an HEX color that starts with a digit (example: 2F0000) you have to wrap it between "" like this or the plugin will not work:
armor_color: "2f0000"

Specific properties for armors

specific_properties:
armor: 7 #armor strenght
toughness: #armor toughness
armor_color: ff0000 #hex color
armor_type: chest #armor piece type

armor_type values

  • head
  • chest
  • legs
  • boots