# AdvancedEnchantments

## [Download here](https://www.spigotmc.org/resources/43058/)

## How to use enchants

{% hint style="info" %}
Requires 4.0.2-beta-9 or greater.
{% endhint %}

This is an example configuration for an ItemsAdder custom item enchant.

```yaml
info:
  namespace: test
items:
  advanced_enchants_test:
    display_name: advanced_enchants_test
    resource:
      material: DIAMOND_SWORD
      generate: false
      model_path: minecraft:item/emerald
    enchants:
      - Beastslayer
      - Epicness
      - Immolation
```

{% hint style="warning" %}

### Warning

In order to use custom **AdvancedEnchantments** enchants on your **ItemsAdder** items you have to enable it in config.yml of **ItemsAdder**.

```yaml
advanced_enchantments:
  enable_custom_enchants_in_items_configs: true
```

This has a downside though.\
You won't be able to use custom armors texture in the [Armor Set](https://ae.advancedplugins.net/configuration/armor-sets) feature of **AdvancedEnchantments** because of how they hook into my plugin.\
There is nothing I can do.
{% endhint %}


---

# 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://itemsadder.devs.beer/compatibility-with-other-plugins/compatible/advancedenchantments.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.
