xRegions/config.yml

xRegions 1.0.4 documentation

config.yml

Configuration reference for config.yml.

Raw YAML

Examples match release 1.0.4. Back up your configuration before editing. Use this plugin's reload command where supported; restart after dependency or JAR changes.

Settings in this file

Values shown below are sanitized defaults from the release JAR. Empty private fields must be configured locally.

Default value is shown below. Keep the type and YAML structure when editing this setting.

Setting

Region selection tool behavior.

Setting

Default protection flags for newly created regions.

Setting

Player-facing messages and command feedback. Preserve the placeholder spelling used in each default.

Setting

Default configuration

Preserve YAML indentation. Never publish your configured keys, tokens or player data.

# xRegions 1.0.2
# New regions are protected by default. Owners and added members bypass their region's flags.

prefix: '&8[&b&lxRegions&8]'

selection:
  max-volume: 5000000
  allow-overlaps: false

defaults:
  flags:
    build: false
    interact: false
    containers: false
    pvp: false
    mob-damage: true
    explosions: false
    fire-spread: false
    elytra: true
    ender-pearl: true
    fireworks: true
    item-drop: true
    fall-damage: true

messages:
  # Set to false to block protected actions silently without sending flag-blocked chat messages.
  show-flag-blocked: true
  no-permission: '&cYou do not have permission to do that.'
  license-required: '&cA valid xRegions license is required. Add your key, then run &f/xregion license verify&c.'
  selection-first: '&eFirst point selected: &f%x% %y% %z%&e.'
  selection-second: '&eSecond point selected: &f%x% %y% %z%&e.'
  selection-ready: '&aSelection ready. Create it with &f/xregion create <name>&a.'
  no-selection: '&cSelect two points first with &f/xregion wand&c.'
  selection-world: '&cBoth selection points must be in the same world.'
  selection-too-large: '&cThat selection is too large. Maximum volume: &f%max%&c blocks.'
  invalid-name: '&cUse 3-32 lowercase letters, numbers, hyphens, or underscores.'
  region-created: '&aRegion &f%region% &awas created and protected.'
  region-exists: '&cA region with that name already exists.'
  region-not-found: '&cThat region does not exist.'
  region-overlap: '&cThat selection overlaps with the protected region &f%region%&c.'
  region-deleted: '&aRegion &f%region% &awas deleted.'
  owner-only: '&cOnly the region owner or an administrator can do that.'
  member-added: '&aAdded &f%player% &ato &f%region%&a.'
  member-removed: '&eRemoved &f%player% &efrom &f%region%&e.'
  player-not-found: '&cThat player must be online to be added.'
  flag-blocked: '&cThis action is disabled in the region &f%region%&c.'
  wand-given: '&aYou received the xRegions selection wand.'