Custom Armor and Upgrades
If you ask me, the default armor of minecraft is a bit boring and unfair. The best armor is simply diamond armor with everything protection 4 and unbreaking 3, so after a while, everyone will use the same armor.
I would also say it's a bit unfair because finding diamonds is a bit about luck and enchantments are literally random.
With this plug-in, you can configure the armor, the recipes and eventually add upgrades.
Features:
- edit the recipes of existing armor
- edit the default attributes and enchantments of existing armor
- add new armor with it's own attributes, enchantments and recipe
- prevent players from crafting existing armor
- let players open a custom anvil menu when rightclicking one with custom armor in hand
- disable normal minecraft anvil (optional)
- let players open a custom enchanting menu when rightclicking one with custom armor in hand
- disable normal minecraft enchanting (optional)
How to use this plugin:
When there is no config present for this plug-in, it will create a file called config.yml. The contents of this file will look like this:
has been created: true
armor types:
Diamond Helmet:
armor type: diamond
recipe:
- diamond
- diamond
- diamond
- diamond
- empty
- diamond
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Chestplate:
armor type: diamond
recipe:
- diamond
- empty
- diamond
- diamond
- diamond
- diamond
- diamond
- diamond
- diamond
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 8.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Leggings:
armor type: diamond
recipe:
- diamond
- diamond
- diamond
- diamond
- empty
- diamond
- diamond
- empty
- diamond
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 6.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Boots:
armor type: diamond
recipe:
- empty
- empty
- empty
- diamond
- empty
- diamond
- diamond
- empty
- diamond
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Helmet:
armor type: iron
recipe:
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- empty
- iron_ingot
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Chestplate:
armor type: iron
recipe:
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 6.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Leggings:
armor type: iron
recipe:
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- empty
- iron_ingot
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 5.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Boots:
armor type: iron
recipe:
- empty
- empty
- empty
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- empty
- iron_ingot
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Helmet:
armor type: gold
recipe:
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- empty
- gold_ingot
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Chestplate:
armor type: gold
recipe:
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 5.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Leggings:
armor type: gold
recipe:
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- empty
- gold_ingot
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Boots:
armor type: gold
recipe:
- empty
- empty
- empty
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- empty
- gold_ingot
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Cap:
armor type: leather
recipe:
- leather
- leather
- leather
- leather
- empty
- leather
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Tunic:
armor type: leather
recipe:
- leather
- empty
- leather
- leather
- leather
- leather
- leather
- leather
- leather
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Pants:
armor type: leather
recipe:
- leather
- leather
- leather
- leather
- empty
- leather
- leather
- empty
- leather
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Boots:
armor type: leather
recipe:
- empty
- empty
- empty
- leather
- empty
- leather
- leather
- empty
- leather
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
This might look a bit terrifying, but this configuration is just the configuration of the armor of vanilla minecraft. So, if you run this plug-in for the first time, the armor that players craft will barely change.
If you open this file with a text editor (like word or notepad), you can simply change some numbers in this file. After you are done changing the file, you should save your changes. After you restart the server or any operator uses the command /customarmor reload, this plug-in will read the config again. All armor that is crafted after the reload, will have the attributes and enchantments that are specified in the config.
This is how to change the attributes and enchantments of existing armor and how to change their recipes.
Like I said, you can also add new armor, but that is a little bit more complicated. In order to do this, you should copy a set of existing armor in the 'file' above, change the name, change the recipe, and edit some attributes or enchantments. If you do this, you need to make sure that you don't break the lay-out of the file.
Below, I will show you the 'file' that adds a recipe for chainmail armor:
has been created: true
armor types:
Diamond Helmet:
armor type: diamond
recipe:
- diamond
- diamond
- diamond
- diamond
- empty
- diamond
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Chestplate:
armor type: diamond
recipe:
- diamond
- empty
- diamond
- diamond
- diamond
- diamond
- diamond
- diamond
- diamond
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 8.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Leggings:
armor type: diamond
recipe:
- diamond
- diamond
- diamond
- diamond
- empty
- diamond
- diamond
- empty
- diamond
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 6.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Boots:
armor type: diamond
recipe:
- empty
- empty
- empty
- diamond
- empty
- diamond
- diamond
- empty
- diamond
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Helmet:
armor type: iron
recipe:
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- empty
- iron_ingot
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Chestplate:
armor type: iron
recipe:
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 6.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Leggings:
armor type: iron
recipe:
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- empty
- iron_ingot
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 5.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Boots:
armor type: iron
recipe:
- empty
- empty
- empty
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- empty
- iron_ingot
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Chainmail Helmet:
armor type: chain
recipe:
- flint
- flint
- flint
- flint
- empty
- flint
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Chainmail Chestplate:
armor type: chain
recipe:
- flint
- empty
- flint
- flint
- flint
- flint
- flint
- flint
- flint
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 5.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Chainmail Leggings:
armor type: chain
recipe:
- flint
- flint
- flint
- flint
- empty
- flint
- flint
- empty
- flint
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 4.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Chainmail Boots:
armor type: chain
recipe:
- empty
- empty
- empty
- flint
- empty
- flint
- flint
- empty
- flint
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Helmet:
armor type: gold
recipe:
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- empty
- gold_ingot
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Chestplate:
armor type: gold
recipe:
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 5.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Leggings:
armor type: gold
recipe:
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- empty
- gold_ingot
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Boots:
armor type: gold
recipe:
- empty
- empty
- empty
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- empty
- gold_ingot
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Cap:
armor type: leather
recipe:
- leather
- leather
- leather
- leather
- empty
- leather
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Tunic:
armor type: leather
recipe:
- leather
- empty
- leather
- leather
- leather
- leather
- leather
- leather
- leather
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Pants:
armor type: leather
recipe:
- leather
- leather
- leather
- leather
- empty
- leather
- leather
- empty
- leather
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Boots:
armor type: leather
recipe:
- empty
- empty
- empty
- leather
- empty
- leather
- leather
- empty
- leather
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
The configuration for the chainmail armor is in the middle of the 'file'. If you would run the plug-in with this config, players would be able to create chainmail armor by using flint. However, I believe they would still need iron to repair it in an anvil, unless you disable that.
I will show an example of how to use a bit more creative armor types below:
has been created: true
armor types:
Diamond Helmet:
armor type: diamond
recipe:
- diamond
- diamond
- diamond
- diamond
- empty
- diamond
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Chestplate:
armor type: diamond
recipe:
- diamond
- empty
- diamond
- diamond
- diamond
- diamond
- diamond
- diamond
- diamond
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 8.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Leggings:
armor type: diamond
recipe:
- diamond
- diamond
- diamond
- diamond
- empty
- diamond
- diamond
- empty
- diamond
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 6.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Diamond Boots:
armor type: diamond
recipe:
- empty
- empty
- empty
- diamond
- empty
- diamond
- diamond
- empty
- diamond
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 2.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Helmet:
armor type: iron
recipe:
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- empty
- iron_ingot
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Chestplate:
armor type: iron
recipe:
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 6.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Leggings:
armor type: iron
recipe:
- iron_ingot
- iron_ingot
- iron_ingot
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- empty
- iron_ingot
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 5.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Iron Boots:
armor type: iron
recipe:
- empty
- empty
- empty
- iron_ingot
- empty
- iron_ingot
- iron_ingot
- empty
- iron_ingot
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Chainmail Helmet:
armor type: chain
recipe:
- flint
- flint
- flint
- flint
- empty
- flint
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Chainmail Chestplate:
armor type: chain
recipe:
- flint
- empty
- flint
- flint
- flint
- flint
- flint
- flint
- flint
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 5.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Chainmail Leggings:
armor type: chain
recipe:
- flint
- flint
- flint
- flint
- empty
- flint
- flint
- empty
- flint
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 4.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Chainmail Boots:
armor type: chain
recipe:
- empty
- empty
- empty
- flint
- empty
- flint
- flint
- empty
- flint
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Helmet:
armor type: gold
recipe:
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- empty
- gold_ingot
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Chestplate:
armor type: gold
recipe:
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 5.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Leggings:
armor type: gold
recipe:
- gold_ingot
- gold_ingot
- gold_ingot
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- empty
- gold_ingot
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Golden Boots:
armor type: gold
recipe:
- empty
- empty
- empty
- gold_ingot
- empty
- gold_ingot
- gold_ingot
- empty
- gold_ingot
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Cap:
armor type: leather
recipe:
- leather
- leather
- leather
- leather
- empty
- leather
- empty
- empty
- empty
armor slot: helmet
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Tunic:
armor type: leather
recipe:
- leather
- empty
- leather
- leather
- leather
- leather
- leather
- leather
- leather
armor slot: chestplate
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 3.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Pants:
armor type: leather
recipe:
- leather
- leather
- leather
- leather
- empty
- leather
- leather
- empty
- leather
armor slot: leggings
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Leather Boots:
armor type: leather
recipe:
- empty
- empty
- empty
- leather
- empty
- leather
- leather
- empty
- leather
armor slot: boots
leather red component: 160
leather green component: 101
leather blue component: 64
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: false
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Cactus Hat:
armor type: leather
recipe:
- cactus
- cactus
- cactus
- cactus
- empty
- cactus
- empty
- empty
- empty
armor slot: helmet
leather red component: 0
leather green component: 200
leather blue component: 0
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 2.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: true
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 5
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Cactus Shirt:
armor type: leather
recipe:
- cactus
- empty
- cactus
- cactus
- cactus
- cactus
- cactus
- cactus
- cactus
armor slot: chestplate
leather red component: 0
leather green component: 200
leather blue component: 0
armor: 3.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 2.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: true
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 5
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Cactus Pants:
armor type: leather
recipe:
- cactus
- cactus
- cactus
- cactus
- empty
- cactus
- cactus
- empty
- cactus
armor slot: leggings
leather red component: 0
leather green component: 200
leather blue component: 0
armor: 2.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 2.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: true
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 5
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
Cactus Boots:
armor type: leather
recipe:
- empty
- empty
- empty
- cactus
- empty
- cactus
- cactus
- empty
- cactus
armor slot: boots
leather red component: 0
leather green component: 200
leather blue component: 0
armor: 1.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 2.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
unbreakable: true
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
water_worker: 0
thorns: 5
depth_strider: 0
frost_walker: 0
durability: 0
mending: 0
vanishing_curse: 0
binding_curse: 0
This example shows you how you could add cactus armor. Although you probably wouldn't like to add this to your server, it should give a good example of how to add custom armor with this plug-in.
Like I said, you can also use this plug-in to prevent players from crafting armor, the config 'file' below shows how you would have to do that:
has been created: true
armor types:
I showed you some examples of how to use this plug-in. You might have noticed that the config just contains a list of armor items with their recipes. So an empty list means players can't craft armor.
Upgrades:
One of the features of this plug-in is adding armor upgrades. You can enable custom recipes by changing the value in the config of 'use custom anvil' from false to true. After you reload the config, players will open a custom menu when they right click an anvil with a piece of custom armor in their inventory. However, the list of available upgrades will be empty.
That is because you didn't register any custom upgrades for that item. Maybe, I could explain how to add upgrades to the armor, but I think showing an example would be easier. If you would add the following lines of text to the config.yml, all default armor would have the custom upgrade 'Durability' (actually just adds the unbreaking enchantment). Players will now see this upgrade if they open the custom anvil menu after a reload. They would be able to perform the upgrade if they have enough obsidian in their inventory. Hopefully, this example will help you with this complicated stuff.
upgrades:
Durability:
icon: obsidian
available on the following armor:
- Diamond Helmet
- Diamond Chestplate
- Diamond Leggings
- Diamond Boots
- Iron Helmet
- Iron Chestplate
- Iron Leggings
- Iron Boots
- Golden Helmet
- Golden Chestplate
- Golden Leggings
- Golden Boots
- Leather Cap
- Leather Tunic
- Leather Pants
- Leather Boots
level 1:
unbreakable: false
water_worker: false
mending: false
vanishing_curse: false
binding_curse: false
armor: 0.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 1
price:
obsidian: 1
level 2:
unbreakable: false
water_worker: false
mending: false
vanishing_curse: false
binding_curse: false
armor: 0.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 2
price:
obsidian: 10
level 3:
unbreakable: false
water_worker: false
mending: false
vanishing_curse: false
binding_curse: false
armor: 0.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 3
price:
obsidian: 50
level 4:
unbreakable: false
water_worker: false
mending: false
vanishing_curse: false
binding_curse: false
armor: 0.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 4
price:
obsidian: 250
level 5:
unbreakable: true
water_worker: false
mending: false
vanishing_curse: false
binding_curse: false
armor: 0.0
armor toughness: 0.0
attack damage: 0.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: -10
price:
obsidian: 1000
'Custom enchantments' are almost the same as custom upgrades, except that the menu can be opened with an enchantment table instead of an anvil. Custom enchantments can also cost levels instead of only items. You also need to set the value of 'use custom enchanting' to true.
And just like the upgrades, you need to add some 'custom enchantments' to the config before it is any useful. I will show an example of a custom enchantment below:
custom enchantments:
Strength:
icon: blaze_powder
available on the following armor:
- IronHelmet
- Iron Chestplate
- Iron Leggings
- Iron Boots
level 1:
unbreakable: false
water_worker: false
mending: false
vanishing_curse: false
binding_curse: false
armor: 0.0
armor toughness: 0.0
attack damage: 1.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
price:
blaze_powder: 1
required level: 1
level cost: 1
level 2:
unbreakable: false
water_worker: false
mending: false
vanishing_curse: false
binding_curse: false
armor: 0.0
armor toughness: 0.0
attack damage: 1.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
price:
blaze_powder: 2
required level: 15
level cost: 2
level 3:
unbreakable: false
water_worker: false
mending: false
vanishing_curse: false
binding_curse: false
armor: 0.0
armor toughness: 0.0
attack damage: 1.0
attack speed: 0.0
extra health: 0.0
extra speed: 0.0
knockback resistance: 0.0
extra luck: 0.0
protection_environmental: 0
protection_fire: 0
protection_fall: 0
protection_explosions: 0
protection_projectile: 0
oxygen: 0
thorns: 0
depth_strider: 0
frost_walker: 0
durability: 0
price:
blaze_powder: 5
required level: 30
level cost: 3
This would add the Strength enchantment to iron armor.
Examples:
With the command /customarmor example, an operator can open a menu with a few premade configurations. As soon as he clicks on one, the config will be replaced with the premade config and be reloaded instantly. So you don't have to copy everything in the spoilers above. Those examples should be useful for adding custom upgrades and enchantments. After you have done this, you could open the config with a text editor and use the examples to create better upgrades than I did.
Notice:
-This plug-in only modifies armor that is crafted while this plug-in is active. So it will not change the armor in the creative inventory or the armor that is already on your server.
-All attributes and enchantments of this plug-in exist in vanilla minecraft, so the armor will still work after the plug-in has been removed.
-All enchantments you add on custom armor will ignore almost all vanilla enchantment restrictions like maximum levels and conflicting enchantments.
-If you use enchantments above level 10, players will read the ugly enchantment. ... .name instead of the nice enchantment names.
Because of internal reasons:
-The available armor types are 'diamond', 'iron', 'chain', 'gold' and 'leather'.
-Using numbers that are greater than 2,100,000,000 can cause problems.
-For the option 'unbreakable', you can only use 'true' or 'false'.
-You can't add multiple items with the same name or recipe.
Enchantment names:
You might have noticed that not all enchantments in the config have exactly the same name in minecraft. For most enchantments, it's pretty obvious what they are, others are a bit harder to find directly.
The enchantment 'environmental protection' is the minecraft enchantment protection.
The enchantment 'durability' is the minecraft enchantment unbreaking.
Other enchantments should be obvious.
Editing recipes:
Below the 'recipe', there is a list of 9 item names. Do not change this amount! Just like the enchantments, not all item names are exactly the same as they are in minecraft. If bukkit can't find the name of an item in that list (or that name is 'air'), this plug-in will assume that slot on the crafting table should be empty. You should visualise the recipe list like this:
-item1-item2-item3-
-item4-item5-item6-
-item7-item8-item9-
Below is a list of all available items or blocks for the recipes. Note that this is for mc 1.12.
air
stone
grass
dirt
cobblestone
wood
sapling
bedrock
water
stationary_water
lava
stationary_lava
sand
gravel
gold_ore
iron_ore
coal_ore
log
leaves
sponge
glass
lapis_ore
lapis_block
dispenser
sandstone
note_block
bed_block
powered_rail
detector_rail
piston_sticky_base
web
long_grass
dead_bush
piston_base
piston_extension
wool
piston_moving_piece
yellow_flower
red_rose
brown_mushroom
red_mushroom
gold_block
iron_block
double_step
step
brick
tnt
bookshelf
mossy_cobblestone
obsidian
torch
fire
mob_spawner
wood_stairs
chest
redstone_wire
diamond_ore
diamond_block
workbench
crops
soil
furnace
burning_furnace
sign_post
wooden_door
ladder
rails
cobblestone_stairs
wall_sign
lever
stone_plate
iron_door_block
wood_plate
redstone_ore
glowing_redstone_ore
redstone_torch_off
redstone_torch_on
stone_button
snow
ice
snow_block
cactus
clay
sugar_cane_block
jukebox
fence
pumpkin
netherrack
soul_sand
glowstone
portal
jack_o_lantern
cake_block
diode_block_off
diode_block_on
stained_glass
trap_door
monster_eggs
smooth_brick
huge_mushroom_1
huge_mushroom_2
iron_fence
thin_glass
melon_block
pumpkin_stem
melon_stem
vine
fence_gate
brick_stairs
smooth_stairs
mycel
water_lily
nether_brick
nether_fence
nether_brick_stairs
nether_warts
enchantment_table
brewing_stand
cauldron
ender_portal
ender_portal_frame
ender_stone
dragon_egg
redstone_lamp_off
redstone_lamp_on
wood_double_step
wood_step
cocoa
sandstone_stairs
emerald_ore
ender_chest
tripwire_hook
tripwire
emerald_block
spruce_wood_stairs
birch_wood_stairs
jungle_wood_stairs
command
beacon
cobble_wall
flower_pot
carrot
potato
wood_button
skull
anvil
trapped_chest
gold_plate
iron_plate
redstone_comparator_off
redstone_comparator_on
daylight_detector
redstone_block
quartz_ore
hopper
quartz_block
quartz_stairs
activator_rail
dropper
stained_clay
stained_glass_pane
leaves_2
log_2
acacia_stairs
dark_oak_stairs
slime_block
barrier
iron_trapdoor
prismarine
sea_lantern
hay_block
carpet
hard_clay
coal_block
packed_ice
double_plant
standing_banner
wall_banner
daylight_detector_inverted
red_sandstone
red_sandstone_stairs
double_stone_slab2
stone_slab2
spruce_fence_gate
birch_fence_gate
jungle_fence_gate
dark_oak_fence_gate
acacia_fence_gate
spruce_fence
birch_fence
jungle_fence
dark_oak_fence
acacia_fence
spruce_door
birch_door
jungle_door
acacia_door
dark_oak_door
end_rod
chorus_plant
chorus_flower
purpur_block
purpur_pillar
purpur_stairs
purpur_double_slab
purpur_slab
end_bricks
beetroot_block
grass_path
end_gateway
command_repeating
command_chain
frosted_ice
magma
nether_wart_block
red_nether_brick
bone_block
structure_void
observer
white_shulker_box
orange_shulker_box
magenta_shulker_box
light_blue_shulker_box
yellow_shulker_box
lime_shulker_box
pink_shulker_box
gray_shulker_box
silver_shulker_box
cyan_shulker_box
purple_shulker_box
blue_shulker_box
brown_shulker_box
green_shulker_box
red_shulker_box
black_shulker_box
structure_block
iron_spade
iron_pickaxe
iron_axe
flint_and_steel
apple
bow
arrow
coal
diamond
iron_ingot
gold_ingot
iron_sword
wood_sword
wood_spade
wood_pickaxe
wood_axe
stone_sword
stone_spade
stone_pickaxe
stone_axe
diamond_sword
diamond_spade
diamond_pickaxe
diamond_axe
stick
bowl
mushroom_soup
gold_sword
gold_spade
gold_pickaxe
gold_axe
string
feather
sulphur
wood_hoe
stone_hoe
iron_hoe
diamond_hoe
gold_hoe
seeds
wheat
bread
leather_helmet
leather_chestplate
leather_leggings
leather_boots
chainmail_helmet
chainmail_chestplate
chainmail_leggings
chainmail_boots
iron_helmet
iron_chestplate
iron_leggings
iron_boots
diamond_helmet
diamond_chestplate
diamond_leggings
diamond_boots
gold_helmet
gold_chestplate
gold_leggings
gold_boots
flint
pork
grilled_pork
painting
golden_apple
sign
wood_door
bucket
water_bucket
lava_bucket
minecart
saddle
iron_door
redstone
snow_ball
boat
leather
milk_bucket
clay_brick
clay_ball
sugar_cane
paper
book
slime_ball
storage_minecart
powered_minecart
egg
compass
fishing_rod
watch
glowstone_dust
raw_fish
cooked_fish
ink_sack
bone
sugar
cake
bed
diode
cookie
map
shears
melon
pumpkin_seeds
melon_seeds
raw_beef
cooked_beef
raw_chicken
cooked_chicken
rotten_flesh
ender_pearl
blaze_rod
ghast_tear
gold_nugget
nether_stalk
potion
glass_bottle
spider_eye
fermented_spider_eye
blaze_powder
magma_cream
brewing_stand_item
cauldron_item
eye_of_ender
speckled_melon
monster_egg
exp_bottle
fireball
book_and_quill
written_book
emerald
item_frame
flower_pot_item
carrot_item
potato_item
baked_potato
poisonous_potato
empty_map
golden_carrot
skull_item
carrot_stick
nether_star
pumpkin_pie
firework
firework_charge
enchanted_book
redstone_comparator
nether_brick_item
quartz
explosive_minecart
hopper_minecart
prismarine_shard
prismarine_crystals
rabbit
cooked_rabbit
rabbit_stew
rabbit_foot
rabbit_hide
armor_stand
iron_barding
gold_barding
diamond_barding
leash
name_tag
command_minecart
mutton
cooked_mutton
banner
end_crystal
spruce_door_item
birch_door_item
jungle_door_item
acacia_door_item
dark_oak_door_item
chorus_fruit
chorus_fruit_popped
beetroot
beetroot_seeds
beetroot_soup
dragons_breath
splash_potion
spectral_arrow
tipped_arrow
lingering_potion
shield
elytra
boat_spruce
boat_birch
boat_jungle
boat_acacia
boat_dark_oak
totem
shulker_shell
iron_nugget
gold_record
green_record
record_3
record_4
record_5
record_6
record_7
record_8
record_9
record_10
record_11
record_12
For the other minecraft versions, you can take a look at https://github.com/knokko/bukkit-material-overview/blob/master/combiner/materialsPart.txt . The list of items should be read like ITEM_NAME(minimum minecraft version, maximum minecraft version), and you should use the ITEM_NAME of the item you want. Note that many items were renamed between mc 1.12 and 1.13, so you might need to search for similar names. Note 2: Use Control F rather than searching the whole list.
Commands:
The newest version of this plug-in has 4 commands:
- /customarmor reload (this will reload the config, so you don't have to restart the server to add new recipes).
- /customarmor disable (this will disable all custom armor recipes and restore the vanilla recipes).
- /customarmor enable (this will enable all custom armor recipes and disable the vanilla recipes).
- /customarmor compress (this will reduce the size of the config.yml)
- /customarmor example (this will open an inventory menu where you can select an example configuration)
Instead of using /customarmor ... , you can also use /ca ... if you are lazy.
Known bugs:
-Version 2.0 is not completely compatible with craftbukkit, but it is with spigot. Version 2.1 is compatible with both.
If you have any questions or suggestions, you can just post a comment. I will read all the comments for a while.
I love this plugin and used it a lot in 1.16, is there any chance it will be updated to work in 1.17?
In reply to goodfoodisgood1:
I just updated it to minecraft 1.17, but it can take a few days before it gets moderator approval.
In reply to knokko2:
Thank you
I think it would do a great job if I added an option to put permissions by armor, such as armor only for vip with configurable permission, also that is more difficult but being able to add a custom model data to armor so that they will be linked to a texture pack
and as a suggestion and report when I create an armor I get red on the crafting table even with the materials
In reply to giantpenguin0:
Custom model data is not as cool as it sounds: it only works on the inventory textures of armor; not on the equipped armor texture. Only Optifine CIT can do that (but I think this is already possible without further help from me).
Permissions are a nice idea, but I'm not actively maintaining this plug-in anymore (only pushing to new minecraft versions and bug fixes when they are found). Currently, my plug-in Knokko's Custom Items consumes enough time (plus some other projects of me that are not related to minecraft).
And what do you mean by red on the crafting table?
In reply to knokko2:
Thanks for your answer, what I was referring to with red is, when you don't have the materials to build something, the recipe is marked in red, when you get the materials, the recipe is marked in white, the armor of the complement appears in red as if not I had materials but I do.
In reply to giantpenguin0:
I think I know what you mean. I will look into it later.
In reply to giantpenguin0:
I tried this on my own test server and I also had this problem. Unfortunately, I don't know how and if this can be solved. (I suspect this behavior is hardcoded in the minecraft client, which is beyond my control.) If you find another plug-in that does manage this correctly, you can let me know.
In reply to knokko2:
Thanks for the help
This plugin doesn't seem to make a config file when installed, and when I type '/ca enable' It gives me a message saying 'An internal error occurred while attempting to perform this command'. Any ideas?
In reply to Gravity0112:
When you see 'An internal error occurred while attempting to perform this command', an error should have been printed in the server console. Also, there was probably an error printed during start-up. You need to show me that error.
Until I see that error, I can only guess that you are using an unsupported minecraft version (or the wrong version of this plug-in for that particular mc version).
In reply to knokko:
Error occurred while enabling CustomArmor v2.5 (Is it up to date?)
And
Server thread/ERROR null
17.04 23:00:25 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'ca' in plugin CustomArmor v2.5
17.04 23:00:25 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:148) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at org.bukkit.craftbukkit.v1_16_R1.CraftServer.dispatchCommand(CraftServer.java:726) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.PlayerConnection.handleCommand(PlayerConnection.java:1652) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1509) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(SourceFile:36) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(SourceFile:9) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(SourceFile:144) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(SourceFile:118) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:899) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:892) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeAll(SourceFile:103) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:875) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:815) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:155) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
17.04 23:00:25 [Server] INFO Caused by: java.lang.AbstractMethodError: Method net/minecraft/server/v1_16_R1/RecipeSmithing.toBukkitRecipe()Lorg/bukkit/inventory/Recipe; is abstract
17.04 23:00:25 [Server] INFO at net.minecraft.server.v1_16_R1.RecipeSmithing.toBukkitRecipe(SourceFile) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at org.bukkit.craftbukkit.v1_16_R1.inventory.RecipeIterator.next(RecipeIterator.java:31) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at org.bukkit.craftbukkit.v1_16_R1.inventory.RecipeIterator.next(RecipeIterator.java:1) ~[craftbukkit-1.16.1.jar:git-Bukkit-ab38754]
17.04 23:00:25 [Server] INFO at nl.knokko.recipes.ArmorRecipes.clearVanillaRecipes(ArmorRecipes.java:68) ~[?:?]
17.04 23:00:25 [Server] INFO at nl.knokko.recipes.ArmorRecipes.enable(ArmorRecipes.java:31) ~[?:?]
17.04 23:00:25 [Server] INFO at nl.knokko.main.CustomArmor.activate(CustomArmor.java:55) ~[?:?]
17.04 23:00:25 [Server] INFO at nl.knokko.command.CommandCustomArmor.onCommand(CommandCustomArmor.java:38) ~[?:?]
17.04 23:00:28 [Multicraft] Skipped 2 lines due to rate limit (30/s)
Were the errors I got.
In reply to Gravity0112:
This plug-in only supports 1.16.4 and 1.16.5, but you seem to be on an older 1.16.x version. Consider upgrading to 1.16.4/5 (contains bugfixes and security fixes).
The error you are showing here seems to be caused by something else (but even without that error, you would run into errors later). I can't cause this error on my own server. My best guess is that you are using a broken craftbukkit or spigot implementation. I think this can also be solved by upgrading your server.
Let me just say, this plugin is amazing! It is perfect for a server I am making, however in your list of blocks that work for recipes it says that skull and skull_item works in recipes, but I can't seem to figure out how to put it in, also is it possible to give yourself (or more importantly summon a mob wearing) some of the custom made armor with a command? Something like a replace item command would be nice but anything really would be incredible.
Thanks, your help would be appreciated
In reply to captianpuma93:
I think the skull_item is for the player head. The list of blocks and items was automatically generated, so not everything it contains has to be usable. (I don't think skull itself is possible to obtain at all.) Also, on which minecraft version are you? That list was originally generated for mc 1.12, but many items were renamed.
EDIT: I updated the list in case you are not using mc 1.12
This plug-in doesn't have a /summon command generator, but there are command generators available on the internet, for instance https://minecraft.tools/en/spawn.php .
In reply to knokko:
I'm using 1.16.5, and thanks for letting me know, although it is a little sad I can't use te custom player heads (skulls) in recipes and such I can live with it because your plugin is so awesome, I've been making tons of sets of custom armor.
Just in case it is possible to put skulls in, what kind of syntax do you think it would be, would it be JSON?
In reply to knokko:
One more thing, sorry to spam, but I have question. I disabled normal enchanting, and then went over to test it, when I click on ye table with a blaze hat in my hand it sends a message saying I can only access the enchantment table while holding custom armor, even though I'm already doing that, and I have several custom enchants in the file already.
In reply to captianpuma93:
Currently, the recipe system of this plug-in is to simple to handle complicated ingredients like player heads. But, I think there are other plug-ins that allow you to add complicated crafting recipes.
EDIT: I just tried to use the custom enchanting myself, and I wasn't able to use it either. I uploaded a new version to fix this, but it will have to wait for moderator approval. You can check the Files daily to see when 2.5 is approved.
In reply to knokko:
Thank you, I will do that.
In reply to captianpuma93:
It looks like the file was already approved before you posted this reply, so you can download it already.