Category:OSSL Functions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Script Permissions (Pending Peer Review))
(osslDefaultEnable.ini)
 
(95 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Current OSSL Functions Implemented  ==
+
<div style="background-color:#FFA500; padding:10px; padding-bottom:5px; border: 1px #FF544F solid">
 +
This information is relative to (almost) the last OpenSimulator Development version. In some cases it may not apply to older versions.
 +
</div>
  
'''!''' Partial Update OpenSim DEV 0.9.1
+
== 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<br>
 +
The use logic of these two files is identical to OpenSimDefaults.ini and OpenSim.ini
  
'''!''' Partial Update OpenSim DEV 0.9.0 #2c8c25a0 August 15, 2017
+
Older OpenSimulator versions only used file osslEnable.ini.<br>
 +
Some older OpenSimulator versions had checks for all OSSLfunctions.<br>
 +
That made no sense for many functions, so now many are always allowed wasting no time on useless checks.<br>
  
 +
For details about these permissions, please read file OpenSimDefaults.ini
  
'''!''' Partial Update December.10.2010 With commits of this date some functions have been corrected to use standard OSSL conventions. The previous functions are tagged as deprecated with their replacement shown. The deprecated functions will advise you with a message that they have been deprecated and to use the new os function name instead. Further updates are needed to complete the existing list of os functions.
+
= osslDefaultEnable.ini =
 +
This file contains the defaults for OSSL execution permissions set by OpenSimulator dev team.<br>
 +
Instead of changing defaults defined in code, the OpenSimulator dev team may decide to just make changes in this file.<br>
 +
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 =
 +
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>
 +
This file is not provided on code packages, an osslEnable.ini.example is.<br>
 +
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.
  
Each of these functions may have threat level associated with it. See [[Threat level]] for more information and an overview of each function's level.
 
  
 +
== Current OSSL Functions Implemented  ==
  
 
=== Avatars ===
 
=== Avatars ===
 
{{multicol}}
 
{{multicol}}
 +
*[[osAddAgentToGroup]]
 
*[[osAgentSaveAppearance]]
 
*[[osAgentSaveAppearance]]
 
*[[osAvatarName2Key]]
 
*[[osAvatarName2Key]]
Line 21: Line 40:
 
*[[osCauseDamage]]  
 
*[[osCauseDamage]]  
 
*[[osCauseHealing]]
 
*[[osCauseHealing]]
*[[osDetectedCountry]] {{new}}
+
*[[osDetectedCountry]]
 
*[[osDropAttachment]]
 
*[[osDropAttachment]]
 
*[[osDropAttachmentAt]]
 
*[[osDropAttachmentAt]]
Line 33: Line 52:
 
*[[osForceOtherSit]]
 
*[[osForceOtherSit]]
 
*[[osGetAgentIP]]  
 
*[[osGetAgentIP]]  
{{multicol-break}}
 
 
*[[osGetAgents]]
 
*[[osGetAgents]]
 +
{{multicol-break}}
 
*[[osGetAgentCountry]] {{new}}
 
*[[osGetAgentCountry]] {{new}}
 
*[[osGetAvatarHomeURI]]
 
*[[osGetAvatarHomeURI]]
 
*[[osGetAvatarList]]  
 
*[[osGetAvatarList]]  
 
*[[osGetGender]]
 
*[[osGetGender]]
*[[osGetHealRate]] {{new}}
+
*[[osGetHealRate]]
 
*[[osGetHealth]]
 
*[[osGetHealth]]
 
*[[osGetNumberOfAttachments]]
 
*[[osGetNumberOfAttachments]]
 +
*[[osGrantScriptPermissions]]
 
*[[osInviteToGroup]]
 
*[[osInviteToGroup]]
*[[osKickAvatar]] {{new}}
+
*[[osKickAvatar]]
 
*[[osOwnerSaveAppearance]]
 
*[[osOwnerSaveAppearance]]
*[[osSetHealRate]] {{new}}
+
*[[osRevokeScriptPermissions]]
*[[osSetHealth]] {{new}}
+
*[[osSetHealRate]]
*[[osSetOwnerSpeed]] {{new}}
+
*[[osSetHealth]]
 +
*[[osSetOwnerSpeed]]
 
*[[osSetSpeed]]
 
*[[osSetSpeed]]
*[[osLocalTeleportAgent]] {{new}} {{E}}
+
*[[osLocalTeleportAgent]] {{E}}
 
*[[osTeleportAgent]]  
 
*[[osTeleportAgent]]  
 
*[[osTeleportOwner]]  
 
*[[osTeleportOwner]]  
 +
*[[osReplaceAgentEnvironment]] {{new}}
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 58: Line 80:
 
*[[osIsNpc]]
 
*[[osIsNpc]]
 
*[[osNpcCreate]]
 
*[[osNpcCreate]]
*[[osGetNpcList]] {{new}}
+
*[[osGetNpcList]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetRot]]
 
