Set Group Data

21 May 2016

  • Release 9.78 - added optional parameter target.

2 May 2016

  • Release 9.70 - renamed the command from updategroupdata to setgroupdata along with split permissions and proper show in profile and accept notices toggle.

21 December 2014

  • Release 7.34 - added group Corrade permission.
setgroupdata (Commands)
TypeCorrade progressive command
Commandsetgroupdata
DescriptionThe setgroupdata command updates a configured group's parameters.
Permissionsgroup
Parametersgroup, password
Last ChangesRelease 9.78 - added optional parameter target.

The setgroupdata command updates a configured group's parameters as well as being able to show or hide a group from Corrade's profile.

Command Required Parameters Required Corrade Permissions Required Group Abilities Example
setgroupdata group, password group * For changing Charter, InsigniaID and AllowPublish: Group Identity->Change Charter, Insignia and 'Show in search'
* For changing MembershipFee and OpenEnrollment: Membership->Toggle 'Open Enrolment' and change 'Signup Fee'
* For changing ShowInList: Parcel Identity → Toggle 'Show in Find Places' and set category
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "setgroupdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasListToCSV(
                [
                    "Charter", "My updated group!",
                    "OpenEnrollment", "True",
                    "ShowInList", "True",
                    "MembershipFee", 100
                ]
            )
        ]
    )
);

The data parameter modifies the libopenmetaverse Group structure. Some parameters can be read using the getgroupdata command whilst others can be set using setgroupdata:

Optional Parameter Possible Values Description
data Charter Text of Group Charter
ListInProfile Show this group in agent's profile or not.
MembershipFee Cost of group membership.
OpenEnrollment Is the group open for enrolment to everyone?
ShowInList Will group show up in search?
AllowPublish Will the group be published?
AcceptNotices Will the agent accept notices from this group.
InsigniaID The UUID of a texture to use for the group insignia.
target A group name or UUID. The group to act upon. If this parameter is omitted, then the command acts upon the configured group passed to the group parameter.

secondlife/scripted_agents/corrade/api/progressive/commands/setgroupdata.txt · Last modified: 2017/02/22 18:28 (external edit)

Access website using Tor


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