# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ae.advancedplugins.net/configuration/enchantments-in-essentials-kits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
