<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lillie</id>
		<title>OpenSimulator - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lillie"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Special:Contributions/Lillie"/>
		<updated>2026-04-23T19:17:48Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/wiki/Configuring_Regions</id>
		<title>Configuring Regions</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Configuring_Regions"/>
				<updated>2010-07-16T06:42:11Z</updated>
		
		<summary type="html">&lt;p&gt;Lillie: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages}}&lt;br /&gt;
==OpenSim 0.6.7 and later==&lt;br /&gt;
By default, regions in OpenSim 0.6.7 and later are configured in a file named Regions.ini in the bin/Regions directory.  If you started a completely fresh installation of OpenSim, it will ask you a series of questions to set up your first region.&lt;br /&gt;
 &lt;br /&gt;
Here's an example of a Regions.ini&lt;br /&gt;
 [http://www.superiorpapers.com/ research paper]&lt;br /&gt;
 [Big Fat Region]&lt;br /&gt;
 RegionUUID = 5ce85740-6460-43d3-ba4c-29207b010072&lt;br /&gt;
 Location = 1000,1000&lt;br /&gt;
 InternalAddress = 0.0.0.0&lt;br /&gt;
 InternalPort = 9000&lt;br /&gt;
 AllowAlternatePorts = False&lt;br /&gt;
 ExternalHostName = 192.168.1.2&lt;br /&gt;
 MasterAvatarFirstName = Justin&lt;br /&gt;
 MasterAvatarLastName = Clark-Casey&lt;br /&gt;
 MasterAvatarSandboxPassword = yeahokay&lt;br /&gt;
&lt;br /&gt;
This is the list describing the relation between the entries in Regions.ini and the questions during setup. For detail about each question, see [[Configuration#Running OpenSim for the first time]].&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; class=&amp;quot;sortable&amp;quot; width=&amp;quot;90%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Attribute&lt;br /&gt;
! Setup Console Question&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|[Big Fat Region]&lt;br /&gt;
|New region name&lt;br /&gt;
|The name of the region.&lt;br /&gt;
|-&lt;br /&gt;
|RegionUUID&lt;br /&gt;
|Region UUID&lt;br /&gt;
|The unique ID of the region.&lt;br /&gt;
|-&lt;br /&gt;
|Location&lt;br /&gt;
|Region Location&lt;br /&gt;
|The location of the region on the grid.&lt;br /&gt;
|-&lt;br /&gt;
|InternalAddress&lt;br /&gt;
|Internal IP address&lt;br /&gt;
|0.0.0.0 or static internal IP address.&lt;br /&gt;
|-&lt;br /&gt;
|InternalPort&lt;br /&gt;
|Internal port&lt;br /&gt;
|IP port for all incoming client connections.&lt;br /&gt;
|-&lt;br /&gt;
|AllowAlternatePorts&lt;br /&gt;
|Allow alternate ports&lt;br /&gt;
|Not Used. Leave it always False.&lt;br /&gt;
|-&lt;br /&gt;
|ExternalHostName&lt;br /&gt;
|External host name&lt;br /&gt;
|External IP Address of the router or FQDN.&lt;br /&gt;
|-&lt;br /&gt;
|MasterAvatarFirstName&lt;br /&gt;
|Master Avatar first name&lt;br /&gt;
|(0.6.9 or earlier) The first name of the master avatar.&lt;br /&gt;
|-&lt;br /&gt;
|MasterAvatarLastName&lt;br /&gt;
|Master Avatar last name&lt;br /&gt;
|(0.6.9 or earlier) The last name of the master avatar.&lt;br /&gt;
|-&lt;br /&gt;
|MasterAvatarSandboxPassword&lt;br /&gt;
|Master Avatar sandbox password&lt;br /&gt;
|(0.6.9 or earlier) The password of the master avatar.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you want to add another region you can &lt;br /&gt;
&lt;br /&gt;
* enter another section in Regions.ini&lt;br /&gt;
* create another separate .ini file in bin/Regions&lt;br /&gt;
* create an old format OpenSim xml file (these still work with OpenSim 0.6.7)&lt;br /&gt;
* or use the create region command on the region console (I don't recommend this since it seems to be a bit buggy in 0.6.7).&lt;br /&gt;
&lt;br /&gt;
Here's an example where a second region has been added to Regions.ini&lt;br /&gt;
&lt;br /&gt;
 [Big Fat Region]&lt;br /&gt;
 RegionUUID = 5ce85740-6460-43d3-ba4c-29207b010072&lt;br /&gt;
 Location = 1000,1000&lt;br /&gt;
 InternalAddress = 0.0.0.0&lt;br /&gt;
 InternalPort = 9000&lt;br /&gt;
 AllowAlternatePorts = False&lt;br /&gt;
 ExternalHostName = 192.168.1.2&lt;br /&gt;
 MasterAvatarFirstName = Justin&lt;br /&gt;
 MasterAvatarLastName = Clark-Casey&lt;br /&gt;
 MasterAvatarSandboxPassword = yeahokay&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 [Greek Wedding]&lt;br /&gt;
 RegionUUID = 5c445740-6460-43d3-ba4c-444444445555&lt;br /&gt;
 Location = 1000,1001&lt;br /&gt;
 InternalAddress = 0.0.0.0&lt;br /&gt;
 InternalPort = 9001&lt;br /&gt;
 AllowAlternatePorts = False&lt;br /&gt;
 ExternalHostName = 192.168.1.2&lt;br /&gt;
 MasterAvatarFirstName = Justin&lt;br /&gt;
 MasterAvatarLastName = Clark-Casey&lt;br /&gt;
 MasterAvatarSandboxPassword = yeahokay&lt;br /&gt;
&lt;br /&gt;
As you can see, the Second region is named Greek Wedding and has a different UUID.  It has a different location (1000,1001) and a different InternalPort (9001).  Other than that, the details are the same.&lt;br /&gt;
&lt;br /&gt;
To create a new UUID you can either tweak an existing one by hand (e.g. by changing one character so that the new one is in the range [0-9][A-F] or a generator can be found at [http://www.famkruithof.net/uuid/uuidgen uuidgen webpage].  On Unix, you can also use the &amp;lt;tt&amp;gt;uuidgen&amp;lt;/tt&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
==OpenSim 0.6.6 and earlier==&lt;br /&gt;
A powerful region generator is available at: [[RegionGenerator]]&lt;br /&gt;
&lt;br /&gt;
For running multiple regions on the same box, you simply make multiple copies of the 'default.xml' file inside the &amp;lt;tt&amp;gt;bin/Regions/&amp;lt;/tt&amp;gt; directory.  You can do this by typing &amp;lt;tt&amp;gt;create region&amp;lt;/tt&amp;gt; at the OpenSim command prompt, using the script &amp;lt;tt&amp;gt;make.php&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;share/regions&amp;lt;/tt&amp;gt;, or you can generate the files by hand.&lt;br /&gt;
&lt;br /&gt;
If you want to create the files by hand:&lt;br /&gt;
&lt;br /&gt;
:first copy the default.xml file in the &amp;lt;tt&amp;gt;bin/Regions&amp;lt;/tt&amp;gt; directory, and name them anything you want (I name mine region.x.y.xml, where region is the name of the region, and x and y are the grid coords.)&lt;br /&gt;
:Open each xml file and edit the uuid (a generator can be found at [http://www.famkruithof.net/uuid/uuidgen uuidgen webpage] or on unix, use the uuidgen command), region name, x &amp;amp; y positions, and internal IP port.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT!'''  Regardless of the method you use to create your new region, the UUID, name, and grid coordinates ''must'' be unique for each region on a grid.  The port assignment must be unique for each region that is running on a particular machine. The internal IP ''address'' and external host name must be the same for all regions.&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;tt&amp;gt;sim_location_x&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;sim_location_y&amp;lt;/tt&amp;gt; should be adjacent integers if you want your regions to be adjacent, so you can run back and forth between them.  '''IMPORTANT: THESE GRID COORDINATES ARE ''NOT'' IN METERS.  THEY ARE SIM POSITIONS.'''  (1000, 1000) is next to (1001,1000), (1000, 1001), and so forth.  1256, 2000, 2048 and similar values are '''not''' adjacent to 1000, they are very far away, so you would not see your sims from one another.&lt;br /&gt;
&lt;br /&gt;
Once you have 2 or more xml files in the bin/Regions folder, running a ''single'' copy of &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; will start up all of your sims! If you come across any errors, there is most likely an error in your xml files.&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration]]&lt;/div&gt;</summary>
		<author><name>Lillie</name></author>	</entry>

	</feed>