7 June 2015

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.

CommandRequired ParametersRequired Corrade PermissionsRequired Group AbilitiesExample
getprimitiveownersgroup, passwordland* 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 ParametersDescription
positionA vector within the bounds of the parcel to query for owners and their primitives.
regionAttempt 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.