7 June 2015

14 December 2014

The terrain command can download and upload terrains for a region:

CommandRequired ParametersRequired Corrade PermissionsExample
terraingroup, password, actionland
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // fetch the terrain for the current region
            // that Corrade is currently on
            "command", "terrain",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "action", "get",
            // get the raw terrain for the current region
            // and send it as a Base64 encoded string in
            // the "data" key of the callback string
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional ParameterPossible ValuesDescription
regionA string representing a region name.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.