User:Adam Zaius/Serverside Storage

From Second Life Wiki
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"
  • keyword - The keyword to store this data under, such as 'adamzaius_clouduuid'
  • data - a string containing the data that is to be stored [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"
  • 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