*[[osNpcGetRot]]
Line 70: Line 92:
 
{{multicol-break}}
 
{{multicol-break}}
 
*[[osNpcSay]]
 
*[[osNpcSay]]
*[[osNpcSayTo]] {{new}}
+
*[[osNpcSayTo]]
*[[osNpcSetProfileAbout]] {{new}}
+
*[[osNpcSetProfileAbout]]
*[[osNpcSetProfileImage]] {{new}}
+
*[[osNpcSetProfileImage]]
 
*[[osNpcSetRot]]
 
*[[osNpcSetRot]]
 
*[[osNpcShout]]
 
*[[osNpcShout]]
Line 83: Line 105:
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Prim Manipulation ===
+
=== Prim ===
 
{{multicol}}
 
{{multicol}}
*[[osClearInertia]] {{new}}
+
*[[osClearInertia]]
 +
*[[osClearObjectAnimations]] {{new}}
 +
*[[osDie]]
 
*[[osForceBreakAllLinks]]
 
*[[osForceBreakAllLinks]]
 
*[[osForceBreakLink]]  
 
*[[osForceBreakLink]]  
 
*[[osForceCreateLink]]
 
*[[osForceCreateLink]]
*[[osGetInertiaData]] {{new}}
+
*[[osGetInertiaData]]
*[[osGetInventoryItemKey]] {{new}}
+
*[[osGetInventoryItemKey]]
*[[osGetInventoryName]] {{new}}
+
*[[osGetInventoryName]]
 
*[[osGetInventoryDesc]]
 
*[[osGetInventoryDesc]]
*[[osGetInventoryLastOwner]] {{new}}
+
*[[osGetInventoryLastOwner]]
*[[osGetLastChangedEventKey]] {{new}}
+
*[[osGetLastChangedEventKey]]
*[[osGetLinkNumber]] {{new}}
+
*[[osGetLinkNumber]]
 
*[[osGetLinkPrimitiveParams]]  
 
*[[osGetLinkPrimitiveParams]]  
{{multicol-break}}
 
 
*[[osGetPrimitiveParams]]  
 
*[[osGetPrimitiveParams]]  
 
*[[osGetRezzingObject]]
 
*[[osGetRezzingObject]]
 +
*[[osGetSitActiveRange]] {{new}}
 +
*[[osGetLinkSitActiveRange]] {{new}}
 +
{{multicol-break}}
 +
*[[osGetStandTarget]] {{new}}
 +
*[[osGetLinkStandTarget]] {{new}}
 
*[[osListenRegex]]
 
*[[osListenRegex]]
 
*[[osMessageAttachments]]
 
*[[osMessageAttachments]]
 
*[[osMessageObject]]
 
*[[osMessageObject]]
*[[osSetInertia]] {{new}}
+
*[[osSetInertia]]
*[[osSetInertiaAsBox]] {{new}}
+
*[[osSetInertiaAsBox]]
*[[osSetInertiaAsCylinder]] {{new}}
+
*[[osSetInertiaAsCylinder]]
*[[osSetInertiaAsSphere]] {{new}}
+
*[[osSetInertiaAsSphere]]
 
*[[osSetPrimitiveParams]]  
 
*[[osSetPrimitiveParams]]  
 
*[[osSetProjectionParams]]
 
*[[osSetProjectionParams]]
*[[osTeleportObject]] {{new}}
+
*[[osSetSitActiveRange]] {{new}}
 +
*[[osSetLinkSitActiveRange]] {{new}}
 +
*[[osSetStandTarget]] {{new}}
 +
*[[osSetLinkStandTarget]] {{new}}
 +
*[[osTeleportObject]]
 +
*[[osVolumeDetect]]
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 115: Line 148:
 
{{multicol}}
 
{{multicol}}
 
*[[osDrawEllipse]]
 
*[[osDrawEllipse]]
*[[osDrawFilledEllipse]] {{new}}
+
*[[osDrawFilledEllipse]]
 
*[[osDrawFilledPolygon]]
 
*[[osDrawFilledPolygon]]
 
*[[osDrawFilledRectangle]]
 
*[[osDrawFilledRectangle]]
Line 122: Line 155:
 
*[[osDrawPolygon]]
 
*[[osDrawPolygon]]
 
*[[osDrawRectangle]]
 
*[[osDrawRectangle]]
*[[osDrawResetTransform]] {{new}}
+
*[[osDrawResetTransform]]
*[[osDrawRotationTransform]] {{new}}
+
*[[osDrawRotationTransform]]
*[[osDrawScaleTransform]] {{new}}
+
*[[osDrawScaleTransform]]
 
