# Item Abilities

```yaml
abilities:
  RIGHT_CLICK:
    chance: 50
    cooldown: 5
    conditions:
    - '%your condition here% = true : %allow%'
    effects:
      - 'CANCEL_EVENT'
      - 'OPEN_CRAFTING_TABLE'
```

#### `abilities`

* Abilities are effects that can be used with triggers.
* Read more about abilities here: [Abilities Wiki](https://wiki.advancedplugins.net/abilities)

#### `triggers`

* Triggers are what activate effects.
* Find all triggers here: [Triggers Wiki](https://wiki.advancedplugins.net/abilities/triggers)
* In the example above, when a player right-clicks with the item, it will activate the effects in this trigger.

#### `effects`

* The effects that will be activated by the trigger.
* Find all effects here: [Effects Wiki](https://wiki.advancedplugins.net/abilities/effects)
* In the example above, right-clicking with the item will cancel the event and open a crafting table.


---

# 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://items.advancedplugins.net/items/items-settings/item-abilities.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.
