RemoteAdmin:admin estate reload

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Notes)
(PHP)
Line 54: Line 54:
 
== Example ==
 
== Example ==
 
=== PHP ===
 
=== PHP ===
 +
This example needs the RemoteAdmin PHP Class file available [http://code.google.com/p/opensimtools/wiki/RemoteAdminPHPClass here].
 +
 
<source lang="php">
 
<source lang="php">
 
<?php
 
<?php

Revision as of 16:04, 7 November 2013

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

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,...


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 error messages


Notes

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

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 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());
?>

RemoteAdmin RemoteAdmin:Commands

Personal tools
General
About This Wiki