# WorldGuardExtraFlagsPlus Configuration
# This file is located in the WorldGuard plugin folder
# You can customize plugin behavior here

# IMPORTANT: This file is reloaded when you use /wg reload or /wgefp reload

# =============================================================================
# INDIVIDUAL FLAG SETTINGS
# =============================================================================
# Additional configuration for flags that need extra settings

# Permit workbenches settings
# Controls behavior of the permit-workbenches flag
permit-workbenches:
  # If true, blocks placement of workbench blocks in regions with permit-workbenches flag
  # Default: false
  permit-workbench-block-placement-too: false
  # If true, "ALL" keyword in permit-workbenches flag will also include ender chests
  # Default: false (ALL does not include ender chests by default)
  permit-all-includes-enderchest: false
# Godmode settings
# Controls behavior of the godmode flag
godmode:
  # If true, automatically restore godmode when player leaves a region
  # Default: false
  auto-give-godmode-region-left: false
# Keep-inventory settings
# Controls behavior of the keep-inventory flag
keep-inventory-settings:
  # When true and DeluxeCombat is installed, combat-logging inside a keep-inventory region
  # saves the player's inventory and restores it on next login.
  # Default: true
  combat-log-restore: true
# Allow-block-place settings
# Controls behavior of the allow-block-place flag
allow-block-place-settings:
  # When true, allow-block-place only applies to region members and owners.
  # Use with a material whitelist (e.g. OAK_WALL_SIGN) so only members can place those blocks.
  # Default: false
  require-membership: false
# Allow-block-break settings
# Controls behavior of the allow-block-break flag
allow-block-break-settings:
  # When true, allow-block-break only applies to region members and owners.
  # Default: false
  require-membership: false
# WorldEdit flag settings
# Usage notes for the worldedit region flag
worldedit-settings:
  # Allow WorldEdit in __global__: /rg flag __global__ worldedit allow
  # Child regions with worldedit deny still block edits (WorldGuard priority applies).
  # Bypass permission: worldguardextraflagsplus.worldedit.bypass
  documentation-only: true
# Logging
# -------
logging:
  # Print detailed startup lines (config paths, per-region chunk-unload tickets, collision banner).
  # Default: false — keeps console quiet on large servers (see GitHub issue #14).
  verbose-startup-logs: false
#  
# =============================================================================
# MASTER FLAG CONTROL
# =============================================================================
# Enable/disable all available flags here
# Set to true to enable, false to disable
# Disabled flags won't be registered (no deprecation warnings on Paper servers)
all-flags-control:
  # LOCATION & TELEPORTATION
  # ------------------------
  teleport-on-entry: true
  teleport-on-exit: true
  # By default its true, if you are not using and want to turn off warns set it to false
  join-location: true
  respawn-location: true
  # COMMAND EXECUTION
  # -----------------
  command-on-entry: true
  command-on-exit: true
  console-command-on-entry: true
  console-command-on-exit: true
  # MOVEMENT & SPEED CONTROL
  # ------------------------
  walk-speed: true
  fly-speed: true
  fly: true
  # When false, glide is not registered — remove glide from existing regions or WorldGuard will warn (issue #13).
  glide: true
  frostwalker: true
  # PROTECTION & SURVIVAL
  # ---------------------
  godmode: true
  keep-inventory: true
  keep-exp: true
  item-durability: true
  # CHAT MODIFICATION
  # -----------------
  chat-prefix: true
  chat-suffix: true
  # EFFECT CONTROL
  # --------------
  blocked-effects: true
  # Effect syntax: /rg flag <region> give-effects night_vision
  # Also accepts minecraft:night_vision and optional amplifier/particles.
  give-effects: true
  # WORLD INTERACTION
  # -----------------
  worldedit: true
  play-sounds: true
  nether-portals: true
  chunk-unload: true
  villager-trade: true
  inventory-craft: true
  # BLOCK & ITEM CONTROL
  # -------------------
  allow-block-place: true
  deny-block-place: true
  allow-block-break: true
  deny-block-break: true
  deny-item-drops: true
  deny-item-pickup: true
  disable-completely: true
  disable-throw: true
  permit-workbenches: true
  # ENTRY CONTROL
  # -------------
  entry-min-level: true
  entry-max-level: true
  player-count-limit: true
  # SPECIAL FEATURES
  # ----------------
  disable-collision: true
  # EXPERIMENTAL — chambered-enderpearl flag
  # Mitigation for chambered ender pearl bypasses; behavior may change in future releases.
  # Default: true
  chambered-ender-pearl: true
  # EXPERIMENTAL — hide-players flag
  # Hides players from others while inside a hide-players region (hub/lobby optimization).
  # Default: false — enable here and set hide-players: true on regions to use.
  hide-players: false
  # WEATHER & ENVIRONMENTAL DAMAGE
  # ------------------------------
  # lightning-damage flag
  # When set to deny on a region, players won't take damage from lightning strikes
  # but the visual effect is still shown. Useful for PvP arenas.
  # Usage: /rg flag <region> lightning-damage deny
  # Default: true
  lightning-damage: true
  # COMMAND REPEAT
  # -------------
  # console-command-repeat flag
  # Repeats a console command at a fixed interval while a player stays in the region.
  # Each entry format: "<seconds> <command>" — interval 1-60 seconds.
  # Usage: /rg flag <region> console-command-repeat "20 give %player% diamond 1"
  # Default: false (disabled — opt-in)
  console-command-repeat: false
