diff options
author | Melanie Thielker | 2009-06-25 16:05:59 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-06-25 16:05:59 +0000 |
commit | 9e714b97842d66d799445239261dd195bda51c63 (patch) | |
tree | 84ae3901e8b8ebafae9068cef1b288c79098feb2 | |
parent | Allow the reading of ini files instead of xml files when reading region (diff) | |
download | opensim-SC_OLD-9e714b97842d66d799445239261dd195bda51c63.zip opensim-SC_OLD-9e714b97842d66d799445239261dd195bda51c63.tar.gz opensim-SC_OLD-9e714b97842d66d799445239261dd195bda51c63.tar.bz2 opensim-SC_OLD-9e714b97842d66d799445239261dd195bda51c63.tar.xz |
Add a comment and an example region config file
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 2 | ||||
-rw-r--r-- | bin/RegionConfig.ini.example | 47 |
2 files changed, 48 insertions, 1 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 2423097..6a264a6 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -427,7 +427,7 @@ namespace OpenSim.Framework | |||
427 | m_regionLocY = Convert.ToUInt32(locationElements[1]); | 427 | m_regionLocY = Convert.ToUInt32(locationElements[1]); |
428 | 428 | ||
429 | 429 | ||
430 | // Datastore | 430 | // Datastore (is this implemented? Omitted from example!) |
431 | // | 431 | // |
432 | DataStore = config.GetString("Datastore", String.Empty); | 432 | DataStore = config.GetString("Datastore", String.Empty); |
433 | 433 | ||
diff --git a/bin/RegionConfig.ini.example b/bin/RegionConfig.ini.example new file mode 100644 index 0000000..0404168 --- /dev/null +++ b/bin/RegionConfig.ini.example | |||
@@ -0,0 +1,47 @@ | |||
1 | ; * This file must be renamed to RegionConfig.ini and moved to the Regions/ | ||
2 | ; * subdirectory to work! | ||
3 | ; * | ||
4 | ; * You can put multiple regions into one file or make one file per region | ||
5 | ; * The section name is the region name | ||
6 | ; * | ||
7 | |||
8 | [Default Region] | ||
9 | |||
10 | ; * | ||
11 | ; * You MUST change this! It will NOT be done for you! | ||
12 | ; * | ||
13 | |||
14 | RegionUUID = "11111111-2222-3333-4444-555555555555" | ||
15 | |||
16 | Location = "1000,1000" | ||
17 | InternalAddress = "127.0.0.1" | ||
18 | InternalPort = 9000 | ||
19 | AllowAlternatePorts = False | ||
20 | ExternalHostName = "SYSTEMIP" | ||
21 | |||
22 | ; * | ||
23 | ; * Master avatar stuff. Set either a UUID (from OSGrid or your server) | ||
24 | ; * OR a first and last name. Password is only needed for sandbox mode | ||
25 | ; * The default assigns no master avatar | ||
26 | ; * | ||
27 | |||
28 | MasterAvatarUUID = "00000000-0000-0000-0000-000000000000" | ||
29 | ; MasterAvatarFirstName = "" | ||
30 | ; MasterAvatarLastName = "" | ||
31 | ; MasterAvatarSandboxPassword = "" | ||
32 | |||
33 | ; * | ||
34 | ; * Prim data | ||
35 | ; * This allows limiting the sizes of prims and the region prim count | ||
36 | ; * | ||
37 | |||
38 | ; NonphysicalPrimMax = 256 | ||
39 | ; PhysicalPrimMax = 10 | ||
40 | ; ClampPrimSize = False | ||
41 | ; MaxPrims = 15000 | ||
42 | |||
43 | ; * | ||
44 | ; * Multi-Tenancy. Only set if needed | ||
45 | ; * | ||
46 | |||
47 | ; ScopeID = "00000000-0000-0000-0000-000000000000" | ||