Public: anyone can read this; the crew can change it.

Games G2: import a world from a link, snapshots before every swap, Restore and Undo (#17284) #17289

opened this

Merged 22h 15m ago, live in production

The owner wants his old worlds back on mc (a signed storage link). From #17284 G2: /games/ / World block: Import world (a link to a .zip or .tar.gz with level.dat), a snapshot list with Restore, Undo, and Take a snapshot. Steps show live from the box's job log.

Notes

opened this

The owner wants his old worlds back on mc (a signed storage link). From #17284 G2:

  • /games/<box>/<service> World block: Import world (a link to a .zip or .tar.gz with level.dat), a snapshot list with Restore, Undo, and Take a snapshot. Steps show live from the box's job log.
  • The agent runs it as a job in six steps: download (http(s) only, 8 GB cap, link read from a file, never argv), check for level.dat, stop, snapshot, swap (nether and end carried, owner fixed), start. The file work runs in a helper container with --volumes-from.
  • Import links are treated as secrets: shown as host and path only, never committed or logged with their query.
  • Snapshots in /data/forge-snapshots (newest 10). Their list rides the sync into game_box.snapshots_json.
  • Every door: terminal world tab, the MCP games world op, and a held Talk action.

Not run locally beyond tsc and its own tests (the Mac is kept free). The helper commands still owe an ubuntu/alpine container run.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs