# Natural flags

You can configure these flags inside your `config.yml` file.\
Options:

* default\_list
* display\_list

Wilderness flags can be edited in the `/lands admin menu` menu.

## Reset flag(s) to their defined state from config.yml:

`/lands admin land <land | *> resetflag <flag | all>`\
Keep in mind that changing flags in the configuration files requires a server reload / restart.\
&#xNAN;_&#x50;ermission: lands.admin.command.land.resetflag_

## Flags

Each flag has a toggle permission, which is required for players to be able to toggle the flag.

* **ENTITY\_GRIEFING**\
  Allow entities to grief blocks?\
  &#xNAN;_&#x54;oggle permission: lands.setting.entity\_griefing_
* **TNT\_GRIEFING**\
  Allow tnt to destroy blocks?\
  &#xNAN;_&#x54;oggle permission: lands.setting.tnt\_griefing_
* **PISTON\_GRIEFING**\
  Allow pistons from a wilderness to push into the area? This should be set to false, since it protects against griefing from other players.\
  &#xNAN;_&#x54;oggle permission: lands.setting.piston\_griefing_
* **MONSTER\_SPAWN**\
  Should monsters spawn? This does not include spawners by default. To include spawners, you need to enable the include-spawners option.\
  &#xNAN;_&#x54;oggle permission: lands.setting.monster\_spawn_
* **PHANTOM\_SPAWN**\
  Should phantoms spawn? This does not include spawners by default.
* To include spawners, you need to enable the include-spawners option.\
  &#xNAN;_&#x54;oggle permission: lands.setting.phantom\_spawn_
* **WITHER\_ATTACK\_ANIMAL**\
  Should withers be able to damage animals? This flags gives you more control over mob farms.\
  &#xNAN;_&#x54;oggle permission: lands.setting.wither\_attack\_animal_
* **ANIMAL\_SPAWN**\
  Should animals spawn? This does not include spawners.\
  &#xNAN;_&#x54;oggle permission: lands.setting.animal\_spawn_
* **WATERFLOW\_ALLOW**\
  Allow water to flow? This should be set to false, since it protects against griefing from other players.\
  &#xNAN;_&#x54;oggle permission: lands.setting.waterflow\_allow_
* **FIRE\_SPREAD**\
  Should fire spread? Fire can not spread from wilderness into lands, even without this flag being set.\
  &#xNAN;_&#x54;oggle permission: lands.setting.fire\_spread_
* **LEAF\_DECAY**\
  Should leaves decay?\
  &#xNAN;_&#x54;oggle permission: lands.setting.leaf\_decay_
* **PLANT\_GROWTH**\
  Should plants (including trees) grow?\
  &#xNAN;_&#x54;oggle permission: lands.setting.plant\_growth_
* **SNOW\_MELT**\
  Should snow and ice be able to melt?\
  &#xNAN;_&#x54;oggle permission: lands.setting.snow\_melt_
* **BLOCK\_SPREADING**\
  Should blocks, such as amethyst blocks be able to spread into an area? This only affects blocks that are spreading from an area that is part of the same land. Blocks from the wilderness can never spread into claims, regardless of whether this flag is set or not.\
  &#xNAN;_&#x54;oggle permission: lands.setting.block\_spreading_

### Other Land Flags

These flags might not appear in the natural flag's menu. Instead, they usually have their own menu, where they can be toggled directly.

* **TITLE\_HIDE**\
  Hide the land enter title?\
  &#xNAN;_&#x54;oggle permission: None_
* **REQUEST\_ACCEPT**\
  Automatically accept new membership requests?\
  &#xNAN;_&#x54;oggle permission: None_

### Admin Flags

These flags might only appear in the menus of admin lands or if an server admin is opening the flags menu.

* **PEACEFUL**\
  If set, the land can't engage in any wars.\
  &#xNAN;_&#x54;oggle permission: None_
* **EXPIRATION\_SHIELD**\
  Makes sure the land won't be removed, even if it's inactive.\
  &#xNAN;_&#x54;oggle permission: None_

## Config

Here you configure the default flags and decide which flags should be displayed in the GUI menu to players.

```yaml
  # Natural flags configuration. Role flags can be configured in the roles.yml file.
  # List of available landFlags: https://wiki.incredibleplugins.com/lands/configuration/natural-flags
  # NOTE: This option requires server reload / restart.
  land-flags:
    # Configure DEFAULT natural flags which will apply to new land creations.
    default_list:
      - monster_spawn
      - phantom_spawn
      - animal_spawn
      - leaf_decay
      - plant_growth
      - snow_melt

    # Natural flags which should be visible in the flags menu.
    display_list:
      - entity_griefing
      - tnt_griefing
      - piston_griefing
      - monster_spawn
      - phantom_spawn
      - animal_spawn
      - waterflow_allow
      - fire_spread
      - leaf_decay
      - plant_growth
      - snow_melt
```
