osslEnable.ini 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. ; Enable OSSL functions.
  2. ; Including this file in a region's set of INI files, causes the OpenSimulator
  3. ; specific functions to be enabled.
  4. ; See http://opensimulator.org/wiki/OSSL for a description of OSSL functions and
  5. ; refer to http://opensimulator.org/wiki/OSSL_Implemented for a list of functions.
  6. ; The below file lists all the functions and specifies who has permission to
  7. ; execute the function. Some of the functions are for maintainance or can be
  8. ; mis-used so the permission to execute a function can be limited. Ability to
  9. ; execute a function is based on the owner of the prim holding the script.
  10. [XEngine]
  11. ; Allow the use of os* functions (some are dangerous)
  12. AllowOSFunctions = true
  13. ; Allow the user of mod* functions. This allows a script to pass messages
  14. ; to a region module via the modSendCommand() function and is used by some
  15. ; modules to extend the scripting language.
  16. AllowMODFunctions = true
  17. ; Allow the use of LightShare functions.
  18. ; The setting enable_windlight = true must also be enabled in the [LightShare] section.
  19. AllowLightShareFunctions = true
  20. ; Threat level to allow. One of None, VeryLow, Low, Moderate, High, VeryHigh, Severe.
  21. ; See http://opensimulator.org/wiki/Threat_level for more information on these levels.
  22. ; This is the default level and can be overridden with the Allow_ specifications.
  23. ; Blanket enabling the ossl functions is dangerous and we do not recommend setting higher
  24. ; than 'Low' unless you have a high level of trust in all the users that can run scripts
  25. ; in your simulator. It is safer to explicitly allow certain types of user to run
  26. ; higher threat level OSSL functions, as detailed later on.
  27. OSFunctionThreatLevel = VeryLow
  28. ; Each of the OSSL functions can be enabled or disabled individually.
  29. ; To disable, set the value to 'false'.
  30. ; To enable for everyone, set the value to 'true'.
  31. ; To enable for individuals or groups, set it to a comma separated list. This checks
  32. ; against the owner of the object containing the script.
  33. ; The comma separated entries in the list may be one of:
  34. ; "ESTATE_MANAGER" -- enable for estate manager
  35. ; "ESTATE_OWNER" -- enable for estate owner
  36. ; "PARCEL_OWNER" -- enable for parcel owner
  37. ; "PARCEL_GROUP_MEMBER" -- enable for any member of the parcel group
  38. ; uuid -- enable for specified ID (may be avatar or group ID)
  39. ; The OSSL function name is prepended with "Allow_" and it checks against
  40. ; the owners of the containing prim. There can also be entries beginning with
  41. ; 'Creators_". The 'Creators_" parameters can only be a list of UUIDs and it is
  42. ; checked against the creator of the script itself.
  43. ; Allowing ossl functions for anyone owning a parcel can be dangerous especially if
  44. ; a region is selling or otherwise giving away parcel ownership. By default, parcel
  45. ; ownership or group membership does not enable OSSL functions. Uncomment the
  46. ; appropriate line below to allow parcel ownership and groups to do restricted
  47. ; OSSL functions. It might be better to check the list below and edit the ones
  48. ; to enable individually.
  49. osslParcelO = ""
  50. osslParcelOG = ""
  51. ; osslParcelO = "PARCEL_OWNER,"
  52. ; osslParcelOG = "PARCEL_GROUP_MEMBER,PARCEL_OWNER,"
  53. ; There are a block of functions for creating and controlling NPCs.
  54. ; These can be mis-used so limit use to those you can trust.
  55. osslNPC = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  56. ; ThreatLevel None
  57. Allow_osDrawEllipse = true
  58. Allow_osDrawFilledPolygon = true
  59. Allow_osDrawFilledRectangle = true
  60. Allow_osDrawImage = true
  61. Allow_osDrawLine = true
  62. Allow_osDrawPolygon = true
  63. Allow_osDrawRectangle = true
  64. Allow_osDrawText = true
  65. Allow_osGetAgents = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  66. Allow_osGetAvatarList = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  67. Allow_osGetCurrentSunHour = true
  68. Allow_osGetGender = true
  69. Allow_osGetHealth = true
  70. Allow_osGetInventoryDesc = true
  71. Allow_osGetMapTexture = true
  72. Allow_osGetRegionSize = true
  73. Allow_osGetRezzingObject = true
  74. Allow_osGetSunParam = true
  75. Allow_osGetTerrainHeight = true
  76. Allow_osIsNpc = true
  77. Allow_osIsUUID = true
  78. Allow_osList2Double = true
  79. Allow_osMax = true
  80. Allow_osMin = true
  81. Allow_osMovePen = true
  82. Allow_osNpcGetOwner = ${XEngine|osslNPC}
  83. Allow_osParseJSON = true
  84. Allow_osParseJSONNew = true
  85. Allow_osSetFontName = true
  86. Allow_osSetFontSize = true
  87. Allow_osSetPenCap = true
  88. Allow_osSetPenColor = true
  89. Allow_osSetPenSize = true
  90. Allow_osSetSunParam = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  91. Allow_osTeleportOwner = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  92. Allow_osWindActiveModelPluginName = true
  93. Allow_osCheckODE = true ; Here for completeness. This function cannot be turned off
  94. ; ThreatLevel Nuisance
  95. Allow_osSetEstateSunSettings = ESTATE_MANAGER,ESTATE_OWNER
  96. Allow_osSetRegionSunSettings = ESTATE_MANAGER,ESTATE_OWNER
  97. ; ThreatLevel VeryLow
  98. Allow_osEjectFromGroup = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  99. Allow_osForceBreakAllLinks = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  100. Allow_osForceBreakLink = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  101. Allow_osGetDrawStringSize = true
  102. Allow_osGetWindParam = true
  103. Allow_osInviteToGroup = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  104. Allow_osReplaceString = true
  105. Allow_osSetDynamicTextureData = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  106. Allow_osSetDynamicTextureDataBlend = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  107. Allow_osSetDynamicTextureDataBlendFace = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  108. Allow_osSetDynamicTextureURL = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  109. Allow_osSetDynamicTextureURLBlend = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  110. Allow_osSetDynamicTextureURLBlendFace = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  111. Allow_osSetParcelMediaURL = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  112. Allow_osSetParcelSIPAddress = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  113. Allow_osSetPrimFloatOnWater = true
  114. Allow_osSetWindParam = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  115. Allow_osTerrainFlush = ESTATE_MANAGER,ESTATE_OWNER
  116. Allow_osUnixTimeToTimestamp = true
  117. ; ThreatLevel Low
  118. Allow_osAvatarName2Key = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  119. Allow_osFormatString = true
  120. Allow_osKey2Name = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  121. Allow_osListenRegex = true
  122. Allow_osLoadedCreationDate = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  123. Allow_osLoadedCreationID = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  124. Allow_osLoadedCreationTime = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  125. Allow_osMessageObject = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  126. Allow_osRegexIsMatch = true
  127. Allow_osGetAvatarHomeURI = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  128. ; ThreatLevel Moderate
  129. Allow_osDropAttachment = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  130. Allow_osDropAttachmentAt = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  131. Allow_osGetGridCustom = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  132. Allow_osGetGridGatekeeperURI = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  133. Allow_osGetGridHomeURI = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  134. Allow_osGetGridLoginURI = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  135. Allow_osGetGridName = true
  136. Allow_osGetGridNick = true
  137. Allow_osGetNumberOfAttachments = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  138. Allow_osGetRegionStats = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  139. Allow_osGetSimulatorMemory = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  140. Allow_osMessageAttachments = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  141. Allow_osSetSpeed = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  142. ; ThreatLevel High
  143. Allow_osCauseDamage = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  144. Allow_osCauseHealing = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  145. Allow_osForceAttachToAvatar = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  146. Allow_osForceAttachToAvatarFromInventory = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  147. Allow_osForceCreateLink = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  148. Allow_osForceDropAttachment = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  149. Allow_osForceDropAttachmentAt = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  150. Allow_osGetAgentIP = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  151. Allow_osGetLinkPrimitiveParams = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  152. Allow_osGetPhysicsEngineType = true
  153. Allow_osGetPrimitiveParams = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  154. Allow_osGetRegionMapTexture = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  155. Allow_osGetScriptEngineName = true
  156. Allow_osGetSimulatorVersion = true
  157. Allow_osMakeNotecard = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  158. Allow_osMatchString = true
  159. Allow_osNpcCreate = ${XEngine|osslNPC}
  160. Allow_osNpcGetPos = ${XEngine|osslNPC}
  161. Allow_osNpcGetRot = ${XEngine|osslNPC}
  162. Allow_osNpcLoadAppearance = ${XEngine|osslNPC}
  163. Allow_osNpcMoveTo = ${XEngine|osslNPC}
  164. Allow_osNpcMoveToTarget = ${XEngine|osslNPC}
  165. Allow_osNpcPlayAnimation = ${XEngine|osslNPC}
  166. Allow_osNpcRemove = ${XEngine|osslNPC}
  167. Allow_osNpcSaveAppearance = ${XEngine|osslNPC}
  168. Allow_osNpcSay = ${XEngine|osslNPC}
  169. Allow_osNpcSetRot = ${XEngine|osslNPC}
  170. Allow_osNpcShout = ${XEngine|osslNPC}
  171. Allow_osNpcSit = ${XEngine|osslNPC}
  172. Allow_osNpcStand = ${XEngine|osslNPC}
  173. Allow_osNpcStopAnimation = ${XEngine|osslNPC}
  174. Allow_osNpcStopMoveToTarget = ${XEngine|osslNPC}
  175. Allow_osNpcTouch = ${XEngine|osslNPC}
  176. Allow_osNpcWhisper = ${XEngine|osslNPC}
  177. Allow_osOwnerSaveAppearance = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  178. Allow_osParcelJoin = ESTATE_MANAGER,ESTATE_OWNER
  179. Allow_osParcelSubdivide = ESTATE_MANAGER,ESTATE_OWNER
  180. Allow_osRegionRestart = ESTATE_MANAGER,ESTATE_OWNER
  181. Allow_osSetContentType = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  182. Allow_osSetPrimitiveParams = false
  183. Allow_osSetProjectionParams = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  184. Allow_osSetRegionWaterHeight = ESTATE_MANAGER,ESTATE_OWNER
  185. Allow_osSetStateEvents = false ; deprecated
  186. Allow_osSetTerrainHeight = ESTATE_MANAGER,ESTATE_OWNER
  187. Allow_osSetTerrainTexture = ESTATE_MANAGER,ESTATE_OWNER
  188. Allow_osSetTerrainTextureHeight = ESTATE_MANAGER,ESTATE_OWNER
  189. ; ThreatLevel VeryHigh
  190. Allow_osAgentSaveAppearance = ESTATE_MANAGER,ESTATE_OWNER
  191. ; Warning: The next function allows scripts to force animations on avatars without the user giving permission.
  192. ; Enabling this can allow forced animations which can trigger traumatic episodes in vulnerable populations.
  193. ; Similar things can be said for several of the 'force' functions. Enable with care and control.
  194. ; Some of these were added as early functionality for NPCs. This has been replaced with the NPC functions.
  195. Allow_osAvatarPlayAnimation = false
  196. Allow_osAvatarStopAnimation = false
  197. Allow_osForceDetachFromAvatar = false
  198. Allow_osForceOtherSit = false
  199. ; The notecard functions can cause a lot of load on the region if over used
  200. Allow_osGetNotecard = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  201. Allow_osGetNotecardLine = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  202. Allow_osGetNumberOfNotecardLines = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  203. Allow_osRegionNotice = ESTATE_MANAGER,ESTATE_OWNER
  204. Allow_osSetRot = false
  205. Allow_osSetParcelDetails = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  206. ; ThreatLevel Severe
  207. Allow_osConsoleCommand = false
  208. Allow_osForceAttachToOtherAvatarFromInventory = false
  209. Allow_osGrantScriptPermissions = false
  210. Allow_osKickAvatar = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  211. Allow_osRevokeScriptPermissions = false
  212. Allow_osTeleportAgent = ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER