As per the suggestion on the mailing list, added support for a OpenSim.xml config file, instead of a ini file. INI files still work the same as they did before, just now if a ini file isn't found, it looks for a OpenSim.xml file (of course in xml format) and if found uses that.

Includes a OpenSim.Example.xml for reference (the default settings saved as a xml file).
This commit is contained in:
MW
2008-06-26 17:20:08 +00:00
parent 744b44dc8b
commit 682ec53420
11 changed files with 125 additions and 41 deletions

48
bin/OpenSim.Example.xml Normal file
View File

@@ -0,0 +1,48 @@
<Nini>
<Section Name="Startup">
<Key Name="gridmode" Value="False" />
<Key Name="physics" Value="basicphysics" />
<Key Name="physical_prim" Value="True" />
<Key Name="see_into_this_sim_from_neighbor" Value="True" />
<Key Name="serverside_object_permissions" Value="False" />
<Key Name="storage_plugin" Value="OpenSim.Data.SQLite.dll" />
<Key Name="storage_connection_string" Value="URI=file:OpenSim.db,version=3" />
<Key Name="storage_prim_inventories" Value="True" />
<Key Name="startup_console_commands_file" Value="" />
<Key Name="shutdown_console_commands_file" Value="" />
<Key Name="script_engine" Value="OpenSim.Region.ScriptEngine.DotNetEngine.dll" />
<Key Name="asset_database" Value="sqlite" />
<Key Name="clientstack_plugin" Value="OpenSim.Region.ClientStack.LindenUDP.dll" />
</Section>
<Section Name="StandAlone">
<Key Name="accounts_authenticate" Value="False" />
<Key Name="welcome_message" Value="Welcome to OpenSimulator" />
<Key Name="inventory_plugin" Value="OpenSim.Data.SQLite.dll" />
<Key Name="inventory_source" Value="" />
<Key Name="userDatabase_plugin" Value="OpenSim.Data.SQLite.dll" />
<Key Name="user_source" Value="" />
<Key Name="asset_plugin" Value="OpenSim.Data.SQLite.dll" />
<Key Name="asset_source" Value="" />
<Key Name="dump_assets_to_file" Value="False" />
</Section>
<Section Name="Network">
<Key Name="default_location_x" Value="1000" />
<Key Name="default_location_y" Value="1000" />
<Key Name="http_listener_port" Value="9000" />
<Key Name="remoting_listener_port" Value="8895" />
<Key Name="grid_server_url" Value="http://127.0.0.1:8001" />
<Key Name="grid_send_key" Value="null" />
<Key Name="grid_recv_key" Value="null" />
<Key Name="user_server_url" Value="http://127.0.0.1:8002" />
<Key Name="user_send_key" Value="null" />
<Key Name="user_recv_key" Value="null" />
<Key Name="asset_server_url" Value="http://127.0.0.1:8003" />
<Key Name="inventory_server_url" Value="http://127.0.0.1:8004" />
</Section>
<Section Name="RemoteAdmin">
<Key Name="enabled" Value="false" />
</Section>
<Section Name="Voice">
<Key Name="enabled" Value="false" />
</Section>
</Nini>