Skip to main content

Flags reference

Complete reference for all 44 flags in WorldGuard ExtraFlags Plus 4.4.2.

Syntax: /rg flag <region> <flag> <value> — use clear to remove a value.

Location & teleportation

FlagDescriptionValuesExample
teleport-on-entryTeleport player on region entryworld,x,y,z,yaw,pitch/rg flag spawn teleport-on-entry world,0,64,0,0,0
teleport-on-exitTeleport player on region exitworld,x,y,z,yaw,pitch/rg flag spawn teleport-on-exit world,0,64,0,0,0
join-locationLogin spawn inside regionworld,x,y,z,yaw,pitch/rg flag spawn join-location world,0,64,0,0,0
respawn-locationDeath respawn override in regionworld,x,y,z,yaw,pitch/rg flag spawn respawn-location world,0,64,0,0,0

:::info Folia join-location is not available on Folia. Disable it in config if unused to silence Paper warnings. :::

Command execution

FlagDescriptionValuesExample
command-on-entryRun as player on entrycommand string/rg flag spawn command-on-entry "say Welcome, %player%!"
command-on-exitRun as player on exitcommand string/rg flag spawn command-on-exit "say Goodbye!"
console-command-on-entryRun from console on entrycommand string/rg flag spawn console-command-on-entry "eco give %player% 100"
console-command-on-exitRun from console on exitcommand string/rg flag spawn console-command-on-exit "eco take %player% 100"
console-command-repeatRepeat console command on interval while inside region"<seconds> <command>" (1–60s)/rg flag arena console-command-repeat "20 give %player% diamond 1"

console-command-repeat is disabled by default — enable in config-wgefp.yml. Cooldown persists across exits.

Movement & speed

FlagDescriptionValuesExample
walk-speedWalk speed in region-1.0 to 1.0/rg flag spawn walk-speed 0.5
fly-speedFly speed in region-1.0 to 1.0/rg flag spawn fly-speed 0.3
flyAllow/deny flightallow / deny/rg flag spawn fly deny
glideElytra controlallow / deny / force/rg flag spawn glide force
frostwalkerFrost Walker enchantallow / deny/rg flag spawn frostwalker deny

fly deny also disables EssentialsX flight when EssentialsX is installed.

Protection & survival

FlagDescriptionValuesExample
godmodeInvulnerability in regionallow / deny/rg flag spawn godmode allow
keep-inventoryKeep inventory on deathtrue / false/rg flag spawn keep-inventory true
keep-expKeep XP on deathtrue / false/rg flag spawn keep-exp true
item-durabilityItem durability lossallow / deny/rg flag spawn item-durability deny

godmode integrates with EssentialsX. keep-inventory can restore inventory on combat-log with DeluxeCombat (see configuration).

Chat

FlagDescriptionValuesExample
chat-prefixPrefix for chat in regiontext (PlaceholderAPI)/rg flag spawn chat-prefix "&7[Spawn] "
chat-suffixSuffix for chat in regiontext (PlaceholderAPI)/rg flag spawn chat-suffix " &7[Lv %player_level%]"

Effects

FlagDescriptionValuesExample
blocked-effectsBlock potion effectseffect names/rg flag spawn blocked-effects BLINDNESS,SLOWNESS
give-effectsApply effects while insideeffect:amp:particles/rg flag spawn give-effects night_vision,strength:1:false
play-soundsPlay sounds in regionsound data/rg flag spawn play-sounds minecraft:block.note_block.pling

World interaction

FlagDescriptionValuesExample
worldeditWorldEdit / FAWE in regionallow / deny/rg flag spawn worldedit deny
nether-portalsNether portal use/creationallow / deny/rg flag spawn nether-portals deny
chunk-unloadPrevent chunk unloadallow / deny/rg flag spawn chunk-unload deny
villager-tradeVillager tradingallow / deny/rg flag spawn villager-trade deny
inventory-craftInventory 2×2 craftingallow / deny/rg flag spawn inventory-craft deny

Bypass WorldEdit deny with permission worldguardextraflagsplus.worldedit.bypass.

Block & item control

