# Settings

Settings are values you can set for each ability. Be it world whitelist, whitelist/blacklist for materials and more.

## Examples

Example for ability to Veinmine blocks

{% code lineNumbers="true" fullWidth="false" %}

```yaml
  levels:
    '1':
      chance: 15
      cooldown: 4
      settings:
        whitelist:
          - "COAL_ORE"
          - "COPPER_ORE"
          - "IRON_ORE"
          - "GOLD_ORE"
          - "LAPIS_ORE"
          - "REDSTONE_ORE"
          - "DIAMOND_ORE"
          - "EMERALD_ORE"
          - "NETHER_QUARTZ_ORE"
          - "NETHER_GOLD_ORE"
          - "ANCIENT_DEBRIS"
          - "DEEPSLATE_COAL_ORE"
          - "DEEPSLATE_COPPER_ORE"
          - "DEEPSLATE_IRON_ORE"
          - "DEEPSLATE_GOLD_ORE"
          - "DEEPSLATE_LAPIS_ORE"
          - "DEEPSLATE_REDSTONE_ORE"
          - "DEEPSLATE_DIAMOND_ORE"
          - "DEEPSLATE_EMERALD_ORE"
      effects:
        - 'BREAK_BLOCK @Veinmine'
```

{% endcode %}

## Important for AdvancedEnchantments

Settings must be set for each level, not for whole enchant.

## Setting reference table

| Setting        | Description                                                                          |
| -------------- | ------------------------------------------------------------------------------------ |
| worldBlacklist | List of worlds where this ability is blacklisted and won't activate. Case sensitive. |
| blacklist      | Material blacklist (works with certain effects only)                                 |
| whitelist      | Material whitelist(works with certain effects only)                                  |


---

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