RemoteAdmin:admin get opensim version

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "'''admin_get_opensim_version''' remotely allows to get simulator version. === Enabling admin_get_opensim_version=== If not all functions are enabled, use admin_get_opensim_ve...")
 
m (PHP: Fixed broken Google Code link, replacing with internal page)
 
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].
+
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_get_opensim_version remotely allows to get simulator version.

Contents

[edit] Enabling admin_get_opensim_version

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

enabled_methods = admin_get_opensim_version, ...

[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
version OpenSim Version version
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_dialog (multiple parameters)
$parameters = array('');
$myRemoteAdmin->SendCommand('admin_get_opensim_version', $parameters);
?>
Personal tools
General
About This Wiki