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.

 


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    270052
  • Created
    Jun 17, 2017
  • Last Released File
    Sep 1, 2021
  • Total Downloads
    10,023
  • License

Categories

Members