Duel-Regen logoDuel-Regen

Storage

Where snapshots live on disk and what the files are.

With persist-snapshots: true (the default), snapshots are written under the plugin's folder:

config.yml
Arena1.snap
Arena2.schem

The two formats

FormatWritten whenWhat it is
.snapuse-fawe is offThe plugin's own compressed format. Stores block states with a palette, so even a million-block arena compresses to a small file. Includes container contents and sign text
.schemuse-fawe is onA standard Sponge schematic, written through WorldEdit. You can open it with WorldEdit itself if you ever want to

Lifecycle

  • Written in the background right after each capture, via a temp file and rename, so a crash mid-write cannot corrupt anything.
  • Deleted automatically when the snapshot is consumed by a restore or removed with /duelregen remove.
  • Loaded at startup. A file present at boot with snapshot-each-match: true means the server went down mid-match, and the arena is restored automatically. See Crash Recovery.

Good to know

  • Files are named after the arena. If an arena name ever contains characters that cannot be a filename, that snapshot stays memory-only and the console says so.
  • A snapshot file from a different Minecraft version is skipped with a warning rather than restored wrongly.
  • The files are small (kilobytes to a few megabytes). There is no database and nothing else to back up; the whole plugin state is config.yml plus this folder.

On this page