User:Adam Zaius/Serverside Storage

From Second Life Wiki
< User:Adam Zaius
Revision as of 13:10, 12 March 2007 by Kelly Linden (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a requested specification for storing information on the servers for custom clients to store and return custom variables. The aim is to keep it simple as possible.

Estate Level

EstateOwnerMessage to set and return values -- same as other estate-level functions

Storage Method

Client --> Server

--MethodData--
Method: "thirdpartystore"

--ParamList--
Parameter: "keyword"
Parameter: "data"
Parameter: "target"

Requires being an estate manager or owner to set.

  • keyword - The keyword to store this data under, such as 'adamzaius_clouduuid'
  • data - a string containing the data that is to be stored - base64 encoded [1024 char max?]
  • target
    • "0" - Save this data on just this region
    • "1" - Save this data on this entire estate
    • "2" - Save this data on every region managed for estate owner

Retrival Method

Client --> Server

--MethodData--
Method: "thirdpartyget"

--ParamList--
Parameter: "keyword"

No permissions needed to get data.

  • keyword - The keyword to return data from

Server --> Client

--MethodData--
Method: "thirdpartyresult"

--ParamList--
Parameter: "keyword"
Parameter: "data"
Parameter: "lastmodifiedtime"
Parameter: "lastmodifieduser"
  • keyword - The keyword for this data
  • data - The stored data
  • lastmodifiedtime - A timestamp for when the data was last modified
  • lastmodifieduser - The LLUUID of the user who last modified this data