Skip to content

Snapshots and Restore

Albert edited this page Jan 4, 2026 · 1 revision

Snapshots and Restore

InvSafe captures full inventory snapshots and restores the most recent one on demand.

Automatic snapshots

  • Triggered on death, join, and quit when enabled in config.
  • Optional world-change snapshots (v1.01+).
  • Players with invsafe.bypass do not get auto snapshots.

Manual snapshots

  • /invsafe snapshot <player> creates a snapshot on demand.
  • Manual snapshots are tagged (AUTO, COMMAND, ADMIN) for history and diff filtering.

What is stored

  • Main inventory, armor, offhand.
  • Optional XP (level + progress + total).

Restore behavior

  • /invsafe restore <player> applies the latest snapshot.
  • Offline restores are queued and applied on next join.
  • Restores replace the current inventory; no partial restores.

Retention

  • Snapshots are kept per-player in FIFO order up to storage.max-snapshots.

Clone this wiki locally