Item Format
Follow the format below to configure an item in config files.
warning
Don't follow this format if you are using Guilds plugin, follow instead the Gui Item Configuration format.
tip
Display names and lores support legacy (e.g. &c
) and hex (e.g. #ff0000
) color formats.
Property | Description | Examples |
---|---|---|
material | Sets the material of the item Supports custom heads, ItemsAdder, Nexo, Oraxen, MMOItems and EcoItems | <material> texture:<value> <itemsadder/ia>:<namespace>:<id> nexo:<id> <oraxen/oxn>:<id> mmoitems:<type>:<id> ecoitems:<id> |
name | Sets the display name of the item | &e&lExample #ffff00Example |
lore | Sets the lore of the item | - "&dFirst Line" - "&dSecond Line" |
glow | Adds a glowing effect to the item | true false |
texture | Sets the texture of a player head | <uuid> <username> <base64-value> https://textures.minecraft.net/<hash> |
amount | Sets the amount of the item | <number> |
custom-model-data | Sets the custom model data of the item | <number> |
unbreakable | Sets the unbreakable state of the item | true false |
durability | Sets the durability of the item | <number> |
color | Sets the color of the item Supports Dye Colors and RGB values | <dye-color> <rr>:<gg>:<bb> |
armor-trim | Sets the trim of the armor | <material>:<pattern> |
flags | Adds a list of item flags to the item | - <flag> |
effects | Adds a list of potion effects to a potion | - <type>:[seconds]:[level] |
enchantments | Adds a list of enchantments to the item | - <type>:[level] |
modifiers | Adds a list of attribute modifiers to the item | - <type>:<value>:[equipment-slot] |
Example Configuration
example-item:
material: DIAMOND_SWORD
name: "&e&lExample"
lore:
- "&dFirst Line"
- "&dSecond Line"
glow: true
amount: 1
custom-model-data: 123
unbreakable: true
flags:
- "HIDE_ENCHANTS"
enchantments:
- "FIRE_ASPECT,2"
modifiers:
- "GENERIC_MOVEMENT_SPEED,1"