21 May 2016

2 May 2016

21 December 2014

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

CommandRequired ParametersRequired Corrade PermissionsRequired Group AbilitiesExample
setgroupdatagroup, passwordgroup* 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 while others can be set using setgroupdata:

Optional ParameterPossible ValuesDescription
dataCharterText of Group Charter
ListInProfileShow this group in agent's profile or not.
MembershipFeeCost of group membership.
OpenEnrollmentIs the group open for enrollment to everyone?
ShowInListWill group show up in search?
AllowPublishWill the group be published?
AcceptNoticesWill the agent accept notices from this group.
InsigniaIDThe UUID of a texture to use for the group insignia.
targetA 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.