Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 806 Bytes

enable-disable-custom-blocks-in-worlds.md

File metadata and controls

45 lines (35 loc) · 806 Bytes
icon
ban

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" %}

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" %}

blocks:
  worlds:
    - "*"

{% endcode %}

Enable in all worlds but not in nether world

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

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

{% endcode %}