Duel-Regen logoDuel-Regen

Configuration

Every key in config.yml and what it controls.

The config lives at plugins/Duel-Regen/config.yml. New keys are added automatically when you update the plugin, with your existing values kept, so never delete the file to "regenerate" it.

Apply changes with /duelregen reload or a restart.

Keys

KeyDefaultWhat it controls
blocks-per-tick1000Blocks restored per server tick on the Bukkit path. Higher is faster but heavier. 500 to 2000 is the sensible range
regen-delay-ticks40Wait after match end before restoring, in ticks (20 ticks = 1 second). Gives players time to teleport out
wand-itemBLAZE_RODItem used as the selection wand. Any Bukkit material name
snapshot-each-matchtrueFresh snapshot at every match start. Set false to reuse one saved reference snapshot instead. See Automatic Regeneration
persist-snapshotstrueKeep snapshots on disk so they survive restarts and crashes. See Crash Recovery
use-fawefalseRestore through WorldEdit or FAWE when installed. See Integrations
clean-entitiestrueRemove leftover entities from the arena before restoring
clean-entity-typesITEM, ARROW, EXPERIENCE_ORBWhich entity types to remove. Old and new spellings both work
debugfalseVerbose console logging for snapshots and restores. Turn on when reporting a problem
arenasThe region for each arena. See Arena Regions
messagesPlayer-facing text. See Messages

config-version is bookkeeping for the automatic config upgrades. Leave it alone.

A tuned example

blocks-per-tick: 1500
regen-delay-ticks: 40
wand-item: BLAZE_ROD
snapshot-each-match: true
persist-snapshots: true
use-fawe: true
clean-entities: true
clean-entity-types:
  - ITEM
  - ARROW
  - EXPERIENCE_ORB
debug: false

arenas:
  Arena1:
    world: arena_1
    corner1:
      x: -22
      y: -64
      z: -38
    corner2:
      x: 28
      y: 319
      z: 35

Arena keys are Duels arena names, not world names. Full explanation on Arena Regions.

On this page