Quickstart
# Create the store (once, before any other command)
sekai init
# Record the current world state (pause the server first; see
# "Server coordination")
sekai commit ./world
# Preview what a commit would record, without writing anything
sekai status ./world
# List commits
sekai log
# Rebuild the world from a known commit (overwrites region files)
sekai checkout ./world 2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a
# Restore one area from HEAD (or --source <rev>), like git restore
sekai restore ./world --in overworld:-8,-8..7,7
# Compare chunk NBT between two commits (hashes from `log`)
sekai diff 1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b 2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a --in overworld:0,0
The store defaults to .sekai; see Store location for
using another location. Every
command accepts --json for machine-readable output and, except log,
init, and cache clean, --timing for a per-phase breakdown.
commit, status, checkout, restore, diff, and cache update take
--progress for a stderr progress bar (refused with --json). commit,
status, checkout, restore, and diff accept a scope
(--in, --region, --kind); nothing selected means the whole world.
Restore is the exception: like git restore’s pathspec, it requires a
selection.