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.
1
ruby_chest:
2
enabled: true
3
permission: rubyarmor
4
name: '&fRuby chestplate'
5
specific_properties:
6
armor: 7
7
armor_color: ff0000
8
armor_type: chest
9
craft_recipe:
10
enabled: true
11
pattern:
12
- rXr
13
- rrr
14
- rrr
15
ingredients:
16
r: ruby
Copied!
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:
1
armor_color: "2f0000"
Copied!

Specific properties for armors

1
specific_properties:
2
armor: 7 #armor strenght
3
toughness: #armor toughness
4
armor_color: ff0000 #hex color
5
armor_type: chest #armor piece type
Copied!

armor_type values

  • head
  • chest
  • legs
  • boots