Skip to content

WorldGuard

An existing WorldGuard region as the area of an AFK zone.

A zone can use an existing WorldGuard region instead of the box between two corners. This needs WorldGuard 7 and hooks.worldguard: true in config.yml (the default).

In the zone file, set the area type to WORLDGUARD, the world and the region id:

region:
type: WORLDGUARD
world: world
worldguard-id: spawn-afk

With WORLDGUARD, the pos1 and pos2 keys are not used, and the area cannot be changed with /szpontafkzone set. Change it in WorldGuard itself.