RemoteAdmin:admin create region

admin_create_region remotely allows to create a new regions and adds them to an estate. After creation the region is online and available in the map

Enabling admin create region
If not all functions are enabled, use admin_create_region 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
When an error occures the following error value are returned


 * cannot instantiate new region, server capacity {MAX REGION LIMIT} already reached; delete regions first
 * region {UUID} already in use by region {REGION NAME}, UUID {REGION UUID}
 * region name already in use by region {REGION NAME}, UUID {REGION UUID}
 * region location <{X},{Y}> already in use by region {REGION NAME}, UUID {REGION UUID}
 * region internal IP {IP} and port {PORT} already in use by {REGION NAME}, UUID {REGION UUID}
 * Invalid location for region file.
 * Specified user was not found.
 * Estate owner details not provided.
 * Failed to join estate.

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