RemoteAdmin:admin get opensim version

From OpenSimulator

Revision as of 12:35, 16 March 2021 by JeffKelley (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

admin_get_opensim_version remotely allows to get simulator version.

Contents

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

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