RLVa: opt-in command to log the wearer out (quit the viewer), default off #283

Closed
opened 2026-10-04 06:00:56 +00:00 by sky_line · 1 comment
Owner

User request (fun one): an RLV command a scripted object can use to log the wearer out, i.e. shut down the viewer cleanly.

  • New RLVa extension command, e.g. @logout=force (pick a name that doesn't collide with existing RLV/RLVa commands; check the RLVa spec and other viewers' extensions first).
  • Default OFF: add an opt-in checkbox in the RLVa settings (e.g. "Allow objects to log me out"), backed by a persisted setting. When it's off the command is rejected like an unknown or blocked command.
  • When allowed: do a normal clean quit (LLAppViewer::userQuit path: saves settings/inventory, logs out of the grid). Never a crash or force-kill.
  • Optional niceties:
    • a short countdown toast ("An object is logging you out in 5 s") with a Cancel button;
    • respect the usual RLV restrictions on who can issue it (worn attachment / owner), like other force commands.
  • Log the issuing object name/UUID to the viewer log.
User request (fun one): an RLV command a scripted object can use to log the wearer out, i.e. shut down the viewer cleanly. - New RLVa extension command, e.g. `@logout=force` (pick a name that doesn't collide with existing RLV/RLVa commands; check the RLVa spec and other viewers' extensions first). - **Default OFF:** add an opt-in checkbox in the RLVa settings (e.g. "Allow objects to log me out"), backed by a persisted setting. When it's off the command is rejected like an unknown or blocked command. - When allowed: do a normal clean quit (`LLAppViewer::userQuit` path: saves settings/inventory, logs out of the grid). Never a crash or force-kill. - Optional niceties: - a short countdown toast ("An object is logging you out in 5 s") with a Cancel button; - respect the usual RLV restrictions on who can issue it (worn attachment / owner), like other `force` commands. - Log the issuing object name/UUID to the viewer log.
Author
Owner

Done in 71ceaca5df and de4a4eea6a (RLVa @logout=force). Closing.

Done in 71ceaca5df and de4a4eea6a (RLVa @logout=force). Closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#283
No description provided.