Skip to content
Ghost edited this page Nov 15, 2026 · 1 revision

🚩 Flags

Flags define what should happen inside an individual region. Fabric Guard 1.7.10 registers 92 flags. See the complete list in Flag-Reference.

Set a flag

/rg flag spawn pvp deny
/rg flag spawn block-break deny
/rg flag spawn block-place deny
/rg flag spawn greeting Welcome to Spawn!

General syntax:

/rg flag <region> <flag> <value>

Flag value types

Type Accepted / example values Notes
State allow, deny Many protections use this type.
Boolean true, false (also yes/no, on/off) Used by some options such as notify-enter.
Integer Whole numbers Healing/feeding settings and game-mode use this type in the inspected binary.
String Free text Used for greetings and denial messages.
Command set Comma-separated command prefixes For blocked-cmds / allowed-cmds; command matching is prefix-based.
Group all, members, owners, nonmembers, nonowners For entry/exit group targeting.
Time lock Integer ticks; optional + or - relative value For time-lock.
Weather lock clear, rain For weather-lock.

See current flags

/rg list spawn

The list includes registered flags and marks values that are not explicitly set.

Clear a flag (important!)

/rg flag spawn pvp

In the inspected 1.7.10 command registration, omitting the value invokes the flagClear handler. The help text describes the argument-only form as get/set, but the command wiring clears the explicit value. Use /rg list spawn to read flags.

Region-wide flags

__global__ applies across the dimension and can be configured without selecting a cuboid:

/rg flag __global__ pvp deny

Default and unset states

Unset is not the same as deny. The implementation defines explicit defaults for several state flags. Other flags are evaluated using region-specific and membership logic. Avoid assuming that all unset flags block an action.

Bulk change (advanced)

/rg flag spawn all deny

This is not limited to the four common protection flags; it targets supported state flags as a group. The in-game command has a short confirmation window. Back up region data and test carefully.

Flag bypass permissions

The mod recognizes nodes shaped like:

worldguard.region.flag.<flag-name>.<region-id>.bypass
fabricguard.region.flag.<flag-name>.<region-id>.bypass

These target a particular flag and region, not every protection everywhere. See Permissions.

More

Flag-Reference · Entry-and-Exit · Examples

Clone this wiki locally