17 January 2023
ObscureMOAP
property.7 June 2015
region
parameter.31 May 2015
14 December 2014
setparceldata (Commands) | |
---|---|
Type | Corrade progressive command |
Command | setparceldata |
Description | The setparceldata command can be used to set various parcel properties by following the Parcel class of libopenmetaverse. |
Permissions | land |
Parameters | group , password , data |
Last Changes | Release 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. |
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.