Userlevel

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(added parenthetical caveat to 'UserTitle' description)
(added _UserLevel values as applied to OpenSim_ borrowing text from user:Justincc's email to the OpenSim-users group)
Line 2: Line 2:
 
*''UserLevel'' integer used to attribute the God powers for each individual user
 
*''UserLevel'' integer used to attribute the God powers for each individual user
 
*''UserTitle'' string used for Administrator; you can set here the particularities of each user (possibly SL only; might not be in use in core OpenSim?)
 
*''UserTitle'' string used for Administrator; you can set here the particularities of each user (possibly SL only; might not be in use in core OpenSim?)
 +
 +
== UserLevel values as applied to OpenSim ==
 +
The only UserLevel used is 200 (to indicate god). Also presumably level 0 for non-god, basic user level.
 +
 +
A [[IRegionModule|region module]] could get these values via the UserAccount class from the UserAccountService.  They can be set either by directly writing to the database, via the "set user level" command on the [[ROBUST]] console (there is no command for setting user title) or via the StoreAccount call on the robust service if it has been explicitly allowed (security risk in open grids).
  
 
== God Mode Values ==
 
== God Mode Values ==
Line 38: Line 43:
  
  
''Note: text in this section was borrowed from [http://wiki.secondlife.com/wiki/God_mode SLwiki], shared under a [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] license''
+
''Note: text in "God Mode Values" section was borrowed from [http://wiki.secondlife.com/wiki/God_mode SLwiki], shared under a [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] license''

Revision as of 17:12, 27 November 2011

On the table useraccounts in the database opensim there are 2 fields:

  • UserLevel integer used to attribute the God powers for each individual user
  • UserTitle string used for Administrator; you can set here the particularities of each user (possibly SL only; might not be in use in core OpenSim?)

UserLevel values as applied to OpenSim

The only UserLevel used is 200 (to indicate god). Also presumably level 0 for non-god, basic user level.

A region module could get these values via the UserAccount class from the UserAccountService. They can be set either by directly writing to the database, via the "set user level" command on the ROBUST console (there is no command for setting user title) or via the StoreAccount call on the robust service if it has been explicitly allowed (security risk in open grids).

God Mode Values

The Viewer source code shows that there are several levels of "God Mode" (each level has all the previous levels' powers):

GOD_NOT

Value: 0 (Presumably the default "God Mode" status given to every logged-in user)

GOD_LIKE

Value: 1

  • rename objects without modify permission

GOD_CUSTOMER_SERVICE

Value: 100

  • Toggle character geometry
  • Take copy
  • Owner To Me
  • Set To Linden Content
  • Claim Public Land

GOD_LIAISON

Value: 150

  • Enable land auction

GOD_FULL

Value: 200 (Difference from GOD_LIAISON not apparent)

GOD_MAINTENANCE

Value: 250 (Difference from GOD_FULL not apparent)


Note: text in "God Mode Values" section was borrowed from SLwiki, shared under a CC BY-SA 3.0 license

Personal tools
General
About This Wiki