*[[osDrawText]]
 
*[[osDrawText]]
*[[osDrawTranslationTransform]] {{new}}
+
*[[osDrawTranslationTransform]]
 
{{multicol-break}}
 
{{multicol-break}}
 
*[[osGetDrawStringSize]]
 
*[[osGetDrawStringSize]]
Line 135: Line 168:
 
*[[osSetPenColor]]
 
*[[osSetPenColor]]
 
*[[osSetPenSize]]
 
*[[osSetPenSize]]
*[[osSetDynamicTextureData]]  
+
*[[osSetDynamicTextureData]] {{new}}
 
*[[osSetDynamicTextureDataFace]] {{new}}
 
*[[osSetDynamicTextureDataFace]] {{new}}
*[[osSetDynamicTextureDataBlend]]  
+
*[[osSetDynamicTextureDataBlend]] {{new}}
 
*[[osSetDynamicTextureDataBlendFace]]  
 
*[[osSetDynamicTextureDataBlendFace]]  
*[[osSetDynamicTextureURL]]  
+
*[[osSetDynamicTextureURL]] {{new}}
*[[osSetDynamicTextureURLBlend]]  
+
*[[osSetDynamicTextureURLBlend]] {{new}}
*[[osSetDynamicTextureURLBlendFace]]
+
*[[osSetDynamicTextureURLBlendFace]] {{new}}
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 152: Line 185:
 
=== Sound ===
 
=== Sound ===
 
{{multicol}}
 
{{multicol}}
*[[osAdjustSoundVolume]] {{new}}
+
*[[osAdjustSoundVolume]]
*[[osCollisionSound]] {{new}}
+
*[[osCollisionSound]]
*[[osLoopSound]] {{new}}
+
*[[osLoopSound]]
*[[osLoopSoundMaster]] {{new}}
+
*[[osLoopSoundMaster]]
*[[osLoopSoundSlave]] {{new}}
+
*[[osLoopSoundSlave]]
*[[osPlaySound]] {{new}}
+
*[[osPlaySound]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osPlaySoundSlave]] {{new}}
+
*[[osPlaySoundSlave]]
*[[osPreloadSound]] {{new}}
+
*[[osPreloadSound]]
*[[osSetSoundRadius]] {{new}}
+
*[[osSetSoundRadius]]
*[[osStopSound]] {{new}}
+
*[[osStopSound]]
*[[osTriggerSound]] {{new}}
+
*[[osTriggerSound]]
*[[osTriggerSoundLimited]] {{new}}
+
*[[osTriggerSoundLimited]]
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 175: Line 208:
 
*[[osParcelJoin]]  
 
*[[osParcelJoin]]  
 
*[[osParcelSubdivide]]  
 
*[[osParcelSubdivide]]  
*[[osGetParcelDwell]] {{new}}
+
*[[osGetParcelDwell]]
 
*[[osSetParcelDetails]]
 
*[[osSetParcelDetails]]
  
Line 185: Line 218:
 
*[[osTerrainFlush]]
 
*[[osTerrainFlush]]
  
=== WindLight ===
+
=== Region Environment ===
 
{{multicol}}
 
{{multicol}}
 
*[[osGetCurrentSunHour]]  
 
*[[osGetCurrentSunHour]]  
*[[osGetSunParam]]  
+
*[[osGetApparentTime]] {{new}}
 +
*[[osGetApparentTimeString]] {{new}}
 +
*[[osGetApparentRegionTime]] {{new}}
 +
*[[osGetApparentRegionTimeString]] {{new}}
 +
 
 
*[[osGetWindParam]]  
 
*[[osGetWindParam]]  
*[[osSetEstateSunSettings]]
 
*[[osSetRegionSunSettings]]
 
 
{{multicol-break}}
 
{{multicol-break}}
 
*[[osSetRegionWaterHeight]]  
 
*[[osSetRegionWaterHeight]]  
*[[osSetSunParam]]
 
 
*[[osSetWindParam]]
 
*[[osSetWindParam]]
*[[osWindActiveModelPluginName]]  
+
*[[osWindActiveModelPluginName]]
 +
*[[osReplaceParcelEnvironment]] {{new}}
 +
*[[osReplaceRegionEnvironment]] {{new}}
 +
*[[osResetEnvironment]] {{new}}
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 209: Line 246:
 
*[[osGetGridNick]]  
 
*[[osGetGridNick]]  
 
*[[osGetMapTexture]]  
 
*[[osGetMapTexture]]  
*[[osGetPhysicsEngineName]] {{new}}
+
*[[osGetPhysicsEngineName]]
 
