Batch Set Object Permissions for Multiple Objects

31 July 2019

  • C10 - added the selection parameter.

10 November 2018

  • Release 10.1 - added.
batchsetobjectpermissions (Commands)
TypeCorrade progressive command
Commandbatchsetobjectpermissions
DescriptionThe batchsetobjectpermissions command can be used to set the permissions for multiple objects.
Permissionsinteract
Parametersgroup, password, item, permissions
Last ChangesRelease 10.1 - added.

The batchsetobjectpermissions command can be used to set the permissions of multiple objects.

Command Required Parameters Required Corrade Permissions Example
batchsetobjectpermissions group, password, item, permissions interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "batchsetobjectpermissions",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "permissions", wasURLEscape("c--mvt--------------c---v-c--mvt"),
            "item", wasURLEscape(
                wasKeyValueEncode(
                    [
                        "69434a76-6b0a-42fc-89b6-4213c71906aa",
                        "Chair",
                        "Ball"
                    ]
                )
            ),
            "range", 5
        ]
    )
);
Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.
selection attached, rezzed or all (default: all) Either attached, rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively.

Notes