Table of Contents

Set Parcel Data

17 January 2023

  • C11 - added ObscureMOAP property.

7 June 2015

  • Release 8.22 - added the optional region parameter.

31 May 2015

  • Release 8.19 - fixed setting parcel flags.

14 December 2014

  • Release 7.28 - added.
setparceldata (Commands)
TypeCorrade progressive command
Commandsetparceldata
DescriptionThe setparceldata command can be used to set various parcel properties by following the Parcel class of libopenmetaverse.
Permissionsland
Parametersgroup, password, data
Last ChangesRelease 8.22 - added the optional region parameter.

The setparceldata command can be used to set various parcel properties by following the Parcel class of libopenmetaverse.

Command Required Parameters Required Corrade Permissions Example
setparceldata group, password, data land
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "setparceldata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasListToCSV(
                [
                    // Set the music URL
                    "MusicURL", wasURLEscape("http://streamradio.tk/playlist.pls"),
                    // And set default parcel flags except flying
                    "Flags", wasListToCSV(
                        [
                            //"AllowFly",
                            "AllowOtherScripts",
                            "AllowLandmark",
                            "CreateObjects",
                            "AllowGroupScripts",
                            "CreateGroupObjects",
                            "AllowAPrimitiveEntry",
                            "AllowGroupObjectEntry",
                            "AllowVoiceChat",
                            "UseEstateVoiceChan"
                        ]
                    )
                ]
            ),
            "position", <128,128,0>,
            "callback", llEscapeURL(URL)
        ]
    )
);
Optional Parameters Possible Value Description
position A vector. A position over a parcel, or, if not specified, the affected parcel is the one that Corrade is currently on.
region A string representing a region name. Attempt to perform the command on the specified region. Note that Corrade must be connected to that region. If in doubt, please use the getconnectedregions command to determine whether the region you want to specify is currently connected.

Corrade Additions to OpenMetaverse Library

In addition to the Parcel class of libopenmetaverse, Corrade also allows setting the following properties for a given parcel.

Flag Possible Value Meaning
SeeAVs True or False Whether avatars in this parcel should be invisible to the people outside.
AnyAVSounds True or False Whether avatars outside the parcel can hear any sounds that avatars inside the parcel play.
GroupAVSounds True or False Whether group members outside the parcel can hear any sounds avatars play inside the parcel.
ObscureMOAP True or False Whether group members outside the parcel can hear any MOAP that avatars play inside the parcel.

For instance, if you want to set a parcel's visibility (World→About Land…→Options→See and chat with residents on this parcel) off, you would issue the command:

llInstantMessage((key)CORRADE, 
    wasKeyValueEncode(
        [
            "command", "setparceldata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "position", wasURLEscape("<194.392197, 72.896423, 23.951017>"),
            "data", wasListToCSV(
                [
                    "SeeAVs", "False"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

where <194.392197, 72.896423, 23.951017> is a vector whose projection on the ground is inside the parcel whose settings you want to change.

Notes