Get Primitive Owners

7 June 2015

  • Release 8.22 - added the optional region parameter.
getprimitiveowners (Commands)
TypeCorrade progressive command
Commandgetprimitiveowners
DescriptionThe getprimitiveowners command allows you to query the number of primitives and the avatars that own them on the current parcel or the entire region.
Permissionsland
Parametersgroup, password
Last ChangesRelease 8.22 - added the optional region parameter.

The getprimitiveowners command allows you to query the number of primitives and the avatars that own them on the current parcel or the entire region. To query a specific parcel, you supply a vector to the position parameter which is a position within the parcel to query. Otherwise, if the position parameter is not supplied, Corrade assumes that you are querying the entire region.

Command Required Parameters Required Corrade Permissions Required Group Abilities Example
getprimitiveowners group, password land * Parcel Content→Return objects owned by group
* Parcel Content→Return objects set to group
* Parcel Content→Return non-group objects
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // retrieve the owners of primitives
            // on the current region (all parcels)
            "command", "getprimitiveowners",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameters Description
position A vector within the bounds of the parcel to query for owners and their primitives.
region 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.

The command returns a CSV list of owner names, by owner UUIDs, by total primitive count.


secondlife/scripted_agents/corrade/api/commands/getprimitiveowners.txt · Last modified: 2023/09/27 10:10 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.