Category:OSSL Functions

This information is relative to (almost) the last OpenSimulator Development version. In some cases it may not apply to older versions.

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

= 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.

= 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.

Avatars

 * osAddAgentToGroup
 * osAgentSaveAppearance
 * osAvatarName2Key
 * osAvatarPlayAnimation
 * osAvatarStopAnimation
 * osAvatarType
 * osCauseDamage
 * osCauseHealing
 * osDetectedCountry
 * osDropAttachment
 * osDropAttachmentAt
 * osEjectFromGroup
 * osForceAttachToAvatar
 * osForceAttachToAvatarFromInventory
 * osForceAttachToOtherAvatarFromInventory
 * osForceDetachFromAvatar
 * osForceDropAttachment
 * osForceDropAttachmentAt
 * osForceOtherSit
 * osGetAgentIP
 * osGetAgents


 * osGetAgentCountry
 * osGetAvatarHomeURI
 * osGetAvatarList
 * osGetGender
 * osGetHealRate
 * osGetHealth
 * osGetNumberOfAttachments
 * osGrantScriptPermissions
 * osInviteToGroup
 * osKickAvatar
 * osOwnerSaveAppearance
 * osRevokeScriptPermissions
 * osSetHealRate
 * osSetHealth
 * osSetOwnerSpeed
 * osSetSpeed
 * osLocalTeleportAgent
 * osTeleportAgent
 * osTeleportOwner
 * osReplaceAgentEnvironment

NPCs

 * osIsNpc
 * osNpcCreate
 * osGetNpcList
 * osNpcGetPos
 * osNpcGetRot
 * osNpcGetOwner
 * osNpcLookAt
 * osNpcLoadAppearance
 * osNpcMoveTo
 * osNpcMoveToTarget
 * osNpcPlayAnimation
 * osNpcRemove
 * osNpcSaveAppearance


 * osNpcSay
 * osNpcSayTo
 * osNpcSetProfileAbout
 * osNpcSetProfileImage
 * osNpcSetRot
 * osNpcShout
 * osNpcSit
 * osNpcStand
 * osNpcStopMoveToTarget
 * osNpcStopAnimation
 * osNpcTouch
 * osNpcWhisper

Prim

 * osClearInertia
 * osClearObjectAnimations
 * osDie
 * osForceBreakAllLinks
 * osForceBreakLink
 * osForceCreateLink
 * osGetInertiaData
 * osGetInventoryItemKey
 * osGetInventoryName
 * osGetInventoryDesc
 * osGetInventoryLastOwner
 * osGetLastChangedEventKey
 * osGetLinkNumber
 * osGetLinkPrimitiveParams
 * osGetPrimitiveParams
 * osGetRezzingObject
 * osGetSitActiveRange
 * osGetLinkSitActiveRange


 * osGetStandTarget
 * osGetLinkStandTarget
 * osLinkParticleSystem
 * osMessageAttachments
 * osMessageObject
 * osParticleSystem
 * osSetInertia
 * osSetInertiaAsBox
 * osSetInertiaAsCylinder
 * osSetInertiaAsSphere
 * osSetPrimitiveParams
 * osSetProjectionParams
 * osSetSitActiveRange
 * osSetLinkSitActiveRange
 * osSetStandTarget
 * osSetLinkStandTarget
 * osTeleportObject
 * osVolumeDetect

Prim Drawing / Dynamic Texture

 * osDrawEllipse
 * osDrawFilledEllipse
 * osDrawFilledPolygon
 * osDrawFilledRectangle
 * osDrawImage
 * osDrawLine
 * osDrawPolygon
 * osDrawRectangle
 * osDrawResetTransform
 * osDrawRotationTransform
 * osDrawScaleTransform
 * osDrawText
 * osDrawTranslationTransform
 * osGetDrawStringSize


 * osMovePen
 * osSetFontName
 * osSetFontSize
 * osSetPenCap
 * osSetPenColor
 * osSetPenSize
 * osSetDynamicTextureData
 * osSetDynamicTextureDataFace
 * osSetDynamicTextureDataBlend
 * osSetDynamicTextureDataBlendFace
 * osSetDynamicTextureURL
 * osSetDynamicTextureURLBlend
 * osSetDynamicTextureURLBlendFace

