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
| Key | Default | What it controls |
|---|---|---|
blocks-per-tick | 1000 | Blocks restored per server tick on the Bukkit path. Higher is faster but heavier. 500 to 2000 is the sensible range |
regen-delay-ticks | 40 | Wait after match end before restoring, in ticks (20 ticks = 1 second). Gives players time to teleport out |
wand-item | BLAZE_ROD | Item used as the selection wand. Any Bukkit material name |
snapshot-each-match | true | Fresh snapshot at every match start. Set false to reuse one saved reference snapshot instead. See Automatic Regeneration |
persist-snapshots | true | Keep snapshots on disk so they survive restarts and crashes. See Crash Recovery |
use-fawe | false | Restore through WorldEdit or FAWE when installed. See Integrations |
clean-entities | true | Remove leftover entities from the arena before restoring |
clean-entity-types | ITEM, ARROW, EXPERIENCE_ORB | Which entity types to remove. Old and new spellings both work |
debug | false | Verbose console logging for snapshots and restores. Turn on when reporting a problem |
arenas | The region for each arena. See Arena Regions | |
messages | Player-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: 35Arena keys are Duels arena names, not world names. Full explanation on Arena Regions.