http://opensimulator.org/index.php?title=RemoteAdmin:admin_get_agent_count&feed=atom&action=history
RemoteAdmin:admin get agent count - Revision history
2024-03-28T09:13:45Z
Revision history for this page on the wiki
MediaWiki 1.19.9
http://opensimulator.org/index.php?title=RemoteAdmin:admin_get_agent_count&diff=50615&oldid=prev
JeffKelley: /* PHP */ Fixed broken Google Code link, replacing with internal page
2021-03-16T19:34:56Z
<p><span dir="auto"><span class="autocomment">PHP: </span> Fixed broken Google Code link, replacing with internal page</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 19:34, 16 March 2021</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 54:</td>
<td colspan="2" class="diff-lineno">Line 54:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Example ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Example ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== PHP ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== PHP ===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>This example needs the RemoteAdmin PHP Class file available [<del class="diffchange diffchange-inline">http</del>:<del class="diffchange diffchange-inline">//code.google.com/p/opensimtools/wiki/RemoteAdminPHPClass </del>here].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>This example needs the RemoteAdmin PHP Class file available [<ins class="diffchange diffchange-inline">[RemoteAdmin</ins>:<ins class="diffchange diffchange-inline">RemoteAdmin_Class|</ins>here<ins class="diffchange diffchange-inline">]</ins>].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang="php"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang="php"></div></td></tr>
</table>
JeffKelley
http://opensimulator.org/index.php?title=RemoteAdmin:admin_get_agent_count&diff=46542&oldid=prev
Djphil: Created page with "'''admin_get_agent_count''' remotely allows to agent count. === Enabling admin_get_agent_count=== If not all functions are enabled, use admin_get_agent_count to enable the fu..."
2018-09-18T15:39:04Z
<p>Created page with "'''admin_get_agent_count''' remotely allows to agent count. === Enabling admin_get_agent_count=== If not all functions are enabled, use admin_get_agent_count to enable the fu..."</p>
<p><b>New page</b></p><div>'''admin_get_agent_count''' remotely allows to agent count.<br />
<br />
=== Enabling admin_get_agent_count===<br />
If not all functions are enabled, use admin_get_agent_count to enable the function in the [RemoteAdmin] section<br />
<source lang="csharp"><br />
enabled_methods = admin_get_agent_count, ...<br />
</source><br />
<br />
== Parameters ==<br />
=== Required Parameters ===<br />
No parameters are required<br />
{| cellspacing="0" cellpadding="4" border="1"<br />
|-<br />
! parameter<br />
! Description<br />
! Values<br />
|}<br />
<br />
=== Optional Parameters ===<br />
No optional parameter<br />
<br />
{| cellspacing="0" cellpadding="4" border="1"<br />
|-<br />
! parameter<br />
! Description<br />
! Values<br />
|}<br />
<br />
== Returned Parameters ==<br />
=== Returned Parameters ===<br />
These parameters are returned by Remote Admin<br />
<br />
{| cellspacing="0" cellpadding="4" border="1"<br />
|-<br />
! parameter<br />
! Description<br />
! Values<br />
|-<br />
| ''success''<br />
| true when successfull<br />
| true, false<br />
|-<br />
| ''count''<br />
| Agent count<br />
| number<br />
|}<br />
<br />
=== Error messages ===<br />
no region_name or region_id given<br />
<br />
== Notes ==<br />
...<br />
<br />
== Example ==<br />
=== PHP ===<br />
This example needs the RemoteAdmin PHP Class file available [http://code.google.com/p/opensimtools/wiki/RemoteAdminPHPClass here].<br />
<br />
<source lang="php"><br />
<?php<br />
// Including the RemoteAdmin PHP class.<br />
include('RemoteAdmin.php');<br />
// Instantiate the class with parameters<br />
$myRemoteAdmin = new RemoteAdmin('127.0.0.1', 9000, 'secret');<br />
// Invoke admin_get_agent_count (multiple parameters)<br />
$parameters = array('region_name' => '<REGION_NAME_HERE>', 'region_id' => '<REGION_ID_HERE>');<br />
$myRemoteAdmin->SendCommand('admin_get_agent_count', $parameters);<br />
?><br />
</source><br />
<br />
[[Category:RemoteAdmin]]<br />
[[Category:RemoteAdmin Commands]]</div>
Djphil