Notecard

 * osGetNotecard
 * osGetNotecardLine
 * osGetNumberOfNotecardLines
 * osMakeNotecard

Sound

 * osAdjustSoundVolume
 * osCollisionSound
 * osLoopSound
 * osLoopSoundMaster
 * osLoopSoundSlave
 * osPlaySound


 * osPlaySoundSlave
 * osPreloadSound
 * osSetSoundRadius
 * osStopSound
 * osTriggerSound
 * osTriggerSoundLimited

HTTP

 * osRequestSecureURL
 * osRequestURL
 * osSetContentType

Parcel

 * osParcelJoin
 * osParcelSubdivide
 * osGetParcelDwell
 * osSetParcelDetails

Terrain

 * osGetTerrainHeight
 * osSetTerrainHeight
 * osSetTerrainTexture
 * osSetTerrainTextureHeight
 * osTerrainFlush

Region / Parcel Environment

 * osGetCurrentSunHour
 * osGetApparentTime
 * osGetApparentTimeString
 * osGetApparentRegionTime
 * osGetApparentRegionTimeString
 * osGetWindParam


 * osSetRegionWaterHeight
 * osSetWindParam
 * osWindActiveModelPluginName
 * osReplaceParcelEnvironment
 * osReplaceRegionEnvironment
 * osResetEnvironment

Grid / Region Information

 * osCheckODE
 * osGetGridCustom
 * osGetGridGatekeeperURI
 * osGetGridHomeURI
 * osGetGridLoginURI
 * osGetGridName
 * osGetGridNick
 * osGetMapTexture
 * osGetPhysicsEngineName
 * osGetPhysicsEngineType


 * osGetRegionMapTexture
 * osGetRegionSize
 * osGetRegionStats
 * osGetScriptEngineName
 * osGetSimulatorMemory
 * osGetSimulatorMemoryKB
 * osGetSimulatorVersion
 * osLoadedCreationDate
 * osLoadedCreationID
 * osLoadedCreationTime

Administration

 * osConsoleCommand
 * osRegionNotice
 * osRegionRestart
 * osSetParcelMediaURL
 * osSetParcelMusicURL
 * osSetParcelSIPAddress

Script

 * osResetAllScripts

String Manipulation

 * osFormatString
 * osListenRegex
 * osMatchString
 * osRegexIsMatch
 * osReplaceString
 * osStringSubString


 * osStringStartsWith
 * osStringEndsWith
 * osStringIndexOf
 * osStringLastIndexOf
 * osStringRemove
 * osStringReplace

Misc

 * osAngleBetween
 * osApproxEquals
 * osGetPSTWallclock
 * osListSortInPlace
 * osIsUUID
 * osIsNotValidNumber
 * osKey2Name
 * osMax


 * osMin
 * osRound
 * osSHA256
 * osSlerp
 * osUnixTimeToTimestamp
 * osVecDistSquare
 * osVecMagSquare

Deprecated

 * osParcelSetDetails - Use osSetParcelDetails
 * osSetPenColour - Use osSetPenColor
 * osSunGetParam - Use osGetSunParam
 * osSunSetParam - Use osSetSunParam
 * osTerrainGetHeight - Use osGetTerrainHeight
 * osTerrainSetHeight - Use osSetTerrainHeight
 * osWindParamGet - Use osGetWindParam
 * osWindParamSet - Use osSetWindParam
 * osList2Double - Use llList2Float
 * osGetSunParam
 * osSetEstateSunSettings
 * osSetRegionSunSettings
 * osSetSunParam
 * osSetPrimFloatOnWater