Remoteadmin:admin get agents

admin_get_agents get information about agents in a given region

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

Required Parameters
These parameters are required

Optional Parameters
These parameters are optional and do not need to be set

Returned Parameters
These parameters are returned by Remote Admin

Error messages
No error messages

Output
(   [regions] => Array        ( [0] => Array (                   [agents] => Array                        ( [0] => Array (                                   [lookat_y] => 0.04238708                                    [lookat_z] => 0                                    [is_sat_on_ground] => False                                    [type] => User                                    [current_parcel_uuid] => fc2f2820-7181-4a9f-8cba-f73d3e14f72e                                    [name] => John Joe                                    [uuid] => bb293b8c-4986-4ab4-844a-5d22639f2d75                                    [vel_y] => 0                                    [vel_z] => 0                                    [is_flying] => False                                    [is_sat_on_object] => False                                    [pos_x] => 134.6547                                    [pos_y] => 122.7092                                    [pos_z] => 25.27129                                    [vel_x] => 0 [lookat_x] => 0.9991013 )

)

[uuid] => 11111111-bf88-45ac-aace-35bd76426c81 [name] => test one )

)

[success] => 1 )

PHP 1
This example needs the RemoteAdmin PHP Class file available here.

PHP 2
= See Also =


 * Server Commands