diff options
author | onefang | 2019-05-19 22:57:26 +1000 |
---|---|---|
committer | onefang | 2019-05-19 22:57:26 +1000 |
commit | 5e27d15a1f8045de70e5b061dcda51b0e5555701 (patch) | |
tree | 75d3eb166bfeb37654237b5592aeda00d324295a /bin/config-include | |
parent | Build instructions ++ (diff) | |
download | opensim-SC_OLD-5e27d15a1f8045de70e5b061dcda51b0e5555701.zip opensim-SC_OLD-5e27d15a1f8045de70e5b061dcda51b0e5555701.tar.gz opensim-SC_OLD-5e27d15a1f8045de70e5b061dcda51b0e5555701.tar.bz2 opensim-SC_OLD-5e27d15a1f8045de70e5b061dcda51b0e5555701.tar.xz |
Major clean up of .ini files.
Sorry about the lack of details.
Diffstat (limited to 'bin/config-include')
-rw-r--r-- | bin/config-include/FlotsamCache.ini | 97 | ||||
-rw-r--r-- | bin/config-include/GridCommon.ini | 255 | ||||
-rw-r--r-- | bin/config-include/GridCommon.ini.example | 5 | ||||
-rw-r--r-- | bin/config-include/StandaloneCommon.ini | 401 | ||||
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 5 |
5 files changed, 761 insertions, 2 deletions
diff --git a/bin/config-include/FlotsamCache.ini b/bin/config-include/FlotsamCache.ini new file mode 100644 index 0000000..cf06d6c --- /dev/null +++ b/bin/config-include/FlotsamCache.ini | |||
@@ -0,0 +1,97 @@ | |||
1 | [AssetCache] | ||
2 | ;; | ||
3 | ;; Options for FlotsamAssetCache | ||
4 | ;; | ||
5 | |||
6 | ; cache directory can be shared by multiple instances | ||
7 | CacheDirectory = ${Paths|CachePath}/assetcache | ||
8 | ; Other examples: | ||
9 | ;CacheDirectory = /directory/writable/by/OpenSim/instance | ||
10 | |||
11 | ; Log level | ||
12 | ; 0 - (Error) Errors only | ||
13 | ; 1 - (Info) Hit Rate Stats + Level 0 | ||
14 | ; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1 | ||
15 | ; | ||
16 | LogLevel = 0 | ||
17 | |||
18 | ; How often should hit rates be displayed (given in AssetRequests) | ||
19 | ; 0 to disable | ||
20 | HitRateDisplay = 100 | ||
21 | |||
22 | ; Set to false for no memory cache | ||
23 | ; assets can be requested several times in short periods | ||
24 | ; so even a small memory cache is useful | ||
25 | MemoryCacheEnabled = false | ||
26 | |||
27 | ; If a memory cache hit happens, or the asset is still in memory | ||
28 | ; due to other causes, update the timestamp on the disk file anyway. | ||
29 | ; Don't turn this on unless you share your asset cache between simulators | ||
30 | ; AND use an external process, e.g. cron job, to clean it up. | ||
31 | UpdateFileTimeOnCacheHit = false | ||
32 | |||
33 | ; Enabling this will cache negative fetches. If an asset is negative-cached | ||
34 | ; it will not be re-requested from the asset server again for a while. | ||
35 | ; Generally, this is a good thing. | ||
36 | ; | ||
37 | ; Regular expiration settings (non-sliding) mean that the asset will be | ||
38 | ; retried after the time has expired. Sliding expiration means that | ||
39 | ; the time the negative cache will keep the asset is refreshed each | ||
40 | ; time a fetch is attempted. Use sliding expiration if you have rogue | ||
41 | ; scripts hammering the asset server with requests for nonexistent | ||
42 | ; assets. | ||
43 | ; | ||
44 | ; There are two cases where negative caching may cause issues: | ||
45 | ; | ||
46 | ; 1 - If an invalid asset is repeatedly requested by a script and that asset is | ||
47 | ; subsequently created, it will not be seen until fcache clear | ||
48 | ; is used. This is a very theoretical scenario since UUID collisions | ||
49 | ; are deemed to be not occuring in practice. | ||
50 | ; This can only become an issue with sliding expiration time. | ||
51 | ; | ||
52 | ; 2 - If the asset service is clustered, an asset may not have propagated | ||
53 | ; to all cluster members when it is first attempted to fetch it. | ||
54 | ; This may theoretically occur with networked vendor systems and | ||
55 | ; would lead to an asset not found message. However, after the | ||
56 | ; expiration time has elapsed, the asset will then be fetchable. | ||
57 | ; | ||
58 | ; The defaults below are suitable for all small to medium installations | ||
59 | ; including grids. | ||
60 | NegativeCacheEnabled = true | ||
61 | NegativeCacheTimeout = 120 | ||
62 | NegativeCacheSliding = false | ||
63 | |||
64 | ; Set to false for no file cache | ||
65 | FileCacheEnabled = true | ||
66 | |||
67 | ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes | ||
68 | ; even a few minutes may mean many assets loaded to memory, if not all. | ||
69 | ; this is good if memory is not a problem. | ||
70 | ; if memory is a problem then a few seconds may actually save same. | ||
71 | ; see hit rates with console comand: fcache status | ||
72 | MemoryCacheTimeout = .016 ; one minute | ||
73 | |||
74 | ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes | ||
75 | ; Specify 0 if you do not want your disk cache to expire | ||
76 | FileCacheTimeout = 48 | ||
77 | |||
78 | ; How often {in hours} should the disk be checked for expired files | ||
79 | ; Specify 0 to disable expiration checking | ||
80 | FileCleanupTimer = 0.0 ; disabled | ||
81 | |||
82 | ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how | ||
83 | ; long (in miliseconds) to block a request thread while trying to complete | ||
84 | ; an existing write to disk. | ||
85 | ; NOTE: THIS PARAMETER IS NOT CURRENTLY USED BY THE CACHE | ||
86 | ; WaitOnInprogressTimeout = 3000 | ||
87 | |||
88 | ; Number of tiers to use for cache directories (current valid | ||
89 | ; range 1 to 3) | ||
90 | ;CacheDirectoryTiers = 1 | ||
91 | |||
92 | ; Number of letters per path tier, 1 will create 16 directories | ||
93 | ; per tier, 2 - 256, 3 - 4096 and 4 - 65K | ||
94 | ;CacheDirectoryTierLength = 3 | ||
95 | |||
96 | ; Warning level for cache directory size | ||
97 | ;CacheWarnAt = 30000 | ||
diff --git a/bin/config-include/GridCommon.ini b/bin/config-include/GridCommon.ini new file mode 100644 index 0000000..8621651 --- /dev/null +++ b/bin/config-include/GridCommon.ini | |||
@@ -0,0 +1,255 @@ | |||
1 | ; This is the main configuration file for an instance of OpenSim running in grid mode | ||
2 | ; In particular, this one is set up for connecting to Infinite Grid. | ||
3 | |||
4 | [DatabaseService] | ||
5 | ; | ||
6 | ; ### Choose the DB | ||
7 | ; | ||
8 | |||
9 | ; SQLite | ||
10 | ; Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | ||
11 | |||
12 | ; MySql | ||
13 | ; Uncomment these lines if you want to use mysql storage | ||
14 | ; Change the connection string to your db details | ||
15 | ;StorageProvider = "OpenSim.Data.MySQL.dll" | ||
16 | ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
17 | ; Uncomment this line if you are using MySQL and want to use a different database for estates | ||
18 | ; The usual application for this is to allow estates to be spread out across multiple simulators by share the same database. | ||
19 | ; Most people won't need to do this so only uncomment if you know what you're doing. | ||
20 | ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
21 | |||
22 | ; MSSQL | ||
23 | ; Uncomment these lines if you want to use MSSQL storage | ||
24 | ; Change the connection string to your db details | ||
25 | ; The value for server property is shown in your SQL Server Management Studio login dialog. | ||
26 | ; (This sample is the default of express edition) | ||
27 | ;StorageProvider = "OpenSim.Data.MSSQL.dll" | ||
28 | ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" | ||
29 | |||
30 | ; PGSQL | ||
31 | ; Uncomment these lines if you want to use PGSQL storage | ||
32 | ; Change the connection string to your db details | ||
33 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | ||
34 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | ||
35 | |||
36 | StorageProvider = "${Const|DataProvider}" | ||
37 | ConnectionString = "${Const|ConnectionString}" | ||
38 | |||
39 | |||
40 | [Hypergrid] | ||
41 | ; Uncomment the variables in this section only if you are in | ||
42 | ; Hypergrid configuration. Otherwise, ignore. | ||
43 | |||
44 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | ||
45 | ;; If this is a standalone world, this is the address of this instance. | ||
46 | ;; If this is a grided simulator, this is the address of the external robust server that | ||
47 | ;; runs the UserAgentsService. | ||
48 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
49 | ;; This is a default that can be overwritten in some sections. | ||
50 | HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
51 | |||
52 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | ||
53 | ;; If this is a standalone world, this is the address of this instance. | ||
54 | ;; If this is a grided simulator, this is the address of the external robust server | ||
55 | ;; that runs the Gatekeeper service. | ||
56 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
57 | ;; This is a default that can be overwritten in some sections. | ||
58 | GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
59 | |||
60 | [Modules] | ||
61 | ;; Choose one cache module and the corresponding config file, if it exists. | ||
62 | ;; Copy the config .example file into your own .ini file and adapt that. | ||
63 | ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. | ||
64 | ; I think only Windows needs caching, haven't noticed any difference under Linux, which uses spare memory for file caching anyway. | ||
65 | |||
66 | AssetCaching = "FlotsamAssetCache" | ||
67 | Include-FlotsamCache = "config-include/FlotsamCache.ini" | ||
68 | |||
69 | ;AssetCaching = "CenomeMemoryAssetCache" | ||
70 | ;Include-CenomeCache = "config-include/CenomeCache.ini" | ||
71 | |||
72 | ;AssetCaching = "GlynnTuckerAssetCache" | ||
73 | |||
74 | ;; Optionally, the port for the LLProxyLoginModule module can be changed | ||
75 | ;Setup_LLProxyLoginModule = "9090/" | ||
76 | |||
77 | ;; Authorization is not on by default, as it depends on external php | ||
78 | ;AuthorizationServices = "RemoteAuthorizationServicesConnector" | ||
79 | |||
80 | [AssetService] | ||
81 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
82 | AssetLoaderArgs = "assets/AssetSets.xml" | ||
83 | |||
84 | ; | ||
85 | ; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses. | ||
86 | ; | ||
87 | AssetServerURI = "${Const|BaseURL}:${Const|AssetServerPort}" | ||
88 | |||
89 | [InventoryService] | ||
90 | ; | ||
91 | ; Change this to your grid-wide inventory server | ||
92 | ; | ||
93 | InventoryServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
94 | ;MaxRetries = 0 | ||
95 | |||
96 | [GridInfo] | ||
97 | ; | ||
98 | ; Change this to your grid info service | ||
99 | ; | ||
100 | GridInfoURI = "${Const|GridURL}:${Const|PublicPort}" | ||
101 | |||
102 | [GridService] | ||
103 | ; | ||
104 | ; Change this to your grid-wide grid server | ||
105 | ; | ||
106 | GridServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
107 | AllowHypergridMapSearch = true | ||
108 | |||
109 | ;; Directory for map tile images of linked regions | ||
110 | MapTileDirectory = "${Paths|CachePath}/maptiles" | ||
111 | |||
112 | ; === HG ONLY === | ||
113 | ;; Change this to the address of your Gatekeeper service | ||
114 | ;; (usually bundled with the rest of the services in one | ||
115 | ;; Robust server in port ${Const|PublicPort}, but not always) | ||
116 | Gatekeeper="${Const|GridURL}:${Const|PublicPort}" | ||
117 | |||
118 | [EstateDataStore] | ||
119 | ; | ||
120 | ; Uncomment if you want centralized estate data at robust server, | ||
121 | ; in which case the URL in [EstateService] will be used | ||
122 | ; | ||
123 | ;LocalServiceModule = "OpenSim.Services.Connectors.dll:EstateDataRemoteConnector" | ||
124 | |||
125 | [EstateService] | ||
126 | EstateServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
127 | |||
128 | [Messaging] | ||
129 | ; === HG ONLY === | ||
130 | ;; Change this to the address of your Gatekeeper service | ||
131 | ;; (usually bundled with the rest of the services in one | ||
132 | ;; Robust server in port ${Const|PublicPort}, but not always) | ||
133 | Gatekeeper = "${Const|GridURL}:${Const|PublicPort}" | ||
134 | |||
135 | [AvatarService] | ||
136 | ; | ||
137 | ; Change this to your grid-wide grid server | ||
138 | ; | ||
139 | AvatarServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
140 | |||
141 | [AgentPreferencesService] | ||
142 | ; | ||
143 | ; Change this to your grid-wide avatar prefs server | ||
144 | ; | ||
145 | AgentPreferencesServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
146 | |||
147 | [PresenceService] | ||
148 | ; | ||
149 | ; Change this to your grid-wide presence server | ||
150 | ; | ||
151 | PresenceServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
152 | |||
153 | [UserAccountService] | ||
154 | ; | ||
155 | ; Change this to your grid-wide user accounts server | ||
156 | ; | ||
157 | UserAccountServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
158 | |||
159 | [GridUserService] | ||
160 | ; | ||
161 | ; Change this to your grid-wide user accounts server | ||
162 | ; | ||
163 | GridUserServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
164 | |||
165 | [AuthenticationService] | ||
166 | ; | ||
167 | ; Change this to your grid-wide authentication server | ||
168 | ; | ||
169 | AuthenticationServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
170 | |||
171 | [FriendsService] | ||
172 | ; | ||
173 | ; Change this to your grid-wide friends server | ||
174 | ; | ||
175 | FriendsServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
176 | |||
177 | [HGInventoryAccessModule] | ||
178 | ; | ||
179 | ; === HG ONLY === | ||
180 | ; Change this to your server | ||
181 | ; accessible from other grids | ||
182 | ; | ||
183 | HomeURI = "${Const|GridURL}:${Const|PublicPort}" | ||
184 | Gatekeeper = "${Const|GridURL}:${Const|PublicPort}" | ||
185 | ;; If you want to protect your assets from being copied by foreign visitors | ||
186 | ;; set this to false. You may want to do this on sims that have licensed content. | ||
187 | ;; Default is true. | ||
188 | OutboundPermission = True | ||
189 | |||
190 | ;; Send visual reminder to local users that their inventories are unavailable while they are traveling | ||
191 | ;; and available when they return. True by default. | ||
192 | ;RestrictInventoryAccessAbroad = True | ||
193 | |||
194 | ;; Warning: advanced and unusual. Default is false. | ||
195 | ;; Enables configurations where grids share user services, including inventory, | ||
196 | ;; while separating regions' assets from users' assets. Asset transfer between | ||
197 | ;; the users' asset server and the regions' asset server is done in HG-like manner. | ||
198 | ; CheckSeparateAssets = false | ||
199 | ; RegionHGAssetServerURI = ${Const|GridURL}:${Const|PublicPort} | ||
200 | |||
201 | |||
202 | [HGAssetService] | ||
203 | ; | ||
204 | ; === HG ONLY === | ||
205 | ; Change this to your server | ||
206 | ; accessible from other grids | ||
207 | ; | ||
208 | HomeURI = "${Const|GridURL}:${Const|PublicPort}" | ||
209 | |||
210 | ;; The asset types that this grid can export to / import from other grids. | ||
211 | ;; Comma separated. | ||
212 | ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: | ||
213 | ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, | ||
214 | ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh | ||
215 | ;; | ||
216 | ;; Leave blank or commented if you don't want to apply any restrictions. | ||
217 | ;; A more strict, but still reasonable, policy may be to disallow the exchange | ||
218 | ;; of scripts, like so: | ||
219 | ; DisallowExport ="LSLText" | ||
220 | ; DisallowImport ="LSLBytecode" | ||
221 | |||
222 | [HGFriendsModule] | ||
223 | ; User level required to be able to send friendship invitations to foreign users | ||
224 | LevelHGFriends = 0; | ||
225 | |||
226 | [UserAgentService] | ||
227 | ; | ||
228 | ; === HG ONLY === | ||
229 | ; Change this to your user agent server (HG robust) | ||
230 | ; | ||
231 | UserAgentServerURI = "${Const|GridURL}:${Const|PublicPort}" | ||
232 | |||
233 | [MapImageService] | ||
234 | MapImageServerURI = "${Const|GridURL}:${Const|PrivatePort}" | ||
235 | |||
236 | [AuthorizationService] | ||
237 | ; If you have regions with access restrictions | ||
238 | ; specify them here using the convention | ||
239 | ; Region_<Region_Name> = <flags> | ||
240 | ; Valid flags are: | ||
241 | ; DisallowForeigners -- HG visitors not allowed | ||
242 | ; DisallowResidents -- only Admins and Managers allowed | ||
243 | ; Example: | ||
244 | ; Region_Test_1 = "DisallowForeigners" | ||
245 | |||
246 | ;; Uncomment if you are using SimianGrid for grid services | ||
247 | [SimianGrid] | ||
248 | ;; SimianGrid services URL | ||
249 | ;; SimianServiceURL = "http://grid.sciencesim.com/Grid/" | ||
250 | |||
251 | ;; Capability assigned by the grid administrator for the simulator | ||
252 | ;; SimulatorCapability = "00000000-0000-0000-0000-000000000000" | ||
253 | |||
254 | [MuteListService] | ||
255 | MuteListServerURI = "${Const|BaseURL}:${Const|PrivatePort}" | ||
diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index e93ce3c..5406295 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example | |||
@@ -6,7 +6,7 @@ | |||
6 | ; | 6 | ; |
7 | 7 | ||
8 | ; SQLite | 8 | ; SQLite |
9 | Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | 9 | ; Include-Storage = "config-include/storage/SQLiteStandalone.ini"; |
10 | 10 | ||
11 | ; MySql | 11 | ; MySql |
12 | ; Uncomment these lines if you want to use mysql storage | 12 | ; Uncomment these lines if you want to use mysql storage |
@@ -32,6 +32,9 @@ | |||
32 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | 32 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" |
33 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | 33 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" |
34 | 34 | ||
35 | StorageProvider = "${Const|DataProvider}" | ||
36 | ConnectionString = "${Const|ConnectionString}" | ||
37 | |||
35 | [Hypergrid] | 38 | [Hypergrid] |
36 | ; Uncomment the variables in this section only if you are in | 39 | ; Uncomment the variables in this section only if you are in |
37 | ; Hypergrid configuration. Otherwise, ignore. | 40 | ; Hypergrid configuration. Otherwise, ignore. |
diff --git a/bin/config-include/StandaloneCommon.ini b/bin/config-include/StandaloneCommon.ini new file mode 100644 index 0000000..1db62c8 --- /dev/null +++ b/bin/config-include/StandaloneCommon.ini | |||
@@ -0,0 +1,401 @@ | |||
1 | ; This is the main configuration file for an instance of OpenSim running in standalone mode | ||
2 | |||
3 | [DatabaseService] | ||
4 | ; | ||
5 | ; ### Choose the DB | ||
6 | ; | ||
7 | |||
8 | ; SQLite | ||
9 | ; Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | ||
10 | |||
11 | ; MySql | ||
12 | ; Uncomment these lines if you want to use mysql storage | ||
13 | ; Change the connection string to your db details | ||
14 | ;StorageProvider = "OpenSim.Data.MySQL.dll" | ||
15 | ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
16 | |||
17 | ; Uncomment this line if you are using MySQL and want to use a different database for estates. | ||
18 | ; The usual application for this is to allow estates to be spread out across multiple simulators by share the same database. | ||
19 | ; Most people won't need to do this so only uncomment if you know what you're doing. | ||
20 | ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
21 | |||
22 | ; MSSQL | ||
23 | ; Uncomment these lines if you want to use MSSQL storage | ||
24 | ; Change the connection string to your db details | ||
25 | ; The value for server property is shown in your SQL Server Management Studio login dialog. | ||
26 | ; (This sample is the default of express edition) | ||
27 | ;StorageProvider = "OpenSim.Data.MSSQL.dll" | ||
28 | ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" | ||
29 | |||
30 | ; PGSQL | ||
31 | ; Uncomment these lines if you want to use PGSQL storage | ||
32 | ; Change the connection string to your db details | ||
33 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | ||
34 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | ||
35 | |||
36 | StorageProvider = "${Const|DataProvider}" | ||
37 | ConnectionString = "${Const|ConnectionString}" | ||
38 | |||
39 | [Hypergrid] | ||
40 | ; Uncomment the variables in this section only if you are in | ||
41 | ; Hypergrid configuration. Otherwise, ignore. | ||
42 | |||
43 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | ||
44 | ;; If this is a standalone world, this is the address of this instance. | ||
45 | ;; If this is a grided simulator, this is the address of the external robust server that | ||
46 | ;; runs the UserAgentsService. | ||
47 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
48 | ;; This is a default that can be overwritten in some sections. | ||
49 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
50 | |||
51 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | ||
52 | ;; If this is a standalone world, this is the address of this instance. | ||
53 | ;; If this is a grided simulator, this is the address of the external robust server | ||
54 | ;; that runs the Gatekeeper service. | ||
55 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
56 | ;; This is a default that can be overwritten in some sections. | ||
57 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
58 | |||
59 | [Modules] | ||
60 | ;; Choose one cache module and the corresponding config file, if it exists. | ||
61 | ;; Copy the config .example file into your own .ini file and alter that | ||
62 | ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. | ||
63 | |||
64 | AssetCaching = "FlotsamAssetCache" | ||
65 | Include-FlotsamCache = "config-include/FlotsamCache.ini" | ||
66 | |||
67 | ;AssetCaching = "CenomeMemoryAssetCache" | ||
68 | ;Include-CenomeCache = "config-include/CenomeCache.ini" | ||
69 | |||
70 | ;AssetCaching = "GlynnTuckerAssetCache" | ||
71 | |||
72 | ;; Authorization is not on by default, as it depends on external php | ||
73 | ;AuthorizationServices = "LocalAuthorizationServicesConnector" | ||
74 | |||
75 | [AssetService] | ||
76 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
77 | AssetLoaderArgs = "assets/AssetSets.xml" | ||
78 | |||
79 | [GridService] | ||
80 | ;; For in-memory region storage (default) | ||
81 | StorageProvider = "OpenSim.Data.Null.dll:NullRegionData" | ||
82 | ;;--- For MySql region storage (alternative) | ||
83 | ;StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData" | ||
84 | |||
85 | ;; Directory for map tile images of remote regions | ||
86 | ; MapTileDirectory = "./maptiles" | ||
87 | |||
88 | ;; Next, we can specify properties of regions, including default and fallback regions | ||
89 | ;; The syntax is: Region_<RegionName> = "<flags>" | ||
90 | ;; where <flags> can be DefaultRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut | ||
91 | ;; | ||
92 | ;; DefaultRegion If a local login cannot be placed in the required region (e.g. home region does not exist, avatar is not allowed entry, etc.) | ||
93 | ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion | ||
94 | ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified | ||
95 | ;; an explicit region. | ||
96 | ;; | ||
97 | ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online | ||
98 | ;; region will be used. | ||
99 | ;; | ||
100 | ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the | ||
101 | ;; order specified. This only applies to local logins at this time, not Hypergrid connections. | ||
102 | ;; | ||
103 | ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins. | ||
104 | ;; | ||
105 | ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid. | ||
106 | ;; | ||
107 | ;; For example: | ||
108 | Region_Welcome_Area = "DefaultRegion, FallbackRegion" | ||
109 | |||
110 | ;; Allow supporting viewers to export content | ||
111 | ;; Set to false to prevent export | ||
112 | ExportSupported = true | ||
113 | |||
114 | ; === HG ONLY === | ||
115 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
116 | ; GatekeeperURI="${Const|BaseURL}:${Const|PublicPort}" | ||
117 | |||
118 | [LibraryModule] | ||
119 | ; Set this if you want to change the name of the OpenSim Library | ||
120 | ;LibraryName = "My World's Library" | ||
121 | |||
122 | [LoginService] | ||
123 | WelcomeMessage = "Welcome, Avatar!" | ||
124 | ;; If you have Gatekeeper set under [Hypergrid], no need to set it here, leave it commented | ||
125 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
126 | |||
127 | SRV_HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
128 | SRV_InventoryServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
129 | SRV_AssetServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
130 | SRV_ProfileServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
131 | SRV_FriendsServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
132 | SRV_IMServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
133 | |||
134 | ;; For Viewer 2 | ||
135 | MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/" | ||
136 | |||
137 | ; Url to search service | ||
138 | ; SearchURL = "${Const|BaseURL}:${Const|PublicPort}"; | ||
139 | |||
140 | ; For V3 destination guide | ||
141 | ; DestinationGuide = "${Const|BaseURL}/guide" | ||
142 | |||
143 | ; The minimum user level required for a user to be able to login. 0 by default | ||
144 | ; If you disable a particular user's account then you can set their login level below this number. | ||
145 | ; You can also change this level from the console though these changes will not be persisted. | ||
146 | ; MinLoginLevel = 0 | ||
147 | |||
148 | ;; Ask co-operative viewers to use a different currency name | ||
149 | ;Currency = "" | ||
150 | |||
151 | ;; Set minimum fee to publish classified | ||
152 | ; ClassifiedFee = 0 | ||
153 | |||
154 | ; Basic Login Service Dos Protection Tweaks | ||
155 | ; ; | ||
156 | ; ; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true | ||
157 | ; ; If you set this to true and you don't have a transparent proxy, it may allow attackers to put random things in the X-Forwarded-For header to | ||
158 | ; ; get around this basic DOS protection. | ||
159 | ; DOSAllowXForwardedForHeader = false | ||
160 | ; ; | ||
161 | ; ; The protector adds up requests during this rolling period of time, default 10 seconds | ||
162 | ; DOSRequestTimeFrameMS = 10000 | ||
163 | ; ; | ||
164 | ; ; The amount of requests in the above timeframe from the same endpoint that triggers protection | ||
165 | ; DOSMaxRequestsInTimeFrame = 5 | ||
166 | ; ; | ||
167 | ; ; The amount of time that a specific endpoint is blocked. Default 2 minutes. | ||
168 | ; DOSForgiveClientAfterMS = 120000 | ||
169 | ; ; | ||
170 | ; ; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0. | ||
171 | |||
172 | [FreeswitchService] | ||
173 | ;; If FreeSWITCH is not being used then you don't need to set any of these parameters | ||
174 | ;; | ||
175 | ;; The IP address of your FreeSWITCH server. The common case is for this to be the same as the server running the OpenSim standalone | ||
176 | ;; This has to be set for the FreeSWITCH service to work | ||
177 | ;; This address must be reachable by viewers. | ||
178 | ;ServerAddress = 127.0.0.1 | ||
179 | |||
180 | ;; The following configuration parameters are optional | ||
181 | |||
182 | ;; By default, this is the same as the ServerAddress | ||
183 | ; Realm = 127.0.0.1 | ||
184 | |||
185 | ;; By default, this is the same as the ServerAddress on port 5060 | ||
186 | ; SIPProxy = 127.0.0.1:5060 | ||
187 | |||
188 | ;; Default is 5000ms | ||
189 | ; DefaultTimeout = 5000 | ||
190 | |||
191 | ;; The dial plan context. Default is "default" | ||
192 | ; Context = default | ||
193 | |||
194 | ;; Currently unused | ||
195 | ; UserName = freeswitch | ||
196 | |||
197 | ;; Currently unused | ||
198 | ; Password = password | ||
199 | |||
200 | ;; The following parameters are for STUN = Simple Traversal of UDP through NATs | ||
201 | ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal | ||
202 | ;; stun.freeswitch.org is not guaranteed to be running so use it in | ||
203 | ;; production at your own risk | ||
204 | ; EchoServer = 127.0.0.1 | ||
205 | ; EchoPort = 50505 | ||
206 | ; AttemptSTUN = false | ||
207 | |||
208 | [GridInfoService] | ||
209 | ; These settings are used to return information on a get_grid_info call. | ||
210 | ; Client launcher scripts and third-party clients make use of this to | ||
211 | ; autoconfigure the client and to provide a nice user experience. If you | ||
212 | ; want to facilitate that, you should configure the settings here according | ||
213 | ; to your grid or standalone setup. | ||
214 | ; | ||
215 | ; See http://opensimulator.org/wiki/GridInfo | ||
216 | |||
217 | ; login uri: for grid this is the login server URI | ||
218 | login = ${Const|BaseURL}:${Const|PublicPort}/ | ||
219 | |||
220 | ; long grid name: the long name of your grid | ||
221 | gridname = "the lost continent of hippo" | ||
222 | |||
223 | ; short grid name: the short name of your grid | ||
224 | gridnick = "hippogrid" | ||
225 | |||
226 | ; login page: optional: if it exists it will be used to tell the client to use | ||
227 | ; this as splash page. May also be served from an external web server, e.g. for | ||
228 | ; information on a standalone | ||
229 | ;welcome = ${Const|BaseURL}/welcome | ||
230 | |||
231 | ; helper uri: optional: if it exists it will be used to tell the client to use | ||
232 | ; this for all economy related things | ||
233 | ;economy = ${Const|BaseURL}/economy | ||
234 | |||
235 | ; web page of grid: optional: page providing further information about your grid | ||
236 | ;about = ${Const|BaseURL}/about | ||
237 | |||
238 | ; account creation: optional: page providing further information about obtaining | ||
239 | ; a user account on your grid | ||
240 | ;register = ${Const|BaseURL}/register | ||
241 | |||
242 | ; help: optional: page providing further assistance for users of your grid | ||
243 | ;help = ${Const|BaseURL}/help | ||
244 | |||
245 | ; password help: optional: page providing password assistance for users of your grid | ||
246 | ;password = ${Const|BaseURL}/password | ||
247 | |||
248 | ; HG address of the gatekeeper, if you have one | ||
249 | ; this is the entry point for all the regions of the world | ||
250 | ; gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/ | ||
251 | |||
252 | ; HG user domain, if you have one | ||
253 | ; this is the entry point for all user-related HG services | ||
254 | ; uas = ${Const|BaseURL}:${Const|PublicPort}/ | ||
255 | |||
256 | [MapImageService] | ||
257 | ; Set this if you want to change the default | ||
258 | ; TilesStoragePath = "maptiles" | ||
259 | |||
260 | [AuthorizationService] | ||
261 | ; If you have regions with access restrictions | ||
262 | ; specify them here using the convention | ||
263 | ; Region_<Region_Name> = <flags> | ||
264 | ; Valid flags are: | ||
265 | ; DisallowForeigners -- HG visitors not allowed | ||
266 | ; DisallowResidents -- only Admins and Managers allowed | ||
267 | ; Example: | ||
268 | ; Region_Test_1 = "DisallowForeigners" | ||
269 | |||
270 | ;; | ||
271 | ;; HG configurations | ||
272 | ;; | ||
273 | [GatekeeperService] | ||
274 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented | ||
275 | ; ExternalName = "${Const|BaseURL}:${Const|PublicPort}" | ||
276 | |||
277 | ; Does this grid allow incoming links to any region in it? | ||
278 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section | ||
279 | AllowTeleportsToAnyRegion = true | ||
280 | |||
281 | ;; Regular expressions for controlling which client versions are accepted/denied. | ||
282 | ;; An empty string means nothing is checked. | ||
283 | ;; | ||
284 | ;; Example 1: allow only these 3 types of clients (any version of them) | ||
285 | ;; AllowedClients = "Imprudence|Hippo|Second Life" | ||
286 | ;; | ||
287 | ;; Example 2: allow all clients except these | ||
288 | ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" | ||
289 | ;; | ||
290 | ;; Note that these are regular expressions, so every character counts. | ||
291 | ;; Also note that this is very weak security and should not be trusted as a reliable means | ||
292 | ;; for keeping bad clients out; modified clients can fake their identifiers. | ||
293 | ;; | ||
294 | ;; | ||
295 | ;AllowedClients = "" | ||
296 | ;DeniedClients = "" | ||
297 | |||
298 | ;; Are foreign visitors allowed? | ||
299 | ;ForeignAgentsAllowed = true | ||
300 | ;; | ||
301 | ;; If ForeignAgentsAllowed is true, make exceptions using AllowExcept. | ||
302 | ;; Leave blank or commented for no exceptions. | ||
303 | ; AllowExcept = "http://griefer.com:8002, http://enemy.com:8002" | ||
304 | ;; | ||
305 | ;; If ForeignAgentsAllowed is false, make exceptions using DisallowExcept | ||
306 | ;; Leave blank or commented for no exceptions. | ||
307 | ; DisallowExcept = "http://myfriendgrid.com:8002, http://myboss.com:8002" | ||
308 | |||
309 | [UserAgentService] | ||
310 | ;; User level required to be contacted from other grids | ||
311 | ;LevelOutsideContacts = 0 | ||
312 | |||
313 | ;; Restrictions on destinations of local users. | ||
314 | ;; Are local users allowed to visit other grids? | ||
315 | ;; What user level? Use variables of this forrm: | ||
316 | ;; ForeignTripsAllowed_Level_<UserLevel> = true | false | ||
317 | ;; (the default is true) | ||
318 | ;; For example: | ||
319 | ; ForeignTripsAllowed_Level_0 = false | ||
320 | ; ForeignTripsAllowed_Level_200 = true ; true is default, no need to say it | ||
321 | ;; | ||
322 | ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept | ||
323 | ;; Leave blank or commented for no exceptions. | ||
324 | ; DisallowExcept_Level_0 = "http://myothergrid.com:8002, http://boss.com:8002" | ||
325 | ;; | ||
326 | ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept. | ||
327 | ;; Leave blank or commented for no exceptions. | ||
328 | ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002" | ||
329 | |||
330 | ;; This variable controls what is exposed to profiles of local users | ||
331 | ;; as seen from outside of this grid. Leave it uncommented for exposing | ||
332 | ;; UserTitle, UserFlags and the creation date. Uncomment and change to False | ||
333 | ;; to block this info from being exposed. | ||
334 | ; ShowUserDetailsInHGProfile = True | ||
335 | |||
336 | [HGInventoryService] | ||
337 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
338 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
339 | |||
340 | [HGAssetService] | ||
341 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
342 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
343 | |||
344 | ;; The asset types that this grid can export to / import from other grids. | ||
345 | ;; Comma separated. | ||
346 | ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: | ||
347 | ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, | ||
348 | ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh | ||
349 | ;; | ||
350 | ;; Leave blank or commented if you don't want to apply any restrictions. | ||
351 | ;; A more strict, but still reasonable, policy may be to disallow the exchange | ||
352 | ;; of scripts, like so: | ||
353 | ; DisallowExport ="LSLText" | ||
354 | ; DisallowImport ="LSLBytecode" | ||
355 | |||
356 | [HGInventoryAccessModule] | ||
357 | ;; If you have these set under [Hypergrid], no need to set it here, leave it commented | ||
358 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
359 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
360 | |||
361 | ;; If you want to protect your assets from being copied by foreign visitors | ||
362 | ;; uncomment the next line. You may want to do this on sims that have licensed content. | ||
363 | ;; true = allow exports, false = disallow exports. True by default. | ||
364 | ; OutboundPermission = True | ||
365 | |||
366 | ;; Send visual reminder to local users that their inventories are unavailable while they are traveling | ||
367 | ;; and available when they return. True by default. | ||
368 | ;RestrictInventoryAccessAbroad = True | ||
369 | |||
370 | [HGFriendsModule] | ||
371 | ; User level required to be able to send friendship invitations to foreign users | ||
372 | ;LevelHGFriends = 0; | ||
373 | |||
374 | [Messaging] | ||
375 | ; === HG ONLY === | ||
376 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
377 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
378 | |||
379 | [EntityTransfer] | ||
380 | ;; User level from which local users are allowed to HG teleport. Default 0 (all users) | ||
381 | ;LevelHGTeleport = 0 | ||
382 | |||
383 | ;; Are local users restricted from taking their appearance abroad? | ||
384 | ;; Default is no restrictions | ||
385 | ;RestrictAppearanceAbroad = false | ||
386 | |||
387 | ;; If appearance is restricted, which accounts' appearances are allowed to be exported? | ||
388 | ;; Comma-separated list of account names | ||
389 | AccountForAppearance = "Test User, Astronaut Smith" | ||
390 | |||
391 | [UserProfilesService] | ||
392 | ;; To use, set Enabled to true then configure for your site... | ||
393 | Enabled = false | ||
394 | LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService" | ||
395 | |||
396 | ;; Configure this for separate databse | ||
397 | ; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
398 | ; Realm = UserProfiles | ||
399 | |||
400 | UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService | ||
401 | AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index 8931557..53f0da2 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -6,7 +6,7 @@ | |||
6 | ; | 6 | ; |
7 | 7 | ||
8 | ; SQLite | 8 | ; SQLite |
9 | Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | 9 | ;Include-Storage = "config-include/storage/SQLiteStandalone.ini"; |
10 | 10 | ||
11 | ; MySql | 11 | ; MySql |
12 | ; Uncomment these lines if you want to use mysql storage | 12 | ; Uncomment these lines if you want to use mysql storage |
@@ -33,6 +33,9 @@ | |||
33 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" | 33 | ;StorageProvider = "OpenSim.Data.PGSQL.dll" |
34 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" | 34 | ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;" |
35 | 35 | ||
36 | StorageProvider = "${Const|DataProvider}" | ||
37 | ConnectionString = "${Const|ConnectionString}" | ||
38 | |||
36 | [Hypergrid] | 39 | [Hypergrid] |
37 | ; Uncomment the variables in this section only if you are in | 40 | ; Uncomment the variables in this section only if you are in |
38 | ; Hypergrid configuration. Otherwise, ignore. | 41 | ; Hypergrid configuration. Otherwise, ignore. |