> For the complete documentation index, see [llms.txt](https://mcpets.gitbook.io/mcpets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mcpets.gitbook.io/mcpets/tutorials/plugin-features/worldguard-flags.md).

# WorldGuard flags

If you have WorldGuard installed on your server, then you'll be able to use these flags.

<table><thead><tr><th>Usage</th><th width="182">Flag id</th><th width="135">Default value</th><th>Usage</th></tr></thead><tbody><tr><td>Despawn the pet in region</td><td><em>mcpets-despawn</em></td><td><code>DENY</code></td><td>Set to <code>ALLOW</code> to remove the pet in that region</td></tr><tr><td>Dismount the pet when in region</td><td><em>mcpets-dismount</em></td><td><code>DENY</code></td><td>Set to <code>ALLOW</code> to dismount the owner from its pet in that region</td></tr><tr><td>Dismount the pet that are set to <code>flying</code> controller mode in the region</td><td>mcpets-dismount-flying</td><td><code>DENY</code></td><td>Set to <code>ALLOW</code> to dismount the owner from its pet in that region</td></tr><tr><td>Cancel the damages done by players to the pets in the region</td><td>mcpets-pet-player-damage</td><td><code>ALLOW</code></td><td>Set to <code>DENY</code> to cancel the damages done by players to pets</td></tr></tbody></table>
