RemoteAdmin:admin reset land
From OpenSimulator
(Difference between revisions)
(Created page with "'''admin_reset_land''' remotely allows to reset land. === Enabling admin_reset_land=== If not all functions are enabled, use admin_reset_land to enable the function in the [R...") |
JeffKelley (Talk | contribs) m (→PHP: Fixed broken Google Code link, replacing with internal page) |
||
Line 50: | Line 50: | ||
== Example == | == Example == | ||
=== PHP === | === PHP === | ||
− | This example needs the RemoteAdmin PHP Class file available [ | + | This example needs the RemoteAdmin PHP Class file available [[RemoteAdmin:RemoteAdmin_Class|here]]. |
<source lang="php"> | <source lang="php"> |
Latest revision as of 11:35, 16 March 2021
admin_reset_land remotely allows to reset land.
Contents |
[edit] 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, ...
[edit] Parameters
[edit] Required Parameters
No parameters are required
parameter | Description | Values |
---|
[edit] Optional Parameters
No optional parameter
parameter | Description | Values |
---|
[edit] Returned Parameters
[edit] Returned Parameters
These parameters are returned by Remote Admin
parameter | Description | Values |
---|---|---|
success | true when successfull | true, false |
[edit] Error messages
...
[edit] Notes
...
[edit] Example
[edit] 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); ?>