Restore scene
restore-sceneRestore a Foundry VTT scene from a JSON backup file, recreating its walls, tiles, lights, sounds, tokens, and levels without overwriting existing scenes.
Instructions
Recreate a scene from a JSON file in the Foundry data directory, for example one pulled out of a world backup, with its walls, tiles, lights, sounds, tokens and levels. The file travels as a file because a scene with walls is too large for the bridge. The scene always gets a new id unless keepId is set, is never active, and never overwrites an existing scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A different name for the restored scene | |
| index | No | Entry of the list to restore; needed when the list holds more than one | |
| keepId | No | Keep the id of the backup. Only when the original scene is really gone. | |
| jsonPath | Yes | Path of the JSON file inside the Foundry data directory, e.g. "Bergung/szenen.json". One scene or a list. | |
| folderPath | No | Folder path, nested with "/" | |
| navigation | No | Show the scene in the navigation |