Skip to content

Getting Started

Ghost edited this page Nov 15, 2026 · 1 revision

πŸš€ Getting Started

This tutorial creates a protected spawn region and prevents ordinary players from placing or breaking blocks inside it.

Before you begin

  • Install Fabric Guard, Fabric API and WorldEdit for Fabric. See Installation.
  • Join as an administrator (or as a player granted the relevant permissions).
  • Work in the dimension containing the area you want to protect.

Step 1 β€” Select the region with WorldEdit

Use a WorldEdit cuboid selection. Either select two corners with the wand or use the position commands while standing at the two corners:

//wand
//pos1
//pos2

//pos1 and //pos2 are separate actions at opposite corners; do not execute both without moving unless you intend a very small selection. Include the complete height of the structure to be protected.

Step 2 β€” Define the region

/rg define spawn

This uses the current player's WorldEdit cuboid selection. Check the result:

/rg info spawn
/rg list

Step 3 β€” Add protection flags

/rg flag spawn block-break deny
/rg flag spawn block-place deny
/rg flag spawn pvp deny
/rg flag spawn mob-spawning deny

The four flags above target breaking, placing, PvP and mob spawning. They do not automatically cover every interaction type; configure extra flags only for actions you actually want to restrict.

Step 4 β€” Add an arrival message

/rg flag spawn greeting Welcome to Spawn!

Step 5 β€” Verify the settings

/rg list spawn
/rg info spawn

Have a non-privileged player test breaking, placing and combat. Operators and bypass-permission holders may be treated differently from ordinary players.

Step 6 β€” Save your region data

/rg save

Individual edits also invoke a save in this build. /rg save explicitly saves the region stores.

Next steps

Important 1.7.10 detail: /rg flag <region> <flag> without a value is wired to clear a flag in the inspected build. Use /rg list <region> to read current flags without changing them.

Clone this wiki locally