Difference between revisions of "UUID"

From Second Life Wiki
Jump to navigation Jump to search
(Notecard's UUID is unstable)
Line 20: Line 20:
*The UUID of an object may change when rezzed or after a sim restart or crash
*The UUID of an object may change when rezzed or after a sim restart or crash
*Access to the UUID of objects is only available to the creator of the object, anyone with full permissions on the object, and Secondlife employees.
*Access to the UUID of objects is only available to the creator of the object, anyone with full permissions on the object, and Secondlife employees.
* The UUID of an notecard may change when it is overwritten (saved).


=== Avatar UUIDs ===
=== Avatar UUIDs ===

Revision as of 03:56, 1 June 2009

UUID is an abbreviation for Universally Unique Identifier. It is a 128-bit (16 byte) value which is generated in such a way as to make collisions very unlikely. They are often represented as a string of 32 hex characters with four dashes interspersed. See Wikipedia on UUIDs for more information.

In LSL they are stored in the key variable type (which is a specialized form of a string).

The UUID and Secondlife

In Secondlife every object and every avatar has an UUID and they can be split up into object and avatar UUID's.

SL uses Version 4 type UUIDs as defined in RFC-4122, though there are some that are not V4.

Object UUIDs

  • Prims
  • Objects
  • Scripts
  • Textures (including sculpty textures)
  • Sounds
  • Notecards

  • The UUID of an object may change when rezzed or after a sim restart or crash
  • Access to the UUID of objects is only available to the creator of the object, anyone with full permissions on the object, and Secondlife employees.
  • The UUID of an notecard may change when it is overwritten (saved).

Avatar UUIDs

  • Avatars

  • The UUID of an avatar is publicly available both through scripting and through numerous third party databases