Still loading

SBlock stands beside a fenced Minecraft village plaza.
Minecraft · Guide

Protect spawn and arenas using WorldGuard

Configure WorldGuard spawn protections, overlapping PvP pit priorities over __global__, mob flags, and safe-zone entry rules cleanly on Paper.

On this page

Download WorldGuard and selection dependency

Survival player claims protect wooden bases out in the wilderness, yet your central hub, trade hall, crate plaza, and PvP arena need immutable server-wide rules so mobs cannot blow up NPCs and nobody builds obsidian walls over /spawn . WorldGuard defines polygonal or cuboid regions enforced continuously at world level .

Download WorldGuard alongside WorldEdit (or FAWE) from Modrinth before creating zones .

Region protection and selection plugins

WorldGuard official plugin iconWorldGuardZone protection, PvP flags, explosion rules, and region priorities.ModrinthWorldEdit official plugin iconWorldEditSupplies //wand and //expand vert selection tools used to define zones.Modrinth

Define spawn regions and set critical protection flags

Select the spawn corners with WorldEdit, expand vertically if appropriate, and define the region. Non-members cannot build by default; avoid a blanket build deny unless you understand its effects. Choose the PvP, explosion, spawning and invincibility flags your hub needs, then test them .

Define a protected safe spawn zone and carve an overlapping PvP pit
//expand vert
/rg define spawn
/rg flag spawn pvp deny
/rg flag spawn tnt deny
/rg flag spawn other-explosion deny
/rg flag spawn creeper-explosion deny
/rg flag spawn mob-spawning deny
/rg flag spawn invincible allow

Resolve overlapping zones using priorities and __global__

For an arena inside spawn, define a smaller overlapping region and give it a higher priority. Set the intended PvP and invincibility flags on that arena, then test both regions. WorldGuard uses the highest-priority region with a flag defined; for conflicting state flags at equal priority, deny wins. The per-world __global__ region has the lowest priority .

Data table

High-impact WorldGuard flags and common pitfalls

High-impact WorldGuard flags and common pitfalls
FlagSafe spawn valueWhy admins care
pvpdenyStops spawn combat cleanly
other-explosiondenyControls other explosion damage; test actual sources
invincibleallowPrevents accidental fall or burning damage in hub
use / interactOnly as neededUse the narrowest needed flag; test controls and containers
passthroughavoid on protected buildsMakes this region non-protecting; other overlapping regions can still protect

Avoid breaking GriefPrevention and crate menus at spawn

Test merchants, crates, containers and portals with a non-operator account. Use the narrowest suitable flag: use covers controls such as doors and levers, chest-access covers inventories, and interact is broader. Check other protection plugins and avoid granting more access than intended .

Block ender pearls, chorus fruit, and __global__ rules cleanly

In Lifesteal or arena hubs, players constantly throw ender pearls across glass barriers or eat chorus fruit to escape walled pits back into safe hubs . Set /rg flag spawn enderpearl deny and chorus-fruit-teleport deny inside protected roof enclosures where pearls could clip onto unreachable borders.

If you run an administrative event or resource world where nobody should break blocks anywhere, configure /rg flag __global__ carefully rather than selecting millions of blocks by hand . Review our Java SMP setup guide and Paper plugin troubleshooting guide if flag overrides look ignored.

Final region verification checklist

Walk your test non-operator account across spawn plazas, interact with merchants, try breaking spawn lanterns, test swinging a sword inside the spawn circle vs stepping down into the higher-priority PvP pit, and verify boundaries fire instantaneously .

WorldGuard hub and arena checks

  • Confirm WorldGuard and WorldEdit (or FAWE) load cleanly in /plugins .
  • Define spawn with pvp deny, tnt deny, other-explosion deny, and mob-spawning deny .
  • Set clean priority numbers (setpriority) so nested arena rules override spawn .
  • Grant only the specific interaction flags needed, then test containers and controls .
  • Verify protections using an unprivileged default test account with zero bypass nodes .

Frequently asked questions

Why can players not open crates or press warp buttons inside my protected spawn?

Check the relevant interaction flags and other protection plugins. use covers doors and controls, while chest-access covers inventories; interact is broader. Test the narrowest appropriate change with a non-operator account .

Why did spawn still allow PvP when I put an arena region inside spawn?

Check which regions and flags apply at that location. The highest-priority region with a flag defined takes precedence; if conflicting state flags have equal priority, deny wins .

Does setting __global__ flags affect every single dimension like world_nether too?

No. Each Minecraft dimension (world, world_nether, world_the_end) maintains its own separate __global__ and named region list inside plugins/WorldGuard/worlds/.

What does invincible allow inside spawn protect players from?

The invincible flag protects players from damage. Test relevant hazards, plugins and region overlaps on your server rather than assuming every effect is covered .

Next up: multi-world separation and NPC hubs

Java SMP server setup guidePaper plugin troubleshooting

Sources & evidence

Was this article helpful?

Share this post