Armor
The following config may only be used in the Server > plugins > ArmorMechanics > Armor.yml
file. ArmorMechanics does not allow you to use any additional files.
ArmorTitle
This is the name of your armor. It must be unique. You can get your armor using /am get ArmorTitle
(Replace ArmorTitle) with your unique name.
Type
: <String>
This is the material of your item, e.g. diamond_hoe
. This is not case-sensitive. NEVER USE MAGIC NUMBERS. This plugin does not support numerical item ids. Instead of using 294, you must use golden_hoe
.
Name
: <String>
Lore
: <String List>
Durability
: <Integer>
How damaged your item is. Make sure you only use this with things that can be damaged (bows, tools, swords, fishing rods).
Unbreakable
: <Boolean>
Sets if your weapon is unbreakable by vanilla durability. Note that this will ignore the Durability
option.
Custom_Model_Data
: <Integer>
Hide_Flags
: <Boolean>
Hides all item flags (Enchantments, Attributes, Unbreakable, Destroys, Placed on, Potion effects, Dye color).
Skull_Owning_Player
: <String>
Enchantments
:
Example:
Attributes
:
The format is attribute value slot
. When you don't define slot, the attribute will be applied no matter which slot it is in. For armor, it is recommended that you always define the slot.
Attributes:
GENERIC_MOVEMENT_SPEED
GENERIC_MAX_HEALTH
GENERIC_ATTACK_DAMAGE
GENERIC_ATTACK_SPEED
GENERIC_KNOCKBACK_RESISTANCE
GENERIC_ARMOR
GENERIC_ARMOR_TOUGHNESS
Slots:
MAIN_HAND
OFF_HAND
FEET
LEGS
CHEST
HEAD
Example:
Leather_Color
: <Color>
Trim_Pattern
: <Pattern>
Choose one of: COAST
, DUNE
, EYE
, HOST
, RASIER
, RIB
, SENTRY
, SHAPER
, SILENCE
, SNOUT
, SPIRE
, TIDE
, VEX
, WARD
, WAYFINDER
, or WILD
.
Trim_Material
: <Material>
Choose one of: AMETHYST
, COPPER
, DIAMOND
, EMERALD
, GOLD
, IRON
, LAPIS
, NETHERITE
, QUARTZ
, REDSTONE
.
Deny_Use_In_Crafting
: <Boolean>
If true
this item can't be used in any kind of crafting.
Recipe
:
This creates a crafting recipe for your item so you can craft it in a crafting table. You can only make recipes with shapes (So you have to specify a shape, like an iron sword. You can not have a shapeless recipe, like a flint and steel).
Shape
:This is where you define where your items go.
Each item gets a unique character
You can have 3 items each line
Ingredients
:These are the actual items that you put in the crafting table
You can use simple materials or advanced
Instead of explaining how to use this, just look at the examples
Examples:
The following creates a recipe like an emerald sword
Bonus_Effects
The Bonus Effects are applied to players when they wear the armor.