> For the complete documentation index, see [llms.txt](https://ae.advancedplugins.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ae.advancedplugins.net/configuration/enchantments-in-essentials-kits.md).

# Enchantments In Essentials Kits

Enchantments are based on NBT data, therefore adding enchantments in lore will not work. Solution is to have commands in kits which give out items with custom enchants:

{% hint style="info" %}
**/aegive \<player> \<material> \<amount> \<all other data>**\
**Example Usage:**`/aegive GC 1 diamond_helmet name:&d&lName protection:5 glowing:1 lore:&&7cLore_line#1|&&7cSecond_Line`
{% endhint %}

Using this command, custom enchanted items can be given using similar to Essentials Kits (and the /give command) formatting.

[EssentialsX ](https://www.spigotmc.org/resources/essentialsx.9089/)is required for further steps. It's an improvement and continuation of the legacy Essentials plugin. Essentials Kits are located in `plugins/Essentials` `Kits.yml` file.&#x20;

Example Kits with Custom enchanted items:

```yaml
  items:
    delay: 6000
    items:
      - GOLDEN_APPLE 64
      - DIAMOND_PICKAXE efficiency: 5
      - /aegive {player} DIAMOND_SWORD 1 sharpness:5 unbreaking:5 customenchant:2 anotherenchant:6 name:&cDiamond&d_Chestplate 
      - /aegive {player} DIAMOND_CHESTPLATE 1 protection:4 unbreaking:5 customenchant:2 anotherenchant:6 name:&cDiamond&d_Chestplate
```

Here's a kit with 2 items that have custom enchants. By listing commands in kits, it's possible to give out custom enchanted items with Essentials kits.
