Repository navigation
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.
/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>
| 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. |
/rg list spawnThe list includes registered flags and marks values that are not explicitly set.
/rg flag spawn pvpIn 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.
__global__ applies across the dimension and can be configured without selecting a cuboid:
/rg flag __global__ pvp denyUnset 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.
/rg flag spawn all denyThis 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.
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.
Fabric Guard 1.7.10 · Modrinth · CurseForge · Home · Troubleshooting · Discord
Independent Fabric region-protection mod; not the official WorldGuard plugin.
🛡️ Fabric Guard Wiki
Regions
Protection
Help