Repository navigation
session_management
title: Ring Session Management description: How Ring sessions come to be, who is in them and in which role, and how they end; the overview for the pages on editing, animation, joining and administration published: true date: 2026-11-16T00:00:00.000Z tags: ring editor: markdown dateCreated: 2026-11-16T00:00:00.000Z
Everything a player does in the Ring happens inside a session: a temporary place on a Ring island, run by the scenario service of a Ring shard, with a list of the characters that may enter it. This page explains what sessions are and how they move from one state to the next. The pages below go through each part with screenshots:
- Editing and co-editing: the edition session of a character, the editor, inviting co-editors, testing a scenario.
- Animation sessions: launching a scenario at a Ring terminal or from the editor, playing Adventure Master (AM), masterless scenarios, ending a session.
- Joining sessions and access rules: the Ring Destinations list, invitations, who may enter which session, leaving, and the messages a player can get.
- Session administration: the services involved, the database, the console commands and variables of a shard operator.
The older player guides Sessions, Scenarios and Acts and Edit, Test, Animation, DM and Play Mode describe the editor itself.
Edition sessions (st_edit) are where scenarios are made. Every character has one edition session of its own, created the first time it opens the editor and reused after that. The owner can invite other characters into it as co-editors. A test of the scenario runs inside the edition session.
Animation sessions (st_anim) are where a scenario is played by others. They are launched from a Ring terminal on the mainland, or put online from the editor. The character who launches one is its owner.
The session database also knows two other types, st_outland and st_mainland. The mainland shards are listed as st_mainland rows. Neither is a Ring session: the shard unifier refuses to schedule or start them, and the scenario service does not create them.
What a character can do in a session depends on its role, and the role comes from the invitation the character holds:
| Invitation | Role | Mode in the session |
|---|---|---|
Edit invitation (sps_edit_invited), or the owner of an edition session |
Editor | Edits the scenario; invisible and invulnerable while editing |
Animator invitation (sps_anim_invited) |
Adventure Master (AM), also called animator | Controls the running scenario; invisible and invulnerable |
Play invitation (sps_play_invited), or an automatic one |
Player | Plays the scenario like the mainland |
Once a character is inside, its status becomes sps_editing, sps_animating or sps_playing. Accounts with a privilege listed in the shard unifier's PrivilegeForSessionAccess (:GM:SGM: by default) may enter any session without an invitation: an edition session as an editor, an animation session as a player.
Every scenario file says in its header whether it is Mastered or Masterless (the Rules value; anything other than Mastered counts as masterless).
- A mastered scenario is played with an Adventure Master. The owner who launches it enters as AM, invisible, and runs the scenario with the AM tools: starting acts, speaking as NPCs, controlling creatures, healing or killing, changing the weather, giving items to players.
- A masterless scenario runs by itself. The owner enters as a player and plays alongside the others, with a small window to end the scenario, change its listing options and manage players.
The session stores this as its rule type: rt_strict for mastered, rt_liberal for masterless. The Ring points a session earns at its end go to the Adventure Master or to the masterless owner by this rule type.
A session row in the database moves through these states:
| State | Meaning |
|---|---|
ss_planned |
Scheduled, not running. A new session starts here. An edition session that is reopened goes back here first. |
ss_open |
Running on a scenario service: characters can enter it. |
ss_locked |
Its scenario service went down, or the shard unifier restarted. When the service comes back and still hosts the session, the session opens again; otherwise it is closed. |
ss_closed |
Ended. An edition session in this state is only asleep and can be reopened. |
The usual paths:
- Opening the editor. Character selection, SCENARIO EDITOR. The client asks to join the character's edition session. If there is none, it schedules one, invites the character into it and starts it. If it exists but is not running, it starts it. Then the character is teleported in.
- Launching at a terminal. The owner chooses a scenario file and its listing options, then Launch. The client puts the owner's edition session to sleep, schedules an animation session, starts it, invites the owner (as AM for a mastered scenario, as player for a masterless one) and teleports the owner in. The owner then uploads the scenario, and it starts.
- Going live from the editor. While testing as AM, the editor's go-live button opens the listing options; Launch starts an animation session linked to the edition session. It runs on the same AI instance with the scenario already loaded, and the owner goes back to the editor when it ends.
And how sessions end:
- The owner ends an animation session (End Scenario), or closes it later from character selection. Everyone still in it is sent back where they came from.
- An animation session with nobody in it for 15 minutes is closed by the scenario service.
- An edition session with nobody in it for 15 minutes hibernates: it is saved and unloaded, and the database shows it closed. The next time its owner opens the editor, it is woken up from that save, scenario and all.
- A test running in an empty edition session is stopped after 5 minutes, unless the edition session has a live session linked to it.
| Part | Where | What it does for sessions |
|---|---|---|
| Shard unifier (SU), Ring session manager module | Unifier | The session database: scheduling, starting, invitations, kicks, joining, the session log, ratings |
| Session Browser Service (SBS) | Ring shard | The lists the client shows: sessions, characters of a session, ratings |
| Scenario service (DSS) | Ring shard | Runs the sessions: the scenario tree of each edition session, tests, animations, roles inside a session |
| AI service | Ring shard | One AI instance per running scenario |
| Entities game service (EGS) | Ring shard | The characters in a session, their rights (AM and editors are invisible), scores |
Ring web pages (ring/web_start.php and others) |
Web server | The Ring window in the game: own sessions and invitations, joining an edition session |
Session administration has the details.