# Enable/Disable Custom Blocks in Worlds

You can disable custom blocks in some worlds, this will stop the plugin from generating custom region files.

By default the custom blocks are enabled in all worlds.

## All Rules

{% code title="config.yml" %}

```yaml
blocks:
  worlds:
    - "*" # Enable in all worlds
    - "world_*" # Enable in worlds starting by `world_`
    - "*_nether" # Enable in worlds ending by `_nether`
    - "!my_custom_world" # Disable in world named `my_custom_world`
```

{% endcode %}

## Examples

### Enable in all worlds

{% code title="config.yml" %}

```yaml
blocks:
  worlds:
    - "*"
```

{% endcode %}

### Enable in all worlds but not in nether world

{% code title="config.yml" %}

```yaml
blocks:
  worlds:
    - "*"
    - "!*_nether"
```

{% endcode %}


---

# 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/adding-content/blocks/enable-disable-custom-blocks-in-worlds.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.
