> ## Documentation Index
> Fetch the complete documentation index at: https://wiki.grumpshollow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claim Flags

> Customize your claims with Claim Flags.

Claim Flags allow you to customize how your claims behave.

Use them to control PvP, mob spawning, crop trampling, flight, claim messages, weather, and much more.

***

## Commands

| Command                        | Description                              |
| ------------------------------ | ---------------------------------------- |
| `/allflags`                    | View all claim flags available to you.   |
| `/listclaimflags`              | View active flags in your current claim. |
| `/setclaimflag <flag> [value]` | Set a claim flag.                        |
| `/unsetclaimflag <flag>`       | Remove a claim flag.                     |

***

## How To Use Claim Flags

Stand inside a claim that you own and use:

```bash theme={null}
/setclaimflag <flag> [value]
```

To remove a flag:

```bash theme={null}
/unsetclaimflag <flag>
```

Example:

```bash theme={null}
/setclaimflag NoCropTrampling
```

***

## 👥 Common Player Flags

| Flag                    | Description                                      |
| ----------------------- | ------------------------------------------------ |
| AllowPvP                | Allows PvP inside the claim.                     |
| AllowVillagerTrading    | Allows players to trade with villagers.          |
| NoCropTrampling         | Prevents crops from being trampled.              |
| NoEnter                 | Prevents players from entering the claim.        |
| NoEnterPlayer           | Blocks specific players from entering.           |
| NoEnderPearl            | Prevents ender pearl teleporting.                |
| NoElytra                | Prevents elytra usage.                           |
| NoFlight                | Prevents flying inside the claim.                |
| NoItemDrop              | Prevents players from dropping items.            |
| NoItemPickup            | Prevents players from picking up items.          |
| NoMobSpawns             | Prevents all mobs from spawning.                 |
| NoMonsters              | Prevents hostile mobs from spawning or entering. |
| NoMonsterSpawns         | Prevents hostile mob spawning.                   |
| NoPlayerDamage          | Prevents player damage.                          |
| NoPlayerDamageByMonster | Prevents monster damage to players.              |
| NoVehicle               | Prevents use of boats and minecarts.             |
| PlayerTime              | Sets custom time within the claim.               |
| PlayerWeather           | Sets custom weather within the claim.            |
| ProtectNamedMobs        | Protects named mobs and pets.                    |
| ReadLecterns            | Allows players to read lecterns.                 |
| ViewContainers          | Allows viewing containers without taking items.  |

***

## 🌎 Environment Flags

| Flag                 | Description                                                   |
| -------------------- | ------------------------------------------------------------- |
| AllowBlockExplosions | Allows explosions to damage blocks.                           |
| AllowInfest          | Allows silverfish to infest blocks.                           |
| AllowWitherDamage    | Allows withers to damage blocks.                              |
| NoAnvilDamage        | Prevents anvils from taking durability damage.                |
| NoBlockFade          | Prevents blocks from fading or melting.                       |
| NoBlockForm          | Prevents certain blocks from forming naturally.               |
| NoBlockGravity       | Prevents sand and gravel from falling.                        |
| NoCoralDecay         | Prevents coral from dying.                                    |
| NoExplosionDamage    | Prevents explosion damage.                                    |
| NoFireDamage         | Prevents fire from damaging blocks.                           |
| NoFireSpread         | Prevents fire from spreading.                                 |
| NoFluidFlow          | Prevents water and lava from flowing.                         |
| NoGrowth             | Stops natural crop and plant growth.                          |
| NoIceForm            | Prevents ice from forming.                                    |
| NoLeafDecay          | Prevents leaves from decaying.                                |
| NoSnowForm           | Prevents snow from forming.                                   |
| NoStructureGrowth    | Prevents saplings and mushrooms from growing into structures. |
| NoVineGrowth         | Prevents vines from growing.                                  |
| RestoreGrazedGrass   | Regrows grass eaten by sheep.                                 |

***

## 🎮 Gameplay Flags

| Flag                  | Description                                   |
| --------------------- | --------------------------------------------- |
| HealthRegen           | Regenerates health inside the claim.          |
| InfiniteArrows        | Returns arrows shot inside the claim.         |
| KeepInventory         | Keeps inventory on death.                     |
| KeepLevel             | Keeps experience levels on death.             |
| KeepLoaded            | Keeps the claim chunk loaded.                 |
| NoChorusFruit         | Prevents chorus fruit teleportation.          |
| NoCombatLoot          | Prevents mobs from dropping loot.             |
| NoFallDamage          | Prevents fall damage.                         |
| NoHunger              | Prevents hunger loss.                         |
| NoItemDamage          | Prevents item durability loss.                |
| NoLootProtection      | Disables GP death loot protection.            |
| NoMapMaking           | Prevents map creation.                        |
| NoMobDamage           | Prevents mobs from damaging passive mobs.     |
| NoOpenDoors           | Prevents opening doors, gates, and trapdoors. |
| NoPetDamage           | Prevents pets from being damaged.             |
| NoPlayerCropTrampling | Prevents crop trampling by players.           |
| RaidMemberOnly        | Only members can trigger raids.               |
| RespawnLocation       | Sets a custom respawn point.                  |

***

## 👾 Mob Spawn Flags

| Flag                 | Description                                      |
| -------------------- | ------------------------------------------------ |
| NoMobSpawns          | Prevents all mob spawning.                       |
| NoMobSpawnsType      | Prevents specific mob types from spawning.       |
| NoMonsters           | Prevents hostile mobs from spawning or entering. |
| NoMonsterSpawns      | Prevents hostile mob spawning.                   |
| SpawnReasonWhitelist | Only allows specific spawn reasons.              |

Example:

```bash theme={null}
/setclaimflag NoMobSpawnsType creeper;zombie;phantom
```

***

## 💬 Message & Notification Flags

| Flag           | Description                                 |
| -------------- | ------------------------------------------- |
| EnterActionbar | Shows an actionbar when entering the claim. |
| EnterMessage   | Sends a custom message when entering.       |
| ExitActionbar  | Shows an actionbar when leaving the claim.  |
| ExitMessage    | Sends a custom message when leaving.        |
| NotifyEnter    | Notifies the owner when someone enters.     |
| NotifyExit     | Notifies the owner when someone leaves.     |

***

## ⭐ Popular Flags

| Flag             | Use                                      |
| ---------------- | ---------------------------------------- |
| NoCropTrampling  | Protect crops from being trampled.       |
| NoMonsters       | Keep hostile mobs away from your base.   |
| NoMobSpawns      | Prevent all mob spawning.                |
| OwnerMemberFly   | Allow trusted friends to fly.            |
| KeepInventory    | Keep items when dying inside your claim. |
| EnterMessage     | Display a welcome message.               |
| ExitMessage      | Display a goodbye message.               |
| PlayerTime       | Set custom time for your claim.          |
| PlayerWeather    | Set custom weather for your claim.       |
| ProtectNamedMobs | Protect pets and named mobs.             |

***

## Notes

* You must be standing inside your claim to set or remove claim flags.
* Some flags may require additional permissions or ranks.
* Use `/allflags` to see which flags are available to you.
* Use `/listclaimflags` to view active flags in your current claim.
* Some flags require a value (such as weather, time, or mob types).
