osslDefaultEnable.ini 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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/Category:OSSL_Functions for a description of OSSL functions
  5. ; do not edit this file.
  6. ; copy the line you want to change and paste it on osslEnable.ini, then change there
  7. [OSSL]
  8. ; Allow the use of os* functions (some are always available)
  9. AllowOSFunctions = true
  10. ; Allow the user of mod* functions. This allows a script to pass messages
  11. ; to a region module via the modSendCommand() function and is used by some
  12. ; modules to extend the scripting language.
  13. AllowMODFunctions = true
  14. ; Allow the use of LightShare functions.
  15. ; The setting enable_windlight = true must also be enabled in the [LightShare] section.
  16. AllowLightShareFunctions = true
  17. ; Send function permission error to owner if true, to all if false
  18. PermissionErrorToOwner = false
  19. ; Function Threat level
  20. ; Several functions have a predefined threat level, one of: None, VeryLow, Low, Moderate, High, VeryHigh, Severe.
  21. ; See http://opensimulator.org/wiki/Threat_level for more information on these levels.
  22. ; Blanket enabling the ossl functions is dangerous and we do not recommend setting higher
  23. ; than 'Low' unless you have a high level of trust in all the users that can run scripts
  24. ; in your simulator. It is safer to explicitly allow certain types of user to run
  25. ; higher threat level OSSL functions, as detailed later on.
  26. ; This setting defines the highest level allowed to execute
  27. OSFunctionThreatLevel = VeryLow
  28. ; The threat level can be replaced by more detailed rules by lines of the form
  29. ; Allow_FunctionName = parameters
  30. ; To use the default threat level coment the respective line
  31. ; parameters can be:
  32. ; 'false' disables the function.
  33. ; 'true' enables for everyone
  34. ; or to enable for individuals or groups, set it to a comma separated list. This checks
  35. ; against the owner of the object containing the script.
  36. ; The comma separated entries in the list may be one of:
  37. ; "GRID_GOD" -- enable for users with UserLevel >= 200
  38. ; "GOD" -- enable for users with rights to be god (local or grid)
  39. ; "ACTIVE_GOD" -- enable for users that are present and with active god power
  40. ; "ESTATE_MANAGER" -- enable for estate manager
  41. ; "ESTATE_OWNER" -- enable for estate owner
  42. ; "PARCEL_OWNER" -- enable for parcel owner
  43. ; "PARCEL_GROUP_MEMBER" -- enable for any member of the parcel group
  44. ; uuid -- enable for specified ID (may be avatar or group ID)
  45. ; from this we can also create macros that can be include in the list as
  46. ; ${OSSL|macroname} see examples below
  47. ; parcel macros
  48. ; Allowing ossl functions for anyone owning a parcel can be dangerous especially if
  49. ; a region is selling or otherwise giving away parcel ownership. By default, parcel
  50. ; ownership or group membership does not enable OSSL functions. Uncomment the
  51. ; appropriate line below to allow parcel ownership and groups to do restricted
  52. ; OSSL functions. It might be better to check the list below and edit the ones
  53. ; to enable individually.
  54. osslParcelO = ""
  55. osslParcelOG = ""
  56. ; osslParcelO = "PARCEL_OWNER,"
  57. ; osslParcelOG = "PARCEL_GROUP_MEMBER,PARCEL_OWNER,"
  58. ; NPC macros
  59. ; These can be mis-used so limit use to those you can trust.
  60. osslNPC = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  61. ; The threat level also can be replaced by lines of the form
  62. ; Creators__FunctionName = comma separated list of UUIDs
  63. ; this will enable the function for users that are the script creators and owners of the prim
  64. ; *************************************************
  65. ; ThreatLevel None
  66. Allow_osGetAgents = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  67. Allow_osGetAvatarList = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  68. ;Allow_osGetGender = true
  69. ;Allow_osGetHealth = true
  70. ;Allow_osGetHealRate = true
  71. Allow_osGetNPCList = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  72. ;Allow_osGetRezzingObject = true
  73. ;Allow_osGetSunParam = true
  74. Allow_osNpcGetOwner = ${OSSL|osslNPC}
  75. Allow_osSetSunParam = ESTATE_MANAGER,ESTATE_OWNER
  76. Allow_osTeleportOwner = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  77. ;Allow_osWindActiveModelPluginName = true
  78. ; ThreatLevel Nuisance
  79. Allow_osSetEstateSunSettings = ESTATE_MANAGER,ESTATE_OWNER
  80. Allow_osSetRegionSunSettings = ESTATE_MANAGER,ESTATE_OWNER
  81. ; ThreatLevel VeryLow
  82. Allow_osEjectFromGroup = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  83. Allow_osForceBreakAllLinks = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  84. Allow_osForceBreakLink = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  85. Allow_osGetWindParam = true
  86. Allow_osInviteToGroup = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  87. Allow_osReplaceString = true
  88. Allow_osSetDynamicTextureData = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  89. Allow_osSetDynamicTextureDataFace = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  90. Allow_osSetDynamicTextureDataBlend = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  91. Allow_osSetDynamicTextureDataBlendFace = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  92. Allow_osSetParcelMediaURL = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  93. Allow_osSetParcelMusicURL = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  94. Allow_osSetParcelSIPAddress = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  95. Allow_osSetPrimFloatOnWater = true
  96. Allow_osSetWindParam = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  97. Allow_osTerrainFlush = ESTATE_MANAGER,ESTATE_OWNER
  98. ; ThreatLevel Low
  99. Allow_osAvatarName2Key = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  100. Allow_osFormatString = true
  101. Allow_osKey2Name = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  102. Allow_osListenRegex = true
  103. Allow_osLoadedCreationDate = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  104. Allow_osLoadedCreationID = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  105. Allow_osLoadedCreationTime = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  106. Allow_osMessageObject = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  107. Allow_osRegexIsMatch = true
  108. Allow_osGetAvatarHomeURI = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  109. Allow_osNpcSetProfileAbout = ${OSSL|osslNPC}
  110. Allow_osNpcSetProfileImage = ${OSSL|osslNPC}
  111. Allow_osDie = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  112. ; ThreatLevel Moderate
  113. Allow_osDetectedCountry = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  114. Allow_osDropAttachment = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  115. Allow_osDropAttachmentAt = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  116. Allow_osGetAgentCountry = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  117. Allow_osGetGridCustom = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  118. Allow_osGetGridGatekeeperURI = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  119. Allow_osGetGridHomeURI = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  120. Allow_osGetGridLoginURI = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  121. Allow_osGetGridName = true
  122. Allow_osGetGridNick = true
  123. Allow_osGetNumberOfAttachments = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  124. Allow_osGetRegionStats = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  125. Allow_osGetSimulatorMemory = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  126. Allow_osGetSimulatorMemoryKB = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  127. Allow_osMessageAttachments = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  128. Allow_osReplaceAgentEnvironment = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  129. Allow_osSetSpeed = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  130. Allow_osSetOwnerSpeed = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  131. Allow_osRequestURL = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  132. Allow_osRequestSecureURL = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  133. ; ThreatLevel High
  134. Allow_osCauseDamage = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  135. Allow_osCauseHealing = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  136. Allow_osSetHealth = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  137. Allow_osSetHealRate = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  138. Allow_osForceAttachToAvatar = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  139. Allow_osForceAttachToAvatarFromInventory = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  140. Allow_osForceCreateLink = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  141. Allow_osForceDropAttachment = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  142. Allow_osForceDropAttachmentAt = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  143. Allow_osGetLinkPrimitiveParams = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  144. Allow_osGetPhysicsEngineType = true
  145. Allow_osGetRegionMapTexture = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  146. Allow_osGetScriptEngineName = true
  147. Allow_osGetSimulatorVersion = true
  148. Allow_osMakeNotecard = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  149. Allow_osMatchString = true
  150. Allow_osNpcCreate = ${OSSL|osslNPC}
  151. Allow_osNpcGetPos = ${OSSL|osslNPC}
  152. Allow_osNpcGetRot = ${OSSL|osslNPC}
  153. Allow_osNpcLoadAppearance = ${OSSL|osslNPC}
  154. Allow_osNpcMoveTo = ${OSSL|osslNPC}
  155. Allow_osNpcMoveToTarget = ${OSSL|osslNPC}
  156. Allow_osNpcPlayAnimation = ${OSSL|osslNPC}
  157. Allow_osNpcRemove = ${OSSL|osslNPC}
  158. Allow_osNpcSaveAppearance = ${OSSL|osslNPC}
  159. Allow_osNpcSay = ${OSSL|osslNPC}
  160. Allow_osNpcSayTo = ${OSSL|osslNPC}
  161. Allow_osNpcSetRot = ${OSSL|osslNPC}
  162. Allow_osNpcShout = ${OSSL|osslNPC}
  163. Allow_osNpcSit = ${OSSL|osslNPC}
  164. Allow_osNpcStand = ${OSSL|osslNPC}
  165. Allow_osNpcStopAnimation = ${OSSL|osslNPC}
  166. Allow_osNpcStopMoveToTarget = ${OSSL|osslNPC}
  167. Allow_osNpcTouch = ${OSSL|osslNPC}
  168. Allow_osNpcWhisper = ${OSSL|osslNPC}
  169. Allow_osOwnerSaveAppearance = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  170. Allow_osParcelJoin = ESTATE_MANAGER,ESTATE_OWNER
  171. Allow_osParcelSubdivide = ESTATE_MANAGER,ESTATE_OWNER
  172. Allow_osRegionRestart = ESTATE_MANAGER,ESTATE_OWNER
  173. Allow_osRegionNotice = ESTATE_MANAGER,ESTATE_OWNER
  174. Allow_osSetProjectionParams = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
  175. Allow_osSetRegionWaterHeight = ESTATE_MANAGER,ESTATE_OWNER
  176. Allow_osSetTerrainHeight = ESTATE_MANAGER,ESTATE_OWNER
  177. Allow_osSetTerrainTexture = ESTATE_MANAGER,ESTATE_OWNER
  178. Allow_osSetTerrainTextureHeight = ESTATE_MANAGER,ESTATE_OWNER
  179. ; ThreatLevel VeryHigh
  180. Allow_osAgentSaveAppearance = ESTATE_MANAGER,ESTATE_OWNER
  181. ; Warning: The next function allows scripts to force animations on avatars without the user giving permission.
  182. ; Enabling this can allow forced animations which can trigger traumatic episodes in vulnerable populations.
  183. ; Similar things can be said for several of the 'force' functions. Enable with care and control.
  184. ; Some of these were added as early functionality for NPCs. This has been replaced with the NPC functions.
  185. Allow_osAvatarPlayAnimation = false
  186. Allow_osAvatarStopAnimation = false
  187. Allow_osForceAttachToOtherAvatarFromInventory = false
  188. Allow_osForceDetachFromAvatar = false
  189. Allow_osForceOtherSit = false
  190. ; The notecard functions can cause a lot of load on the region if over used
  191. Allow_osGetNotecard = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  192. Allow_osGetNotecardLine = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  193. Allow_osGetNumberOfNotecardLines = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  194. Allow_osSetDynamicTextureURL = ESTATE_MANAGER,ESTATE_OWNER
  195. Allow_osSetDynamicTextureURLBlend = ESTATE_MANAGER,ESTATE_OWNER
  196. Allow_osSetDynamicTextureURLBlendFace = ESTATE_MANAGER,ESTATE_OWNER
  197. Allow_osSetRot = false
  198. Allow_osSetParcelDetails = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  199. ; ThreatLevel Severe
  200. Allow_osConsoleCommand = false
  201. Allow_osKickAvatar = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  202. Allow_osTeleportAgent = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  203. Allow_osTeleportObject = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
  204. ; ThreatLevel Severe with additional internal restrictions
  205. Allow_osGetAgentIP = true ; always restricted to Administrators (true or false to disable)
  206. Allow_osSetContentType = false
  207. ; Always available
  208. ; see http://opensimulator.org/wiki/Category:OSSL_Functions
  209. ;; do no remove this line
  210. Include-osslEnable = "config-include/osslEnable.ini"