diff options
Diffstat (limited to 'example/config/config.ini')
-rw-r--r-- | example/config/config.ini | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/example/config/config.ini b/example/config/config.ini new file mode 100644 index 0000000..99d3c96 --- /dev/null +++ b/example/config/config.ini | |||
@@ -0,0 +1,42 @@ | |||
1 | ; ** | ||
2 | ; * The Const section allows us to define some basic information that we | ||
3 | ; * will use throughout our configuration. We will provide examples for | ||
4 | ; * setting the base url of the Robust server and the public and private ports | ||
5 | ; * it uses. Changing the values of the constants will set the operating | ||
6 | ; * parameters thoughout the configuration. Other constants that may prove | ||
7 | ; * to be useful may be added to the followin section. They may be | ||
8 | ; * referenced anywhere in the configuration by using ${Const|Name}. One | ||
9 | ; * such use is providing a base path for setting locations that Robust | ||
10 | ; * uses to write data. | ||
11 | |||
12 | |||
13 | [Const] | ||
14 | MOTD = "Welcome to this virtual world." | ||
15 | |||
16 | AssetsPath = "../../AssetFiles" | ||
17 | CachePath = "../../caches" | ||
18 | ConfigPath = "../../config" | ||
19 | |||
20 | GridName = "My virtual world" | ||
21 | |||
22 | ; For a grid these will usually be the externally accessible IP/DNS | ||
23 | ; name and use default public port 8002 and default private port 8003 | ||
24 | ; For a standalone this will usually be the externally accessible IP/DNS | ||
25 | ; name and use default public port 9000. The private port is not used | ||
26 | ; in the configuration for a standalone. | ||
27 | |||
28 | ;# {BaseURL} {} {BaseURL} {"http://example.com" "http://127.0.0.1"} "http://127.0.0.1" | ||
29 | HostName = "localhost" | ||
30 | BaseURL = http://127.0.0.1 | ||
31 | GridURL = http://grid.infinitegrid.org | ||
32 | |||
33 | ;# {PublicPort} {} {PublicPort} {8002 9000} "8002" | ||
34 | PublicPort = "8002" | ||
35 | |||
36 | ;# {PrivatePort} {} {PrivatePort} {8003} "8003" | ||
37 | PrivatePort = "8003" | ||
38 | |||
39 | |||
40 | DataProvider = "OpenSim.Data.MySQL.dll" | ||
41 | ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" | ||
42 | |||