Jump to content

OpenSimulator Internals/PresenceService

From Open Simulator Technical Help
Revision as of 06:32, 21 June 2026 by Jwbshaw (talk | contribs) (first)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OpenSimulator Internals/PresenceService

[edit]

Overview

[edit]

PresenceService tracks who is online, which region they are in, and their current session. Maintains a cache. Must stay in the same process instance -- multiple instances would give conflicting answers.

Used for IM routing amongst other things.


API

[edit]

RPC interface. Operations controlled via METHOD parameter.

getagents

[edit]

Query presence for one or more users.

Field Type Notes
METHOD string "getagents"
uuids[] UUID UUIDs of users to query. One param per user for multiple users.

If no online users are found, an empty result is returned.


Database

[edit]

See Presence table for the full database schema.


See Also

[edit]