Category:OSSL Functions
From OpenSimulator
(→OSSL function permissions) |
JeffKelley (Talk | contribs) m (→Prim: Adding osGetLinkInventoryKey) |
||
(61 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Quicklinks}} | ||
+ | <br /> | ||
<div style="background-color:#FFA500; padding:10px; padding-bottom:5px; border: 1px #FF544F solid"> | <div style="background-color:#FFA500; padding:10px; padding-bottom:5px; border: 1px #FF544F solid"> | ||
− | This information is relative to (almost) last OpenSimulator Development version. In some cases it may not apply to older versions | + | This information is relative to (almost) the last OpenSimulator Development version. In some cases it may not apply to older versions. |
</div> | </div> | ||
Line 6: | Line 8: | ||
Several OSSL functions have execution permission control to prevent abusive or dangerous use. | Several OSSL functions have execution permission control to prevent abusive or dangerous use. | ||
− | This | + | This is controlled by files osslDefaultEnable.ini and osslEnable.ini, by default in folder bin/config-include<br> |
− | The use logic of | + | The use logic of these two files is identical to OpenSimDefaults.ini and OpenSim.ini |
Older OpenSimulator versions only used file osslEnable.ini.<br> | Older OpenSimulator versions only used file osslEnable.ini.<br> | ||
Line 13: | Line 15: | ||
That made no sense for many functions, so now many are always allowed wasting no time on useless checks.<br> | That made no sense for many functions, so now many are always allowed wasting no time on useless checks.<br> | ||
− | For details about | + | For details about these permissions, please read file OpenSimDefaults.ini |
= osslDefaultEnable.ini = | = osslDefaultEnable.ini = | ||
− | This file contains the defaults for | + | This file contains the defaults for OSSL execution permissions set by OpenSimulator dev team.<br> |
− | Instead of changing defaults defined in code, the team may decide to just | + | Instead of changing defaults defined in code, the OpenSimulator dev team may decide to just make changes in this file.<br> |
− | If you need to change, copy respective entry to osslEnable.ini and modify there | + | This file was not present on older OpenSimulator versions.<br> |
+ | If you need to change permissions, copy the respective entry to osslEnable.ini and modify there.<br> | ||
= osslEnable.ini = | = osslEnable.ini = | ||
− | This file contains the local overrides for | + | This file contains the local overrides for OSSL permissions.<br> |
It is read after osslDefaultEnable.ini, and any entry on it replaces the old one.<br> | It is read after osslDefaultEnable.ini, and any entry on it replaces the old one.<br> | ||
− | This file is not provided on code packages, | + | This file is not provided on code packages, an osslEnable.ini.example is.<br> |
− | At first time, you will need to copy | + | At first time setup, you will need to copy the example file to osslEnable.ini and then edit it for your needs, using osslDefaults.ini as reference.<br> |
− | + | This was the only file used on older OpenSimulator versions. | |
− | + | ||
== Current OSSL Functions Implemented == | == Current OSSL Functions Implemented == | ||
Line 32: | Line 34: | ||
=== Avatars === | === Avatars === | ||
{{multicol}} | {{multicol}} | ||
− | *[[ | + | |
− | *[[ | + | * [[osAgentSaveAppearance]] |
− | *[[ | + | * [[osAvatarName2Key]] |
− | *[[ | + | * [[osAvatarPlayAnimation]] |
− | *[[ | + | * [[osAvatarStopAnimation]] |
− | *[[osCauseDamage]] | + | * [[osAvatarType]] |
− | *[[osCauseHealing]] | + | * [[osCauseDamage]] |
− | *[[osDetectedCountry]] | + | * [[osCauseHealing]] |
− | *[[osDropAttachment]] | + | * [[osDetectedCountry]] |
− | *[[osDropAttachmentAt]] | + | * [[osDropAttachment]] |
− | *[[osEjectFromGroup]] | + | * [[osDropAttachmentAt]] |
− | *[[osForceAttachToAvatar]] | + | * [[osEjectFromGroup]] |
− | *[[osForceAttachToAvatarFromInventory]] | + | * [[osForceAttachToAvatar]] |
− | *[[osForceAttachToOtherAvatarFromInventory]] | + | * [[osForceAttachToAvatarFromInventory]] |
− | *[[osForceDetachFromAvatar]] | + | * [[osForceAttachToOtherAvatarFromInventory]] |
− | *[[osForceDropAttachment]] | + | * [[osForceDetachFromAvatar]] |
− | *[[osForceDropAttachmentAt]] | + | * [[osForceDropAttachment]] |
− | *[[osForceOtherSit]] | + | * [[osForceDropAttachmentAt]] |
− | *[[osGetAgentIP]] | + | * [[osForceOtherSit]] |
− | *[[osGetAgents]] | + | * [[osGetAgentIP]] |
+ | * [[osGetAgents]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osGetAgentCountry]] | + | * [[osGetAgentCountry]] |
− | *[[osGetAvatarHomeURI]] | + | * [[osGetAvatarHomeURI]] |
− | *[[osGetAvatarList]] | + | * [[osGetAvatarList]] |
− | *[[osGetGender]] | + | * [[osGetGender]] |
− | *[[osGetHealRate]] | + | * [[osGetHealRate]] |
− | *[[osGetHealth]] | + | * [[osGetHealth]] |
− | *[[osGetNumberOfAttachments]] | + | * [[osGetNumberOfAttachments]] |
− | *[[osGrantScriptPermissions]] | + | * [[osGrantScriptPermissions]] |
− | *[[osInviteToGroup]] | + | * [[osInviteToGroup]] |
− | *[[osKickAvatar]] | + | * [[osKickAvatar]] |
− | *[[osOwnerSaveAppearance]] | + | * [[osOwnerSaveAppearance]] |
− | *[[osRevokeScriptPermissions]] | + | * [[osRevokeScriptPermissions]] |
− | *[[osSetHealRate]] | + | * [[osSetHealRate]] |
− | *[[osSetHealth]] | + | * [[osSetHealth]] |
− | *[[osSetOwnerSpeed]] | + | * [[osSetOwnerSpeed]] |
− | *[[osSetSpeed]] | + | * [[osSetSpeed]] |
− | *[[osLocalTeleportAgent]] | + | * [[osLocalTeleportAgent]] |
− | *[[osTeleportAgent]] | + | * [[osTeleportAgent]] |
− | *[[osTeleportOwner]] | + | * [[osTeleportOwner]] |
− | *[[osReplaceAgentEnvironment]] | + | * [[osReplaceAgentEnvironment]] |
{{multicol-end}} | {{multicol-end}} | ||
=== NPCs === | === NPCs === | ||
{{multicol}} | {{multicol}} | ||
− | *[[osIsNpc]] | + | * [[osIsNpc]] |
− | *[[osNpcCreate]] | + | * [[osNpcCreate]] |
− | *[[osGetNpcList]] | + | * [[osGetNpcList]] |
− | *[[osNpcGetPos]] | + | * [[osNpcGetPos]] |
− | *[[osNpcGetRot]] | + | * [[osNpcGetRot]] |
− | *[[osNpcGetOwner]] | + | * [[osNpcGetOwner]] |
− | *[[osNpcLoadAppearance]] | + | * [[osNpcLookAt]] {{E}} |
− | *[[osNpcMoveTo]] | + | * [[osNpcLoadAppearance]] |
− | *[[osNpcMoveToTarget]] | + | * [[osNpcMoveTo]] |
− | *[[osNpcPlayAnimation]] | + | * [[osNpcMoveToTarget]] |
− | *[[osNpcRemove]] | + | * [[osNpcPlayAnimation]] |
− | *[[osNpcSaveAppearance]] | + | * [[osNpcRemove]] |
+ | * [[osNpcSaveAppearance]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osNpcSay]] | + | * [[osNpcSay]] |
− | *[[osNpcSayTo]] | + | * [[osNpcSayTo]] |
− | *[[osNpcSetProfileAbout]] | + | * [[osNpcSetProfileAbout]] |
− | *[[osNpcSetProfileImage]] | + | * [[osNpcSetProfileImage]] |
− | *[[osNpcSetRot]] | + | * [[osNpcSetRot]] |
− | *[[osNpcShout]] | + | * [[osNpcShout]] |
− | *[[osNpcSit]] | + | * [[osNpcSit]] |
− | *[[osNpcStand]] | + | * [[osNpcStand]] |
− | *[[osNpcStopMoveToTarget]] | + | * [[osNpcStopMoveToTarget]] |
− | *[[osNpcStopAnimation]] | + | * [[osNpcStopAnimation]] |
− | *[[osNpcTouch]] | + | * [[osNpcTouch]] |
− | *[[osNpcWhisper]] | + | * [[osNpcWhisper]] |
{{multicol-end}} | {{multicol-end}} | ||
=== Prim === | === Prim === | ||
{{multicol}} | {{multicol}} | ||
− | *[[osClearInertia]] | + | * [[osClearInertia]] |
− | *[[osClearObjectAnimations]] | + | * [[osClearObjectAnimations]] |
− | *[[osDie]] | + | * [[osDie]] |
− | *[[osForceBreakAllLinks]] | + | * [[osForceBreakAllLinks]] |
− | *[[osForceBreakLink]] | + | * [[osForceBreakLink]] |
− | *[[osForceCreateLink]] | + | * [[osForceCreateLink]] |
− | *[[osGetInertiaData]] | + | * [[osGetInertiaData]] |
− | *[[osGetInventoryItemKey]] | + | * [[osGetInventoryItemKey]] |
− | *[[osGetInventoryName]] | + | * [[osGetInventoryName]] |
− | *[[osGetInventoryDesc]] | + | * [[osGetInventoryNames]] {{new}} |
− | *[[osGetInventoryLastOwner]] | + | * [[osGetInventoryItemKeys]] {{new}} |
− | *[[ | + | * [[osGetInventoryDesc]] |
− | *[[ | + | * [[osGetInventoryLastOwner]] |
− | *[[ | + | * [[osGetLinkInventoryName]] {{new}} |
− | *[[ | + | * [[osGetLinkInventoryNames]] {{new}} |
− | *[[ | + | * [[osGetInventoryItemKey| osGetLinkInventoryItemKey]] {{new}} |
− | *[[ | + | * [[osGetInventoryItemKeys | osGetLinkInventoryItemKeys]] {{new}} |
− | *[[ | + | * [[osGetLinkInventoryKey]] {{new}} |
+ | * [[osGetLinkInventoryDesc]] {{new}} | ||
+ | * [[osGiveLinkInventory]] {{new}} | ||
+ | * [[osGiveLinkInventoryList]] {{new}} | ||
+ | * [[osRemoveLinkInventory]] {{new}} | ||
+ | * [[osGetLastChangedEventKey]] | ||
+ | * [[osGetLinkNumber]] | ||
+ | * [[osGetLinkPrimitiveParams]] | ||
+ | * [[osGetPrimitiveParams]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | *[[ | + | * [[osGetRezzingObject]] |
− | *[[ | + | * [[osGetSitActiveRange]] |
− | *[[ | + | * [[osGetLinkSitActiveRange]] |
− | *[[osMessageAttachments]] | + | * [[osGetSitTargetPos]] {{new}} |
− | *[[osMessageObject]] | + | * [[osGetSitTargetRot]] {{new}} |
− | *[[osSetInertia]] | + | * [[osGetStandTarget]] |
− | *[[osSetInertiaAsBox]] | + | * [[osGetLinkStandTarget]] |
− | *[[osSetInertiaAsCylinder]] | + | * [[osLinkParticleSystem]] {{new}} |
− | *[[osSetInertiaAsSphere]] | + | * [[osMessageAttachments]] |
− | *[[osSetPrimitiveParams]] | + | * [[osMessageObject]] |
− | *[[osSetProjectionParams]] | + | * [[osParticleSystem]] {{new}} |
− | *[[osSetSitActiveRange]] | + | * [[osSetInertia]] |
− | *[[osSetLinkSitActiveRange]] | + | * [[osSetInertiaAsBox]] |
− | *[[osSetStandTarget]] | + | * [[osSetInertiaAsCylinder]] |
− | *[[osSetLinkStandTarget]] | + | * [[osSetInertiaAsSphere]] |
− | *[[osTeleportObject]] | + | * [[osSetPrimitiveParams]] |
− | *[[osVolumeDetect]] | + | * [[osSetProjectionParams]] |
+ | * [[osSetSitActiveRange]] | ||
+ | * [[osSetLinkSitActiveRange]] | ||
+ | * [[osSetStandTarget]] | ||
+ | * [[osSetLinkStandTarget]] | ||
+ | * [[osTeleportObject]] | ||
+ | * [[osVolumeDetect]] | ||
+ | * [[osGetPrimCount]] {{new}} | ||
+ | * [[osGetSittingAvatarsCount]] {{new}} | ||
+ | |||
{{multicol-end}} | {{multicol-end}} | ||
=== Prim Drawing / Dynamic Texture === | === Prim Drawing / Dynamic Texture === | ||
{{multicol}} | {{multicol}} | ||
− | *[[osDrawEllipse]] | + | * [[osDrawEllipse]] |
− | *[[osDrawFilledEllipse]] | + | * [[osDrawFilledEllipse]] |
− | *[[osDrawFilledPolygon]] | + | * [[osDrawFilledPolygon]] |
− | *[[osDrawFilledRectangle]] | + | * [[osDrawFilledRectangle]] |
− | *[[osDrawImage]] | + | * [[osDrawImage]] |
− | *[[osDrawLine]] | + | * [[osDrawLine]] |
− | *[[osDrawPolygon]] | + | * [[osDrawPolygon]] |
− | *[[osDrawRectangle]] | + | * [[osDrawRectangle]] |
− | *[[osDrawResetTransform]] | + | * [[osDrawResetTransform]] |
− | *[[osDrawRotationTransform]] | + | * [[osDrawRotationTransform]] |
− | *[[osDrawScaleTransform]] | + | * [[osDrawScaleTransform]] |
− | *[[osDrawText]] | + | * [[osDrawText]] |
− | *[[osDrawTranslationTransform]] | + | * [[osDrawTranslationTransform]] |
+ | * [[osGetDrawStringSize]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | + | * [[osMovePen]] | |
− | *[[osMovePen]] | + | * [[osSetFontName]] |
− | *[[osSetFontName]] | + | * [[osSetFontSize]] |
− | *[[osSetFontSize]] | + | * [[osSetPenCap]] |
− | *[[osSetPenCap]] | + | * [[osSetPenColor]] |
− | *[[osSetPenColor]] | + | * [[osSetPenSize]] |
− | *[[osSetPenSize]] | + | * [[osSetDynamicTextureData]] |
− | *[[osSetDynamicTextureData]] | + | * [[osSetDynamicTextureDataFace]] |
− | *[[osSetDynamicTextureDataFace]] | + | * [[osSetDynamicTextureDataBlend]] |
− | *[[osSetDynamicTextureDataBlend]] | + | * [[osSetDynamicTextureDataBlendFace]] |
− | *[[osSetDynamicTextureDataBlendFace]] | + | * [[osSetDynamicTextureURL]] |
− | *[[osSetDynamicTextureURL]] | + | * [[osSetDynamicTextureURLBlend]] |
− | *[[osSetDynamicTextureURLBlend]] | + | * [[osSetDynamicTextureURLBlendFace]] |
− | *[[osSetDynamicTextureURLBlendFace]] | + | |
{{multicol-end}} | {{multicol-end}} | ||
=== Notecard === | === Notecard === | ||
− | *[[osGetNotecard]] | + | * [[osGetNotecard]] |
− | *[[osGetNotecardLine]] | + | * [[osGetNotecardLine]] |
− | *[[osGetNumberOfNotecardLines]] | + | * [[osGetNumberOfNotecardLines]] |
− | *[[osMakeNotecard]] | + | * [[osMakeNotecard]] |
=== Sound === | === Sound === | ||
{{multicol}} | {{multicol}} | ||
− | *[[osAdjustSoundVolume]] | + | * [[osAdjustSoundVolume]] |
− | *[[osCollisionSound]] | + | * [[osCollisionSound]] |
− | *[[osLoopSound]] | + | * [[osLoopSound]] |
− | *[[osLoopSoundMaster]] | + | * [[osLoopSoundMaster]] |
− | *[[osLoopSoundSlave]] | + | * [[osLoopSoundSlave]] |
− | *[[osPlaySound]] | + | * [[osPlaySound]] |
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osPlaySoundSlave]] | + | * [[osPlaySoundSlave]] |
− | *[[osPreloadSound]] | + | * [[osPreloadSound]] |
− | *[[osSetSoundRadius]] | + | * [[osSetSoundRadius]] |
− | *[[osStopSound]] | + | * [[osStopSound]] |
− | *[[osTriggerSound]] | + | * [[osTriggerSound]] |
− | *[[osTriggerSoundLimited]] | + | * [[osTriggerSoundLimited]] |
{{multicol-end}} | {{multicol-end}} | ||
=== HTTP === | === HTTP === | ||
− | *[[osRequestSecureURL]] | + | * [[osRequestSecureURL]] |
− | *[[osRequestURL]] | + | * [[osRequestURL]] |
− | *[[osSetContentType]] | + | * [[osSetContentType]] |
=== Parcel === | === Parcel === | ||
− | *[[osParcelJoin]] | + | {{multicol}} |
− | *[[osParcelSubdivide]] | + | * [[osParcelJoin]] |
− | *[[osGetParcelDwell]] | + | * [[osParcelSubdivide]] |
− | *[[osSetParcelDetails]] | + | * [[osGetParcelDwell]] |
+ | {{multicol-break}} | ||
+ | * [[osSetParcelDetails]] | ||
+ | * [[osGetParcelDetails]] | ||
+ | * [[osGetParcelIDs]] | ||
+ | * [[osGetParcelID]] | ||
+ | {{multicol-end}} | ||
=== Terrain === | === Terrain === | ||
− | *[[osGetTerrainHeight]] | + | * [[osGetTerrainHeight]] |
− | *[[osSetTerrainHeight]] | + | * [[osSetTerrainHeight]] |
− | *[[osSetTerrainTexture]] | + | * [[osSetTerrainTexture]] |
− | *[[osSetTerrainTextureHeight]] | + | * [[osSetTerrainTextureHeight]] |
− | *[[osTerrainFlush]] | + | * [[osTerrainFlush]] |
− | === Region Environment === | + | === Region / Parcel Environment === |
{{multicol}} | {{multicol}} | ||
− | *[[osGetCurrentSunHour]] | + | * [[osGetCurrentSunHour]] |
− | *[[osGetApparentTime]] | + | * [[osGetApparentTime]] |
− | *[[osGetApparentTimeString]] | + | * [[osGetApparentTimeString]] |
− | *[[osGetApparentRegionTime]] | + | * [[osGetApparentRegionTime]] |
− | *[[osGetApparentRegionTimeString]] | + | * [[osGetApparentRegionTimeString]] |
− | + | * [[osGetWindParam]] | |
− | *[[osGetWindParam]] | + | |
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osSetRegionWaterHeight]] | + | * [[osSetRegionWaterHeight]] |
− | *[[osSetWindParam]] | + | * [[osSetWindParam]] |
− | *[[osWindActiveModelPluginName]] | + | * [[osWindActiveModelPluginName]] |
− | *[[osReplaceParcelEnvironment]] | + | * [[osReplaceParcelEnvironment]] |
− | *[[osReplaceRegionEnvironment]] | + | * [[osReplaceRegionEnvironment]] |
− | *[[osResetEnvironment]] | + | * [[osResetEnvironment]] |
{{multicol-end}} | {{multicol-end}} | ||
=== Grid / Region Information === | === Grid / Region Information === | ||
{{multicol}} | {{multicol}} | ||
− | *[[osCheckODE]] | + | * [[osCheckODE]] |
− | *[[osGetGridCustom]] | + | * [[osGetGridCustom]] |
− | *[[osGetGridGatekeeperURI]] | + | * [[osGetGridGatekeeperURI]] |
− | *[[osGetGridHomeURI]] | + | * [[osGetGridHomeURI]] |
− | *[[osGetGridLoginURI]] | + | * [[osGetGridLoginURI]] |
− | *[[osGetGridName]] | + | * [[osGetGridName]] |
− | *[[osGetGridNick]] | + | * [[osGetGridNick]] |
− | *[[osGetMapTexture]] | + | * [[osGetMapTexture]] |
− | *[[osGetPhysicsEngineName]] | + | * [[osGetPhysicsEngineName]] |
− | *[[osGetPhysicsEngineType]] | + | * [[osGetPhysicsEngineType]] |
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osGetRegionMapTexture]] | + | * [[osGetRegionMapTexture]] |
− | *[[osGetRegionSize]] | + | * [[osGetRegionSize]] |
− | *[[osGetRegionStats]] | + | * [[osGetRegionStats]] |
− | *[[osGetScriptEngineName]] | + | * [[osGetScriptEngineName]] |
− | *[[osGetSimulatorMemory]] | + | * [[osGetSimulatorMemory]] |
− | *[[osGetSimulatorMemoryKB]] | + | * [[osGetSimulatorMemoryKB]] |
− | *[[osGetSimulatorVersion]] | + | * [[osGetSimulatorVersion]] |
− | *[[osLoadedCreationDate]] | + | * [[osLoadedCreationDate]] |
− | *[[osLoadedCreationID]] | + | * [[osLoadedCreationID]] |
− | *[[osLoadedCreationTime]] | + | * [[osLoadedCreationTime]] |
{{multicol-end}} | {{multicol-end}} | ||
=== Administration === | === Administration === | ||
− | *[[osConsoleCommand]] | + | * [[osConsoleCommand]] |
− | *[[osRegionNotice]] | + | * [[osRegionNotice]] |
− | *[[osRegionRestart]] | + | * [[osRegionRestart]] |
− | *[[osSetParcelMediaURL]] | + | * [[osSetParcelMediaURL]] |
− | *[[osSetParcelMusicURL]] | + | * [[osSetParcelMusicURL]] |
− | *[[osSetParcelSIPAddress | + | * [[osSetParcelSIPAddress]] |
− | + | ||
=== Script === | === Script === | ||
Line 275: | Line 300: | ||
{{multicol}} | {{multicol}} | ||
* [[osFormatString]] | * [[osFormatString]] | ||
+ | * [[osListenRegex]] | ||
* [[osMatchString]] | * [[osMatchString]] | ||
* [[osRegexIsMatch]] | * [[osRegexIsMatch]] | ||
* [[osReplaceString]] | * [[osReplaceString]] | ||
* [[osStringSubString]] | * [[osStringSubString]] | ||
− | |||
{{multicol-break}} | {{multicol-break}} | ||
+ | * [[osStringStartsWith]] | ||
* [[osStringEndsWith]] | * [[osStringEndsWith]] | ||
* [[osStringIndexOf]] | * [[osStringIndexOf]] | ||
Line 290: | Line 316: | ||
=== Misc === | === Misc === | ||
{{multicol}} | {{multicol}} | ||
− | *[[ | + | * [[osAESEncrypt]] {{new}} |
− | *[[ | + | * [[osAESDecrypt]] {{new}} |
− | *[[ | + | * [[osAESEncryptTo]] {{new}} |
− | *[[ | + | * [[osAESDecryptFrom]] {{new}} |
− | *[[ | + | * [[osAngleBetween]] |
− | *[[ | + | * [[osApproxEquals]] |
− | *[[ | + | * [[osGetPSTWallclock]] |
− | *[[ | + | * [[osListSortInPlace]] |
− | *[[ | + | * [[osListSortInPlaceStrided]] {{new}} |
+ | * [[osIsUUID]] | ||
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osRound]] | + | * [[osIsNotValidNumber]] |
− | *[[osSlerp]] | + | * [[osKey2Name]] |
− | *[[osUnixTimeToTimestamp]] | + | * [[osMax]] |
− | *[[osVecDistSquare]] | + | * [[osMin]] |
− | *[[osVecMagSquare]] | + | * [[osRound]] |
+ | * [[osSHA256]] | ||
+ | * [[osSlerp]] | ||
+ | * [[osUnixTimeToTimestamp]] | ||
+ | * [[osVecDistSquare]] | ||
+ | * [[osVecMagSquare]] | ||
{{multicol-end}} | {{multicol-end}} | ||
=== Deprecated === | === Deprecated === | ||
− | *[[osParcelSetDetails|<strike>osParcelSetDetails</strike>]] - Use [[osSetParcelDetails]] | + | * [[osParcelSetDetails|<strike>osParcelSetDetails</strike>]] - Use [[osSetParcelDetails]] |
− | *[[osSetPenColour|<strike>osSetPenColour</strike>]] - Use [[osSetPenColor]] | + | * [[osSetPenColour|<strike>osSetPenColour</strike>]] - Use [[osSetPenColor]] |
− | *[[osSunGetParam|<strike>osSunGetParam</strike>]] - Use [[osGetSunParam]] | + | * [[osSunGetParam|<strike>osSunGetParam</strike>]] - Use [[osGetSunParam]] |
− | *[[osSunSetParam|<strike>osSunSetParam</strike>]] - Use [[osSetSunParam]] | + | * [[osSunSetParam|<strike>osSunSetParam</strike>]] - Use [[osSetSunParam]] |
− | *[[osTerrainGetHeight|<strike>osTerrainGetHeight</strike>]] - Use [[osGetTerrainHeight]] | + | * [[osTerrainGetHeight|<strike>osTerrainGetHeight</strike>]] - Use [[osGetTerrainHeight]] |
− | *[[osTerrainSetHeight|<strike>osTerrainSetHeight</strike>]] - Use [[osSetTerrainHeight]] | + | * [[osTerrainSetHeight|<strike>osTerrainSetHeight</strike>]] - Use [[osSetTerrainHeight]] |
*<strike>osWindParamGet</strike> - Use [[osGetWindParam]] | *<strike>osWindParamGet</strike> - Use [[osGetWindParam]] | ||
*<strike>osWindParamSet</strike> - Use [[osSetWindParam]] | *<strike>osWindParamSet</strike> - Use [[osSetWindParam]] | ||
− | *[[osGetSunParam]] | + | * [[osList2Double|<strike>osList2Double</strike>]] - Use llList2Float |
− | *[[osSetEstateSunSettings]] | + | * [[osGetSunParam]] |
− | *[[osSetRegionSunSettings]] | + | * [[osSetEstateSunSettings]] |
− | *[[osSetSunParam]] | + | * [[osSetRegionSunSettings]] |
+ | * [[osSetSunParam]] | ||
+ | * [[osSetPrimFloatOnWater]] | ||
== See Also == | == See Also == | ||
− | *[[LSL Status|LSL/OSSL Status Page]] | + | * [[OSSL_vs_LSL|LSL&OSSL : Neighbour functions, similarities and differences]] |
+ | * [[Accessing_Prim_Properties|LSL&OSSL : Guide to prims addressing (by linknum, by uuid)]] | ||
+ | * [[LSL Status|LSL/OSSL Status Page]] | ||
*OSSL | *OSSL | ||
− | **[[OSSL_Implemented|OSSL Implemented Functions]] | + | ** [[OSSL_Implemented|OSSL Implemented Functions]] |
− | **[[OSSL Constants|OSSL Constants]] | + | ** [[OSSL Constants|OSSL Constants]] |
− | **[[OSSL Status/Types|OSSL Types Status Page]] | + | ** [[OSSL Status/Types|OSSL Types Status Page]] |
− | **[[OSSL Status/Events|OSSL Events Status Page]] | + | ** [[OSSL Status/Events|OSSL Events Status Page]] |
− | **[[Dynamic_textures|OSSL osDynamicTextures Functions Index Page]] | + | ** [[Dynamic_textures|OSSL osDynamicTextures Functions Index Page]] |
− | **[[OSSL TextureDrawing|OSSL TextureDrawing Extended Information]] | + | ** [[OSSL TextureDrawing|OSSL TextureDrawing Extended Information]] |
− | **[[OSSLNPC|OSSL functions for working with NPCs]] | + | ** [[OSSLNPC|OSSL functions for working with NPCs]] |
− | **[[OSSL Proposals|OSSL Proposed Functions]] | + | ** [[OSSL Proposals|OSSL Proposed Functions]] |
− | **[[OSSL Enabling Functions]] | + | ** [[OSSL Enabling Functions]] |
− | **[[OSSL Standards|OSSL Standards]] | + | ** [[OSSL Standards|OSSL Standards]] |
* LS | * LS | ||
Line 348: | Line 384: | ||
** [[Appearance_Formats|Appearance Notecard Format]] | ** [[Appearance_Formats|Appearance Notecard Format]] | ||
+ | [[Category:Scripting]] | ||
+ | [[Category:Scripts]] | ||
[[Category:OSSL]] | [[Category:OSSL]] |
Latest revision as of 10:45, 20 June 2024
Languages: |
English Deutsch |
This information is relative to (almost) the last OpenSimulator Development version. In some cases it may not apply to older versions.
Contents |
[edit] OSSL function permissions
Several OSSL functions have execution permission control to prevent abusive or dangerous use.
This is controlled by files osslDefaultEnable.ini and osslEnable.ini, by default in folder bin/config-include
The use logic of these two files is identical to OpenSimDefaults.ini and OpenSim.ini
Older OpenSimulator versions only used file osslEnable.ini.
Some older OpenSimulator versions had checks for all OSSLfunctions.
That made no sense for many functions, so now many are always allowed wasting no time on useless checks.
For details about these permissions, please read file OpenSimDefaults.ini
[edit] osslDefaultEnable.ini
This file contains the defaults for OSSL execution permissions set by OpenSimulator dev team.
Instead of changing defaults defined in code, the OpenSimulator dev team may decide to just make changes in this file.
This file was not present on older OpenSimulator versions.
If you need to change permissions, copy the respective entry to osslEnable.ini and modify there.
[edit] osslEnable.ini
This file contains the local overrides for OSSL permissions.
It is read after osslDefaultEnable.ini, and any entry on it replaces the old one.
This file is not provided on code packages, an osslEnable.ini.example is.
At first time setup, you will need to copy the example file to osslEnable.ini and then edit it for your needs, using osslDefaults.ini as reference.
This was the only file used on older OpenSimulator versions.
[edit] Current OSSL Functions Implemented
[edit] Avatars
[edit] NPCs
[edit] Prim
[edit] Prim Drawing / Dynamic Texture
[edit] Notecard
[edit] Sound
[edit] HTTP
[edit] Parcel
[edit] Terrain
[edit] Region / Parcel Environment
[edit] Grid / Region Information
[edit] Administration
- osConsoleCommand
- osRegionNotice
- osRegionRestart
- osSetParcelMediaURL
- osSetParcelMusicURL
- osSetParcelSIPAddress
[edit] Script
[edit] String Manipulation
[edit] Misc
[edit] Deprecated
-
osParcelSetDetails- Use osSetParcelDetails -
osSetPenColour- Use osSetPenColor -
osSunGetParam- Use osGetSunParam -
osSunSetParam- Use osSetSunParam -
osTerrainGetHeight- Use osGetTerrainHeight -
osTerrainSetHeight- Use osSetTerrainHeight osWindParamGet- Use osGetWindParamosWindParamSet- Use osSetWindParam-
osList2Double- Use llList2Float - osGetSunParam
- osSetEstateSunSettings
- osSetRegionSunSettings
- osSetSunParam
- osSetPrimFloatOnWater
[edit] See Also
- LSL&OSSL : Neighbour functions, similarities and differences
- LSL&OSSL : Guide to prims addressing (by linknum, by uuid)
- LSL/OSSL Status Page
- OSSL
Subcategories
This category has the following 11 subcategories, out of 11 total.
O |
O cont. |
O cont. |
Pages in category "OSSL Functions"
The following 200 pages are in this category, out of 256 total.
(previous 200) (next 200)