Skip to content

WorldGuardπŸ”—

ConditionsπŸ”—

NPC region: npcregionπŸ”—

persistent, static

This condition is met a NPC is inside a region.

Parameter Syntax Default Value Explanation
Npc Npc The ID of the NPC
Region Region Name The region where the NPC needs to be
Example
conditions:
  mayorAtSpawn: "npcregion mayor spawn"

Inside Region: regionπŸ”—

This condition is met when the player is inside the specified region.

Parameter Syntax Default Value Explanation
Region Region name The region where the player has to be
Example
conditions:
  inCastle: "region castle"

ObjectivesπŸ”—

Enter Region: regionπŸ”—

To complete this objective you need to be in a WorldGuard region with specified name.

Parameter Syntax Default Value Explanation
Region Region name The region where the player has to be
Entry entry Disabled The player needs to enter the region
Exit exit Disabled The player needs to leave the region
Example
objectives:
  deathZone: "region deathZone entry actions:kill"