
Put Attributes on Items!

ItemAttributes is a lightweight but powerful plugin for Minecraft 1.21 that allows you to add or modify any attribute on your items with a simple command. Whether you want to create custom weapons with increased attack damage, armor with special properties, or tools with unique characteristics - ItemAttributes makes it easy! It is like the /enchant command but with attributes. It is like more enchantements and you can use it for custom items!

The plugin adds two simple commands:
/itemattribute <attribute> <value> [slot]
/unattribute <attribute>
All vanilla Minecraft 1.21 attributes are supported, including:
max_health - Maximum health pointsknockback_resistance - Resistance against knockback (0-1)movement_speed - Movement speedattack_damage - Attack damageattack_speed - Attack speedarmor - Armor pointsarmor_toughness - Armor toughnessluck - Luck for loot tablesYou can specify which slot the attribute applies to:
ANY - Apply to any slotHAND - Main hand onlyOFF_HAND - Off hand onlyFEET - Boots slotLEGS - Leggings slotCHEST - Chestplate slotHEAD - Helmet slot/itemattribute attack_damage 10 HAND
Adds +10 attack damage when the item is in the main hand
/itemattribute max_health 5 ANY
Adds +5 maximum health when the item is equipped in any slot
/itemattribute armor 4 CHEST
Adds +4 armor when the item is in the chestplate slot
/unattribute attack_damage
Removes all attack damage modifiers from the item
itemattributes.use - Permission to use the /itemattribute and /unattribute commandsThe plugin is highly configurable through the config.yml file:
# Language setting for plugin messages
# Available options: en, de
language: en
# Various settings for attribute limits and display options
settings:
show-success-messages: true
allow-negative-values: true
max-attribute-value: -1
show-attributes-in-lore: false
plugins folderplugins/ItemAttributes/config.yml if neededIf you encounter any issues or have suggestions for improvements, please report them on the GitHub Issues page.
This plugin is released under the ARR License. Feel free to use it on your server!
Enjoy enhancing your Minecraft experience with ItemAttributes!