RemoteAdmin:admin teleport agent

From OpenSimulator

Revision as of 09:38, 7 December 2011 by Justincc (Talk | contribs)

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

Example in Python

#!/usr/bin/python 
import xmlrpclib 
 
# XML-RPC URL (http_listener_port) 
simulatorURL = "http://127.0.0.1:5000"
 
# instantiate server object 
simulator = xmlrpclib.Server(simulatorURL) 
 
# invoke admin_alert: requires password and message 
simulator.admin_teleport_agent({'password':'secret', 'agent_first_name':'Lord','agent_last_name':'Lucan','region_name':'test', 'pos_x':'15', 'pos_y':'10'})
Personal tools
General
About This Wiki