set-landing-scene
Set a persistent landing scene for each user so they log in where they belong, even while offline. Pass sceneIdentifier 'none' to clear assignments and return everyone to the active scene.
Instructions
Assign where a user LOGS IN — a per-user landing scene that persists, so a party split survives a refresh. Core Foundry has no such thing: every user lands on the one ACTIVE scene, and the User document has no scene field to change that (verified on v14.364). This writes a durable User FLAG that the house module fvtt-mod-openserver reads on ready and acts on with Scene#view() — so the module must be installed and enabled for it to do anything, and this tool WARNS when it is not, instead of reporting a working assignment. Unlike pull-users-to-scene, this works on OFFLINE users — that is the whole point. Sticky until cleared: pass sceneIdentifier "none" to put users back on the active scene. Reports who is assigned and who still follows the active scene. Needs NO scene ownership. GM-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneIdentifier | Yes | Scene id or exact name the users should LOG IN to. STRICT — no fuzzy matching. Pass "none" to CLEAR the assignment and put them back on the active scene with everyone else. | |
| userIdentifiers | Yes | Users to assign — user ids or exact user names (e.g. ["Tom"]). Look them up with list-users, which also reports each user's current landingScene. Works on OFFLINE users (that is the point) — nobody has to be connected. |