FlagDescriptionValuesExample
allow-block-placeWhitelist placeable blocksmaterials/rg flag spawn allow-block-place OAK_PLANKS,STONE
deny-block-placeBlacklist placeable blocksmaterials/rg flag spawn deny-block-place TNT,LAVA
allow-block-breakWhitelist breakable blocksmaterials/rg flag spawn allow-block-break GLASS
deny-block-breakBlacklist breakable blocksmaterials/rg flag spawn deny-block-break DIAMOND_BLOCK
deny-item-dropsBlock dropping itemsmaterials/rg flag spawn deny-item-drops DIAMOND
deny-item-pickupBlock picking up itemsmaterials/rg flag spawn deny-item-pickup DIAMOND
disable-completelyBlock item usage entirelyMACE, SPEAR, TRIDENT, etc./rg flag spawn disable-completely MACE,SPEAR
disable-throwBlock throwing throwablesEGG, SNOWBALL, ENDER_PEARL, EXPERIENCE_BOTTLE/rg flag spawn disable-throw EGG,SNOWBALL
permit-workbenchesBlock workbench typesALL, CRAFT, ANVIL, etc./rg flag spawn permit-workbenches ALL

allow-block-place / allow-block-break support optional member-only mode in config.

Entry control

FlagDescriptionValuesExample
entry-min-levelMinimum XP level or PAPI valuenumber / placeholder/rg flag dungeon entry-min-level 20
entry-max-levelMaximum XP level or PAPI valuenumber / placeholder/rg flag dungeon entry-max-level 50
player-count-limitMax players in regioninteger/rg flag arena player-count-limit 10

Special features

FlagDescriptionValuesExample
disable-collisionDisable player collisiontrue / false/rg flag spawn disable-collision true
hide-playersHide players from each other (experimental)true / false/rg flag hub hide-players true
chambered-enderpearlChambered pearl mitigation (experimental)allow / deny/rg flag spawn chambered-enderpearl deny
lightning-damageLightning damage (visuals remain)allow / deny/rg flag arena lightning-damage deny

disable-collision

Disables player-to-player collision inside a region. Players can walk through each other — useful for spawn areas, hubs, and crowded lobbies.

/rg flag spawn disable-collision true
/rg flag spawn disable-collision false
/rg flag spawn disable-collision clear

How it works

The flag uses Minecraft's native scoreboard team system — the only reliable way to control entity-to-entity collision.

  1. Single-player teams — If a player is alone on their team, the plugin temporarily sets collision to NEVER, then restores the original rule on exit.
  2. Multi-member teams — If the player shares a team with others, a temporary per-player team (WGC_<hash>) is created so other members are unaffected. The player is restored to their original team on exit.
  3. No team — Player is added to a per-player team with collision disabled, then removed on exit.

When TAB is installed, the plugin uses TAB's API to set collision rules. TAB integration takes priority over direct team manipulation. Without TAB, the plugin falls back to direct scoreboard team changes.

Compatibility

PluginStatus
TABFully supported (API integration)
Most pluginsGenerally compatible
CMI, NametagEdit, DeluxeTags, VentureChat, LuckPermsMay conflict — team collision changes
Party / guild / PvP pluginsCoordinate team usage

On startup, the plugin may warn if other team-using plugins are detected.

Team conflict edge cases

  1. Shared teams — Only the entering player is moved to a per-player team; teammates stay unchanged.
  2. Other plugins modifying teams — Stored collision rules are restored on exit, which may overwrite another plugin's changes made while the player was inside the region.
  3. Deleted teams — If a team is deleted while a player is inside, restoration fails gracefully (player ends with no team).

Troubleshooting

Players still collide

  1. Verify the flag: /rg flags <region>disable-collision: true
  2. Confirm the player is inside the region: /rg info <region>
  3. Check server logs for [Collision] or [Collision Flag] warnings
  4. Reload: /wgefp reload or /wg reload

Conflicts with other plugins

  1. Identify team-using plugins (TAB, CMI, NametagEdit, party plugins, etc.)
  2. Test with other plugins temporarily disabled
  3. Re-enable one by one to find the conflict

Players kicked on entry

  1. Check logs for IllegalStateException or team-related errors
  2. Team names use format WGC_<hash> (12 chars, within Minecraft's 16-char limit)
  3. Ensure the server scoreboard system is healthy — restart if corrupted

Per-player team name format: WGC_<hash> — e.g. WGC_a1b2c3d4 (4-char prefix + 8-char hex from UUID hashCode()).

In-game flag help

The plugin exposes flag metadata for external tools (e.g. WG-GUI). Use /wgefp commands where available on your server build.