Re: OXPConfig
Posted: Thu Jun 04, 2015 12:33 pm
Ok, verified that name in the supported oxp list needs to be the this.name value of the main oxp script.
Version 2.34 released.
Version 2.34 released.
Code: Select all
// Methods
/* All methods described here can't be used until OXPC Server has completed it's own startup.
Either use any point after startUp (e.g. startUpComplete)
or call OxpC Server startUp explicitly like this :
if ( worldScripts["OXPC Server"].startUp() ) { worldScripts["OXPC Server"].startUp; };
All methods require an object as input and return an error code :
errorcode : 0 - ok , >0 - error (see "OXPC_Error.js" for details )
Register oxp with OXPC Server
worldScripts["OXPC Server"]._oxpc_register_set(oxp_data);
unregister oxp
worldScripts["OXPC Server"]._oxpc_unregister_set(oxp_data);
update oxp_data for registered oxp
worldScripts["OXPC Server"]._oxpc_update_set(oxp_data);
perform basic checks on oxp_data
worldScripts["OXPC Server"]._oxpc_check_set(oxp_data);
perform extensive checks on oxp_data, used in debug mode
worldScripts["OXPC Server"]._oxpc_verify_set(oxp_data);
*/