aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example
diff options
context:
space:
mode:
authoronefang2019-05-28 06:19:38 +1000
committeronefang2019-05-28 06:19:38 +1000
commitf921cb712e67893b44496192e5297335ed65caf7 (patch)
treeb3b2782530414e23400f10ecc5b718682d2745b1 /example
parentManagement scripts encounters the real world, needs patching up. (diff)
downloadopensim-SC_OLD-f921cb712e67893b44496192e5297335ed65caf7.zip
opensim-SC_OLD-f921cb712e67893b44496192e5297335ed65caf7.tar.gz
opensim-SC_OLD-f921cb712e67893b44496192e5297335ed65caf7.tar.bz2
opensim-SC_OLD-f921cb712e67893b44496192e5297335ed65caf7.tar.xz
Add [Region] .ini block.
For including actual region definition in the normal .ini stack. Same as the usual Region.ini format, except we add a RegionName parameter.
Diffstat (limited to 'example')
-rw-r--r--example/config/sim_skeleton/My_sim.xml20
-rw-r--r--example/config/sim_skeleton/ThisSim.ini23
2 files changed, 20 insertions, 23 deletions
diff --git a/example/config/sim_skeleton/My_sim.xml b/example/config/sim_skeleton/My_sim.xml
deleted file mode 100644
index f71df57..0000000
--- a/example/config/sim_skeleton/My_sim.xml
+++ /dev/null
@@ -1,20 +0,0 @@
1<Nini>
2 <Section Name="SIM_NAME">
3 <Key Name="RegionUUID" Value="SIM_UUID" />
4 <Key Name="Location" Value="SIM_POS" />
5 <Key Name="InternalAddress" Value="SIM_IP" />
6 <Key Name="InternalPort" Value="SIM_INT_PORT" />
7 <Key Name="AllowAlternatePorts" Value="False" />
8 <Key Name="ExternalHostName" Value="SIM_URL" />
9 <Key Name="RegionType" Value="private sim" />
10 <Key Name="SizeX" Value="SIM_SIZE" />
11 <Key Name="SizeY" Value="SIM_SIZE" />
12 <Key Name="SizeZ" Value="16384" />
13 <Key Name="MaxAgents" Value="100" />
14 <Key Name="MaxPrims" Value="45000" />
15 <Key Name="PhysicalPrimMax" Value="640" />
16 <Key Name="NonphysicalPrimMax" Value="2560" />
17 <Key Name="ClampPrimSize" Value="False" />
18 <Key Name="MaptileStaticUUID" Value="00000000-0000-0000-0000-000000000000" />
19 </Section>
20</Nini>
diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini
index 140cf3b..a1a209a 100644
--- a/example/config/sim_skeleton/ThisSim.ini
+++ b/example/config/sim_skeleton/ThisSim.ini
@@ -5,7 +5,25 @@
5 PIDFile = "${Paths|CachePath}/sim${Const|mysim}.pid" 5 PIDFile = "${Paths|CachePath}/sim${Const|mysim}.pid"
6 LogFile = "${Paths|LogPath}/OpenSim_sim${Const|mysim}.log" 6 LogFile = "${Paths|LogPath}/OpenSim_sim${Const|mysim}.log"
7 ConsoleHistoryFile = "${Paths|LogPath}/OpenSimConsoleHistory_sim${Const|mysim}.txt" 7 ConsoleHistoryFile = "${Paths|LogPath}/OpenSimConsoleHistory_sim${Const|mysim}.txt"
8 regionload_regionsdir="../../config/sim${Const|mysim}" 8
9[Region]
10 RegionName = "SIM_NAME"
11 RegionUUID = "SIM_UUID"
12 Location = "SIM_POS"
13 InternalAddress = "SIM_IP"
14 InternalPort = "SIM_INT_PORT"
15 AllowAlternatePorts = False
16 ExternalHostName = "SIM_URL"
17 RegionType = "private sim"
18 SizeX = SIM_SIZE
19 SizeY = SIM_SIZE
20 SizeZ = 16384
21 MaxAgents = 100
22 MaxPrims = 45000
23 PhysicalPrimMax = 640
24 NonphysicalPrimMax = 2560
25 ClampPrimSize = False
26 MaptileStaticUUID = "00000000-0000-0000-0000-000000000000"
9 27
10[Map] 28[Map]
11 enablePosition = true 29 enablePosition = true
@@ -21,5 +39,4 @@
21 Include-Performance = "config-include/SimBalanced.ini" 39 Include-Performance = "config-include/SimBalanced.ini"
22 ; Include-Performance = "config-include/SimDefault.ini" 40 ; Include-Performance = "config-include/SimDefault.ini"
23 ; Include-Performance = "config-include/SimLean.ini" 41 ; Include-Performance = "config-include/SimLean.ini"
24 │ 2621 mysql 20 0 4131620 483696 17640 S 0.3 2.9 8:07.82 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --user=m+ 42
25 \ No newline at end of file