*[[osGetPhysicsEngineType]]
 
*[[osGetPhysicsEngineType]]
 
{{multicol-break}}
 
{{multicol-break}}
Line 217: Line 254:
 
*[[osGetScriptEngineName]]  
 
*[[osGetScriptEngineName]]  
 
*[[osGetSimulatorMemory]]  
 
*[[osGetSimulatorMemory]]  
*[[osGetSimulatorMemoryKB]] {{new}}
+
*[[osGetSimulatorMemoryKB]]
 
*[[osGetSimulatorVersion]]  
 
*[[osGetSimulatorVersion]]  
 
*[[osLoadedCreationDate]]  
 
*[[osLoadedCreationDate]]  
Line 226: Line 263:
 
=== Administration ===
 
=== Administration ===
 
*[[osConsoleCommand]]  
 
*[[osConsoleCommand]]  
*[[osRegionNotice]] {{new}}
+
*[[osRegionNotice]]
 
*[[osRegionRestart]]  
 
*[[osRegionRestart]]  
 
*[[osSetParcelMediaURL]]  
 
*[[osSetParcelMediaURL]]  
 +
*[[osSetParcelMusicURL]] {{new}}
 
*[[osSetParcelSIPAddress]]
 
*[[osSetParcelSIPAddress]]
 
*[[osSetPrimFloatOnWater]]
 
*[[osSetPrimFloatOnWater]]
  
=== Script  
+
=== Script ===
 
*[[osResetAllScripts]]
 
*[[osResetAllScripts]]
  
Line 241: Line 279:
 
* [[osRegexIsMatch]]
 
* [[osRegexIsMatch]]
 
* [[osReplaceString]]
 
* [[osReplaceString]]
* [[osStringSubString]] {{new}}
+
* [[osStringSubString]]
* [[osStringStartsWith]] {{new}}
+
* [[osStringStartsWith]]
 
{{multicol-break}}
 
{{multicol-break}}
* [[osStringEndsWith]] {{new}}
+
* [[osStringEndsWith]]
* [[osStringIndexOf]] {{new}}
+
* [[osStringIndexOf]]
* [[osStringLastIndexOf]] {{new}}
+
* [[osStringLastIndexOf]]
* [[osStringRemove]] {{new}}
+
* [[osStringRemove]]
* [[osStringReplace]] {{new}}
+
* [[osStringReplace]]
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== Misc ===
 
=== Misc ===
 
{{multicol}}
 
{{multicol}}
*[[osAngleBetween]] {{new}}
+
*[[osAngleBetween]]
*[[osApproxEquals]] {{new}}
+
*[[osApproxEquals]]
*[[osDie]] {{new}}
+
*[[osGetPSTWallclock]]
*[[osGetPSTWallclock]] {{new}}
+
 
*[[osIsUUID]]
 
*[[osIsUUID]]
 +
*[[osIsNotValidNumber]]
 
*[[osKey2Name]]  
 
*[[osKey2Name]]  
 
*[[osList2Double]]  
 
*[[osList2Double]]  
Line 263: Line 301:
 
*[[osMin]]
 
*[[osMin]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osResetAllScripts]] {{new}}
+
*[[osRound]]
*[[osRound]] {{new}}
+
*[[osSlerp]]
*[[osSlerp]] {{new}}
+
 
*[[osUnixTimeToTimestamp]]  
 
*[[osUnixTimeToTimestamp]]  
*[[osVecDistSquare]] {{new}}
+
*[[osVecDistSquare]]
*[[osVecMagSquare]] {{new}}
+
*[[osVecMagSquare]]
*[[osVolumeDetect]] {{new}}
+
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 281: Line 317:
 
*<strike>osWindParamGet</strike> - Use [[osGetWindParam]]
 
*<strike>osWindParamGet</strike> - Use [[osGetWindParam]]
 
*<strike>osWindParamSet</strike> - Use [[osSetWindParam]]
 
*<strike>osWindParamSet</strike> - Use [[osSetWindParam]]
 +
*[[osGetSunParam]]
 +
*[[osSetEstateSunSettings]]
 +
*[[osSetRegionSunSettings]]
 +
*[[osSetSunParam]]
  
 
== See Also  ==
 
== See Also  ==

Latest revision as of 04:57, 21 September 2020

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 Environment

[edit] Grid / Region Information

[edit] Administration

[edit] Script

[edit] String Manipulation

[edit] Misc

[edit] Deprecated

[edit] See Also

Pages in category "OSSL Functions"

The following 200 pages are in this category, out of 227 total.

(previous 200) (next 200)

O

O cont.

O cont.

(previous 200) (next 200)
Personal tools
General
About This Wiki