Difference between revisions of "User:Adam Zaius/Serverside Storage"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 56: Line 56:
* lastmodifieduser - The LLUUID of the user who last modified this data
* lastmodifieduser - The LLUUID of the user who last modified this data


[[Category:Proposed Specifications]]
[[Category:Design Discussions]]

Latest revision as of 13:10, 12 March 2007

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