Remove a Group Dynamically from Corrade's Configuration

7 October 2016

  • Release 9.135 - added.
removeconfigurationgroup (Commands)
TypeCorrade progressive command
Commandremoveconfigurationgroup
DescriptionThe removeconfigurationgroup command can be used to remove a group from Corrade's configuration.
Permissionssystem
Parametersgroup, password, target
Last ChangesRelease 9.135 - added.

The addconfigurationgroup command can be used to add a group to Corrade's configuration.

Command Required Parameters Required Corrade Permissions Example
removeconfigurationgroup group, password, target system
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Remove a configured group.
            "command", "removeconfigurationgroup",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // The name or the UUID of a group.
            "target", "b2eaaaea-995a-01d3-10eb-712d3b2d68f4",
            "callback", wasURLEscape(URL)
        ]
    )
);

Notes

  • The group passed to the target parameter can be a name or an UUID but the group has to exist on the connecting grid or Corrade will not find the group.
  • When the command is executed, Corrade removes the group from the configuration, the configuration file (Corrade.ini) is updated and then Corrade will reload the configuration. As a consequence, removing a group with this command is permanent since the group configuration will be stored in Corrade's configuration file.
  • This command is added out of convenience because pulling the entire configuration (or even just a group configuration) would most likely exceed the 2KiB restriction imposed by http_request. To change individual settings for a group, you should consider accessing the configuration using the configuration command instead of removing and creating the entire group again.
  • To add a group dynamically, you would use the addconfigurationgroup command.

secondlife/scripted_agents/corrade/api/progressive/commands/removeconfigurationgroup.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.