Snapshots & Rollback

3commands
1permission
1file
1figure
1min read
Sheet 23 of 53 · Features

Filesfeatures/snapshot.yml

Filefeatures/snapshot.ymlCommand/is snapshotsCommand/is admin snapshotSnapshots let an island save its current state and roll back to it later without calling staff. Handy after a TNT accident or a trusted player who turned out not to be.

Snapshots an island can roll back to.
The snapshot list, a manual snapshot hovered showing its date, size and click to restore
CommandWhat it does
/is snapshotsView and restore your island's snapshots (alias `rollback`, permission `ignitesky.snapshots`, default true)
/is admin snapshot <player>Staff: open and restore any player's snapshots

How it works

Players manage their own snapshots from the menu (also on the Island Tools tile of /is) and restore one when they need it.

features/snapshot.yml
snapshot:
  enabled: false             # off by default, see above
  auto-interval-minutes: 0   # automatic captures of every island; 0 = manual only
  max-per-island: 5          # oldest pruned once past this
  radius: 64                 # captured square's half-extent (blocks), clamped down to the island's radius
  min-y: 50                  # keep this band tight to where islands actually have blocks
  max-y: 150
  blocks-per-tick: 4096      # restore speed; higher = faster but more work per tick
  restore-cost: 250000       # money per player restore (Vault); keep it high, a restore rebuilds mined blocks
  restore-cooldown-seconds: 86400  # once a day per island
  capture-cooldown-seconds: 3600
  restore-container-contents: false

Command/is admin snapshotA player's restore rebuilds blocks only: chests keep the items they hold now, and a chest that was mined comes back empty. Bringing the saved contents back would let anyone empty their chests, restore, and have every item twice. Staff restores through /is admin snapshot always bring contents back, for rolling back real grief; turn restore-container-contents on to give players the same (and the duplication with it).

Capture and restore are Folia-safe and throttled (blocks-per-tick) so a rollback doesn't freeze a region. Snapshots are stored as a compressed block palette, so a few per island cost little. After a restore the island is rescanned, so worth and level match the rolled-back terrain.

Loading the index

Enter openUp Down moveEsc close