DUXPLIMA Documentation

WorldGuard

Keeping claims out of WorldGuard regions and disabled worlds.

With WorldGuard installed, uxmClaims refuses to claim land that lies in a WorldGuard region. It never creates or changes regions. Worlds in disabledWorlds are refused at the same points, with or without WorldGuard.

Settings

generalSettings:
  worldGuardSupport: true
  disabledWorlds:
    - 'arena'
    - 'spawn'
    - 'world_nether'
KeyDefaultMeaning
worldGuardSupporttrueCheck WorldGuard regions. Read at startup
disabledWorldsarena, spawn, world_netherWorlds where nobody may claim, with or without WorldGuard. Matched ignoring case, applied by /claim reload

What is checked

ActionPoints checked
Creating a claimThe spot where the claim is created
Adding a chunkThe four corner columns of that chunk, at Y 64
Placing the claim blockThe block's position
The claim map menuShows a chunk as not claimable by the same corner test

A point counts when it is inside any region, whatever that region's flags, owners or members. A refused action shows errorNotClaimableArea ("This area cannot be claimed."). Admin commands are checked too.

Because the test samples points, a small region that covers none of them, such as a spawn platform in the middle of a chunk, does not stop that chunk from being added. Draw protected regions so they reach the chunk corners, or list the world in disabledWorlds.

Notes

  • Existing claims are not re-checked. Drawing a region over land somebody already claimed does not remove their claim.
  • Turn it off with worldGuardSupport: false where regions and claims are meant to overlap, such as a plot world inside one large region. disabledWorlds keeps working.
  • The API skips both checks for a write sent without the REGION side effect.

Related: Overview, config.yml