WorldGuard Spawn Protection: Regions, Flags and Priorities

Protect your Minecraft server spawn from unwanted building, PvP and explosions with WorldGuard. Select a region, set its flags and give builders access without removing protection for everyone else.

zArrowTan Resources Nov 23, 2026 5 min read
config

1 //wand

2 //expand vert

3 /rg define spawn

4 /rg flag spawn pvp deny

5 /rg info spawn

On this page
  1. Install WorldGuard and WorldEdit
  2. Select and protect the spawn area
  3. Choose flags for fighting, mobs and explosions
  4. Let builders work while visitors stay protected
  5. Handle overlapping regions and world-wide rules

Key takeaways

5
  • Install matching WorldGuard and Bukkit WorldEdit builds on a compatible server.
  • Select the spawn area, expand it vertically and define a region to protect it from non-member building.
  • Set the pvp, mob-spawning and explosion flags to match the rules you want at spawn.
  • Add trusted builders as region members and test access with a non-member account.
  • Use priorities for overlapping regions and take care when changing the world-wide __global__ region.

If you run a Minecraft server and want players to visit spawn without changing the build or fighting there, WorldGuard can protect that area. You will create a region, choose its rules and test access for both visitors and builders.

Install WorldGuard and WorldEdit

WorldGuard protects regions and controls rules such as PvP and explosion damage. It needs a Bukkit-compatible server and the Bukkit build of WorldEdit, which supplies the selection tools used to mark the region. Choose builds of both plugins that match your server's Minecraft version.

Download the appropriate plugin files from the WorldGuard and WorldEdit pages. Stop the server before adding them, then start it and check the log for errors.

  1. Stop the server using its console.
  2. Copy both downloaded plugin JAR files into the server's plugins directory.
  3. Start the server and check its log for errors from either plugin.
  1. Stop the server from the Console.
  2. Upload both JAR files to the plugins directory using the File Manager or SFTP.
  3. Start the server from the Console and check the log for errors.
  1. Stop the server from the panel.
  2. Use Files / FTP to upload both JAR files to the plugins directory.
  3. Start the server and check its console for errors.

Select and protect the spawn area

Stand at spawn in game with access to the WorldEdit and WorldGuard commands. A cuboid selection is a box between two corners. Include the full area players should not alter, including any paths or decorations just outside the central building.

  1. Enter //wand to get the selection wand. Left-click one corner and right-click the opposite corner.
  2. Enter //expand vert to extend the selection vertically from bedrock to the sky.
  3. Enter /rg define spawn to create the region. Non-members are blocked from building in a newly defined region by default.
  4. Enter /rg flag spawn pvp deny to disable player combat in that region.
  5. Enter /rg info spawn to inspect the region and its flags.
//wand
//expand vert
/rg define spawn
/rg flag spawn pvp deny
/rg info spawn

If clicking the corners is awkward, stand at each corner and use //pos1 and //pos2 instead. Use //sel cuboid to switch back to a box selection. Check the edges in game before you invite players in.

Video: thebluecrusader Watch on YouTube

If you are still preparing the build, our team's Torii Spawn, made by our team, is a Japanese-themed spawn with NPC and crate spaces. You can paste a spawn schematic first and then select the finished area for protection. Our WorldEdit schematic guide explains the paste workflow.

Choose flags for fighting, mobs and explosions

Set each rule on the spawn region with /rg flag spawn <flag> <value>. Start with the rules your spawn needs, then test them in a safe area with an ordinary player account.

GoalCommandWhat to check
Stop PvP/rg flag spawn pvp denyTwo players cannot damage each other in the region.
Stop mob spawning/rg flag spawn mob-spawning denyThis also blocks spawning through commands and spawn eggs in the region.
Stop mob damage to players/rg flag spawn mob-damage denyThis controls damage to players, separately from spawning.
Control creeper explosions/rg flag spawn creeper-explosion denyTest explosion behaviour away from anything valuable.
Control TNT/rg flag spawn tnt denyCheck the result using a safe test area.

WorldGuard also has other-explosion and ghast-fireball flags for other explosion damage. To remove a flag's explicit value, run its flag command without the value, for example /rg flag spawn pvp. That lets the applicable default or another region's rule take effect.

Let builders work while visitors stay protected

Add a trusted builder as a member with /rg addmember spawn PlayerName. Replace PlayerName with the actual player name. To remove that access later, use /rg removemember spawn PlayerName.

You can use /rg addowner spawn PlayerName for an owner, or prefix a permission group with g: when adding a group. Give access deliberately: members and owners can build under the region's default protection rules. Test a builder account and a non-member account before relying on the boundary.

For staff who need to bypass region protection across a world, the permission node worldguard.region.bypass.<world> provides a wider bypass. It does not bypass a PvP deny flag. For a spawn builder who only needs access to this area, region membership is the narrower choice.

If a player still cannot build, inspect the region with /rg info spawn, check their membership and look for overlapping regions. Building in an overlap can require permission in all applicable regions. Also check vanilla spawn protection, which is a separate setting in server.properties; our server properties guide explains where to find it.

Handle overlapping regions and world-wide rules

Regions start at priority 0. If you create a smaller region inside spawn with different rules, set its priority higher with a command such as /rg setpriority market 10, replacing market with the region's actual name. For a flag, WorldGuard uses the highest-priority applicable region that defines that flag. Inspect and test the overlap rather than assuming that a change to the larger region controls every spot.

WorldGuard also has a __global__ region for each world. It has the lowest possible priority, so other regions can override its rules. For example, /rg flag __global__ pvp deny sets a world-wide PvP rule, while a higher-priority region can define a different value.

Once the rules are in place, walk across the spawn boundary as a visitor, try placing and breaking blocks, and test PvP with another player. Check any doors or containers visitors are supposed to use. Keep access control in mind beyond spawn too: the server security guide covers whitelists and operator access.

Frequently asked questions

How do I disable PvP at spawn with WorldGuard?

First create a region around spawn. Then run /rg flag spawn pvp deny, replacing spawn with your region's name if you chose another one. Test the rule with two players inside the boundary.

Why does /rg define not work?

Check that WorldGuard and the Bukkit build of WorldEdit started without errors and that your account has the worldguard.region.define permission. Make a WorldEdit selection before running the command, and use a region name such as spawn.

How do I let staff build in a protected WorldGuard region?

Use /rg addmember spawn PlayerName to add a trusted player to that region. Replace the region and player names as needed, then test their access. The worldguard.region.bypass. permission grants a wider world-level bypass, except for PvP deny flags.

How do I stop mobs spawning at spawn?

Run /rg flag spawn mob-spawning deny for your spawn region. This also affects spawning through commands and spawn eggs inside the region. Mob damage to players is controlled separately by the mob-damage flag.

How is vanilla spawn protection different from WorldGuard?

Vanilla spawn protection covers a square around the world spawn and restricts non-operators. WorldGuard lets you select a region and set additional rules for things such as PvP and explosions. The two protections are separate, so check both when troubleshooting building access.

Share this post

Products from this post

Other plugins mentioned

Related posts

© zArrowTan Resources 2026
Forked and customised by zArrowTan · Powered by Light Store