RemoteAdmin:admin reset land
From OpenSimulator
Revision as of 11:35, 16 March 2021 by JeffKelley (Talk | contribs)
admin_reset_land remotely allows to reset land.
Contents |
Enabling admin_reset_land
If not all functions are enabled, use admin_reset_land to enable the function in the [RemoteAdmin] section
enabled_methods = admin_reset_land, ...
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
...
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_search (multiple parameters) $parameters = array(''); $myRemoteAdmin->SendCommand('admin_reset_land', $parameters); ?>