RemoteAdmin:admin estate reload

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Notes)
m (PHP: Fixed broken Google Code link, replacing with internal page)
 
(2 intermediate revisions by 2 users not shown)
Line 54: Line 54:
 
== Example ==
 
== Example ==
 
=== PHP ===
 
=== PHP ===
 +
This example needs the RemoteAdmin PHP Class file available [[RemoteAdmin:RemoteAdmin_Class|here]].
 +
 
<source lang="php">
 
<source lang="php">
 
<?php
 
<?php
Line 68: Line 70:
 
</source>
 
</source>
  
[[RemoteAdmin]]
+
 
[[RemoteAdmin:Commands]]
+
 
 +
[[Category:RemoteAdmin]]
 +
[[Category:RemoteAdmin Commands]]

Latest revision as of 11:36, 16 March 2021

admin_estate_reload remotely allows to reload estate settings of all regions in the simulator. This can be used to update the estate settings if they have changed on another simulator or database.


Contents

[edit] Enabling admin_estate_reload

If not all functions are enabled, use admin_estate_reload to enable the function in the [RemoteAdmin] section

enabled_methods = admin_estate_reload,...


[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

No error messages


[edit] Notes

  • From commit 90f03c on Mon 6 May 2013 (OpenSimulator 0.7.5-dev)

[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 identical to the Python example above
$myRemoteAdmin = new RemoteAdmin('127.0.0.1', 9000, 'secret');
 
// Invoke admin_estate_reload
$myRemoteAdmin->SendCommand('admin_estate_reload', array());
?>
Personal tools
General
About This Wiki