RemoteAdmin:admin refresh map
From OpenSimulator
admin_refresh_map remotely allows to refresh map.
Contents |
Enabling admin_refresh_map
If not all functions are enabled, use admin_refresh_map to enable the function in the [RemoteAdmin] section
enabled_methods = admin_refresh_map, ...
Parameters
Required Parameters
No parameters are required
parameter | Description | Values |
---|
Optional Parameters
No optional parameter
parameter | Description | Values |
---|
Returned Parameters
Returned Parameters
These parameters are returned by Remote Admin
parameter | Description | Values |
---|---|---|
success | true when successfull | true, false |
Error messages
no region_name or region_id given
Notes
...
Example
PHP
This example needs the RemoteAdmin PHP Class file available here.
<?php // Including the RemoteAdmin PHP class. include('RemoteAdmin.php'); // Instantiate the class with parameters $myRemoteAdmin = new RemoteAdmin('127.0.0.1', 9000, 'secret'); // Invoke admin_refresh_map (multiple parameters) $parameters = array('region_name' => '<REGION_NAME_HERE>', 'region_id' => '<REGION_ID_HERE>'); $myRemoteAdmin->SendCommand('admin_refresh_map', $parameters); ?>