Skip to content

OS Functions

Serra Royale edited this page Jun 11, 2025 · 10 revisions
Contents
Avatars NPCs Prim Prim Drawing / Dynamic Texture Notecard Sound HTTP
Parcel Terrain Region / Parcel Environment Grid / Region Information Administration Script String Manipulation
Misc Deprecated

Basic Info

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

Function Description Function Description
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

Function Description Function Description
osIsNpc osNpcCreate
osGetNpcList osNpcGetPos
osNpcGetRot osNpcGetOwner
osNpcLookAt osNpcLoadAppearence
osNpcMoveTo osNpcMoveToTarget
osNpcPlayAnimation osNpcRemove
osNpcSaveAppearence osNpcSay
osNpcSayTo osNpcSetProfileAbout
osNpcSetProfileImage osNpcSetRot
osNpcSetShout osNpcSit
osNpcStand osNpcStopMoveToTarget
osNpcStopAnimation osNpcTouch
osNpcWhisper

Prim

Function Description Function Description
osClearIneria osClearObjectAnimations
osDie osForceBreakAllLinks
osForceBreakLink osForceCreateLink
osGetInertiaData osGetInventoryItemKey
osGetInventoryName osGetInventoryNames
osGetInventoryItemKeys osGetInventoryDesc
osGetInventoryLastOwner osGetLinkInventoryName
osGetLinkInventoryNames osGetLinkInventoryItemKey
osGetLinkInventoryItemKeys osGetLinkInventoryKey
osGetLinkInventoryDesc osGetLinkInventory
osGetLinkInventoryList osRemoveLinkInventory
osGetLastChangedEventKey osGetLinkNumber
osLinkPrimitiveParams osPrimitiveParams
osGetRezzingObject osGetSitActiveRage
osGetLinkSitActiveRage osGetSitTargetPos
osGetSitTargetRot osGetStandTarget
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os
os os

Prim Drawing / Dynamic Texture

Function Description Function Description

Notecard

Function Description Function Description

Sound

Function Description Function Description

HTTP

Function Description Function Description

Parcel

Function Description Function Description

Terrain

Function Description Function Description

Region / Parcel Environment

Function Description Function Description

Grid / Region Information

Function Description Function Description

Administration

Function Description Function Description

Script

Function Description
osResetAllScripts

String Manipulation

Function Description Function Description

Misc

Function Description Function Description

Deprecated

Function Description Function Description

Clone this wiki locally