RemoteAdmin:admin dialog

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
If not all functions are enabled, use admin_dialog to enable the function in the [RemoteAdmin] section
 
If not all functions are enabled, use admin_dialog to enable the function in the [RemoteAdmin] section
 
<source lang="csharp">
 
<source lang="csharp">
enabled_methods = admin_dialog, ...
+
enabled_methods = admin_get_opensim_version, ...
 
</source>
 
</source>
  

Revision as of 02:11, 14 April 2017

admin_dialog remotely allows to send admin_dialog.

Contents

Enabling admin_get_opensim_version

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

enabled_methods = admin_get_opensim_version, ...

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
accepted true when successfull true, false
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_dialog (multiple parameters)
$parameters = array('message' => '<MESSAGE_HERE>', 'from' => '<UUID_HERE>');
$myRemoteAdmin->SendCommand('admin_dialog', $parameters);
?>
Personal tools
General
About This Wiki