diff options
Diffstat (limited to 'bin/config-include/StandaloneCommon.ini.example')
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 398 |
1 files changed, 398 insertions, 0 deletions
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example new file mode 100644 index 0000000..8931557 --- /dev/null +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -0,0 +1,398 @@ | |||
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 | [Hypergrid] | ||
37 | ; Uncomment the variables in this section only if you are in | ||
38 | ; Hypergrid configuration. Otherwise, ignore. | ||
39 | |||
40 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | ||
41 | ;; If this is a standalone world, this is the address of this instance. | ||
42 | ;; If this is a grided simulator, this is the address of the external robust server that | ||
43 | ;; runs the UserAgentsService. | ||
44 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
45 | ;; This is a default that can be overwritten in some sections. | ||
46 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
47 | |||
48 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | ||
49 | ;; If this is a standalone world, this is the address of this instance. | ||
50 | ;; If this is a grided simulator, this is the address of the external robust server | ||
51 | ;; that runs the Gatekeeper service. | ||
52 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
53 | ;; This is a default that can be overwritten in some sections. | ||
54 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
55 | |||
56 | [Modules] | ||
57 | ;; Choose one cache module and the corresponding config file, if it exists. | ||
58 | ;; Copy the config .example file into your own .ini file and alter that | ||
59 | ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. | ||
60 | |||
61 | AssetCaching = "FlotsamAssetCache" | ||
62 | Include-FlotsamCache = "config-include/FlotsamCache.ini" | ||
63 | |||
64 | ;AssetCaching = "CenomeMemoryAssetCache" | ||
65 | ;Include-CenomeCache = "config-include/CenomeCache.ini" | ||
66 | |||
67 | ;AssetCaching = "GlynnTuckerAssetCache" | ||
68 | |||
69 | ;; Authorization is not on by default, as it depends on external php | ||
70 | ;AuthorizationServices = "LocalAuthorizationServicesConnector" | ||
71 | |||
72 | [AssetService] | ||
73 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | ||
74 | AssetLoaderArgs = "assets/AssetSets.xml" | ||
75 | |||
76 | [GridService] | ||
77 | ;; For in-memory region storage (default) | ||
78 | StorageProvider = "OpenSim.Data.Null.dll:NullRegionData" | ||
79 | ;;--- For MySql region storage (alternative) | ||
80 | ;StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData" | ||
81 | |||
82 | ;; Directory for map tile images of remote regions | ||
83 | ; MapTileDirectory = "./maptiles" | ||
84 | |||
85 | ;; Next, we can specify properties of regions, including default and fallback regions | ||
86 | ;; The syntax is: Region_<RegionName> = "<flags>" | ||
87 | ;; where <flags> can be DefaultRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut | ||
88 | ;; | ||
89 | ;; 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.) | ||
90 | ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion | ||
91 | ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified | ||
92 | ;; an explicit region. | ||
93 | ;; | ||
94 | ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online | ||
95 | ;; region will be used. | ||
96 | ;; | ||
97 | ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the | ||
98 | ;; order specified. This only applies to local logins at this time, not Hypergrid connections. | ||
99 | ;; | ||
100 | ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins. | ||
101 | ;; | ||
102 | ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid. | ||
103 | ;; | ||
104 | ;; For example: | ||
105 | Region_Welcome_Area = "DefaultRegion, FallbackRegion" | ||
106 | |||
107 | ;; Allow supporting viewers to export content | ||
108 | ;; Set to false to prevent export | ||
109 | ExportSupported = true | ||
110 | |||
111 | ; === HG ONLY === | ||
112 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
113 | ; GatekeeperURI="${Const|BaseURL}:${Const|PublicPort}" | ||
114 | |||
115 | [LibraryModule] | ||
116 | ; Set this if you want to change the name of the OpenSim Library | ||
117 | ;LibraryName = "My World's Library" | ||
118 | |||
119 | [LoginService] | ||
120 | WelcomeMessage = "Welcome, Avatar!" | ||
121 | ;; If you have Gatekeeper set under [Hypergrid], no need to set it here, leave it commented | ||
122 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
123 | |||
124 | SRV_HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
125 | SRV_InventoryServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
126 | SRV_AssetServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
127 | SRV_ProfileServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
128 | SRV_FriendsServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
129 | SRV_IMServerURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
130 | |||
131 | ;; For Viewer 2 | ||
132 | MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/" | ||
133 | |||
134 | ; Url to search service | ||
135 | ; SearchURL = "${Const|BaseURL}:${Const|PublicPort}"; | ||
136 | |||
137 | ; For V3 destination guide | ||
138 | ; DestinationGuide = "${Const|BaseURL}/guide" | ||
139 | |||
140 | ; The minimum user level required for a user to be able to login. 0 by default | ||
141 | ; If you disable a particular user's account then you can set their login level below this number. | ||
142 | ; You can also change this level from the console though these changes will not be persisted. | ||
143 | ; MinLoginLevel = 0 | ||
144 | |||
145 | ;; Ask co-operative viewers to use a different currency name | ||
146 | ;Currency = "" | ||
147 | |||
148 | ;; Set minimum fee to publish classified | ||
149 | ; ClassifiedFee = 0 | ||
150 | |||
151 | ; Basic Login Service Dos Protection Tweaks | ||
152 | ; ; | ||
153 | ; ; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true | ||
154 | ; ; 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 | ||
155 | ; ; get around this basic DOS protection. | ||
156 | ; DOSAllowXForwardedForHeader = false | ||
157 | ; ; | ||
158 | ; ; The protector adds up requests during this rolling period of time, default 10 seconds | ||
159 | ; DOSRequestTimeFrameMS = 10000 | ||
160 | ; ; | ||
161 | ; ; The amount of requests in the above timeframe from the same endpoint that triggers protection | ||
162 | ; DOSMaxRequestsInTimeFrame = 5 | ||
163 | ; ; | ||
164 | ; ; The amount of time that a specific endpoint is blocked. Default 2 minutes. | ||
165 | ; DOSForgiveClientAfterMS = 120000 | ||
166 | ; ; | ||
167 | ; ; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0. | ||
168 | |||
169 | [FreeswitchService] | ||
170 | ;; If FreeSWITCH is not being used then you don't need to set any of these parameters | ||
171 | ;; | ||
172 | ;; The IP address of your FreeSWITCH server. The common case is for this to be the same as the server running the OpenSim standalone | ||
173 | ;; This has to be set for the FreeSWITCH service to work | ||
174 | ;; This address must be reachable by viewers. | ||
175 | ;ServerAddress = 127.0.0.1 | ||
176 | |||
177 | ;; The following configuration parameters are optional | ||
178 | |||
179 | ;; By default, this is the same as the ServerAddress | ||
180 | ; Realm = 127.0.0.1 | ||
181 | |||
182 | ;; By default, this is the same as the ServerAddress on port 5060 | ||
183 | ; SIPProxy = 127.0.0.1:5060 | ||
184 | |||
185 | ;; Default is 5000ms | ||
186 | ; DefaultTimeout = 5000 | ||
187 | |||
188 | ;; The dial plan context. Default is "default" | ||
189 | ; Context = default | ||
190 | |||
191 | ;; Currently unused | ||
192 | ; UserName = freeswitch | ||
193 | |||
194 | ;; Currently unused | ||
195 | ; Password = password | ||
196 | |||
197 | ;; The following parameters are for STUN = Simple Traversal of UDP through NATs | ||
198 | ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal | ||
199 | ;; stun.freeswitch.org is not guaranteed to be running so use it in | ||
200 | ;; production at your own risk | ||
201 | ; EchoServer = 127.0.0.1 | ||
202 | ; EchoPort = 50505 | ||
203 | ; AttemptSTUN = false | ||
204 | |||
205 | [GridInfoService] | ||
206 | ; These settings are used to return information on a get_grid_info call. | ||
207 | ; Client launcher scripts and third-party clients make use of this to | ||
208 | ; autoconfigure the client and to provide a nice user experience. If you | ||
209 | ; want to facilitate that, you should configure the settings here according | ||
210 | ; to your grid or standalone setup. | ||
211 | ; | ||
212 | ; See http://opensimulator.org/wiki/GridInfo | ||
213 | |||
214 | ; login uri: for grid this is the login server URI | ||
215 | login = ${Const|BaseURL}:${Const|PublicPort}/ | ||
216 | |||
217 | ; long grid name: the long name of your grid | ||
218 | gridname = "the lost continent of hippo" | ||
219 | |||
220 | ; short grid name: the short name of your grid | ||
221 | gridnick = "hippogrid" | ||
222 | |||
223 | ; login page: optional: if it exists it will be used to tell the client to use | ||
224 | ; this as splash page. May also be served from an external web server, e.g. for | ||
225 | ; information on a standalone | ||
226 | ;welcome = ${Const|BaseURL}/welcome | ||
227 | |||
228 | ; helper uri: optional: if it exists it will be used to tell the client to use | ||
229 | ; this for all economy related things | ||
230 | ;economy = ${Const|BaseURL}/economy | ||
231 | |||
232 | ; web page of grid: optional: page providing further information about your grid | ||
233 | ;about = ${Const|BaseURL}/about | ||
234 | |||
235 | ; account creation: optional: page providing further information about obtaining | ||
236 | ; a user account on your grid | ||
237 | ;register = ${Const|BaseURL}/register | ||
238 | |||
239 | ; help: optional: page providing further assistance for users of your grid | ||
240 | ;help = ${Const|BaseURL}/help | ||
241 | |||
242 | ; password help: optional: page providing password assistance for users of your grid | ||
243 | ;password = ${Const|BaseURL}/password | ||
244 | |||
245 | ; HG address of the gatekeeper, if you have one | ||
246 | ; this is the entry point for all the regions of the world | ||
247 | ; gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/ | ||
248 | |||
249 | ; HG user domain, if you have one | ||
250 | ; this is the entry point for all user-related HG services | ||
251 | ; uas = ${Const|BaseURL}:${Const|PublicPort}/ | ||
252 | |||
253 | [MapImageService] | ||
254 | ; Set this if you want to change the default | ||
255 | ; TilesStoragePath = "maptiles" | ||
256 | |||
257 | [AuthorizationService] | ||
258 | ; If you have regions with access restrictions | ||
259 | ; specify them here using the convention | ||
260 | ; Region_<Region_Name> = <flags> | ||
261 | ; Valid flags are: | ||
262 | ; DisallowForeigners -- HG visitors not allowed | ||
263 | ; DisallowResidents -- only Admins and Managers allowed | ||
264 | ; Example: | ||
265 | ; Region_Test_1 = "DisallowForeigners" | ||
266 | |||
267 | ;; | ||
268 | ;; HG configurations | ||
269 | ;; | ||
270 | [GatekeeperService] | ||
271 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented | ||
272 | ; ExternalName = "${Const|BaseURL}:${Const|PublicPort}" | ||
273 | |||
274 | ; Does this grid allow incoming links to any region in it? | ||
275 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section | ||
276 | AllowTeleportsToAnyRegion = true | ||
277 | |||
278 | ;; Regular expressions for controlling which client versions are accepted/denied. | ||
279 | ;; An empty string means nothing is checked. | ||
280 | ;; | ||
281 | ;; Example 1: allow only these 3 types of clients (any version of them) | ||
282 | ;; AllowedClients = "Imprudence|Hippo|Second Life" | ||
283 | ;; | ||
284 | ;; Example 2: allow all clients except these | ||
285 | ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" | ||
286 | ;; | ||
287 | ;; Note that these are regular expressions, so every character counts. | ||
288 | ;; Also note that this is very weak security and should not be trusted as a reliable means | ||
289 | ;; for keeping bad clients out; modified clients can fake their identifiers. | ||
290 | ;; | ||
291 | ;; | ||
292 | ;AllowedClients = "" | ||
293 | ;DeniedClients = "" | ||
294 | |||
295 | ;; Are foreign visitors allowed? | ||
296 | ;ForeignAgentsAllowed = true | ||
297 | ;; | ||
298 | ;; If ForeignAgentsAllowed is true, make exceptions using AllowExcept. | ||
299 | ;; Leave blank or commented for no exceptions. | ||
300 | ; AllowExcept = "http://griefer.com:8002, http://enemy.com:8002" | ||
301 | ;; | ||
302 | ;; If ForeignAgentsAllowed is false, make exceptions using DisallowExcept | ||
303 | ;; Leave blank or commented for no exceptions. | ||
304 | ; DisallowExcept = "http://myfriendgrid.com:8002, http://myboss.com:8002" | ||
305 | |||
306 | [UserAgentService] | ||
307 | ;; User level required to be contacted from other grids | ||
308 | ;LevelOutsideContacts = 0 | ||
309 | |||
310 | ;; Restrictions on destinations of local users. | ||
311 | ;; Are local users allowed to visit other grids? | ||
312 | ;; What user level? Use variables of this forrm: | ||
313 | ;; ForeignTripsAllowed_Level_<UserLevel> = true | false | ||
314 | ;; (the default is true) | ||
315 | ;; For example: | ||
316 | ; ForeignTripsAllowed_Level_0 = false | ||
317 | ; ForeignTripsAllowed_Level_200 = true ; true is default, no need to say it | ||
318 | ;; | ||
319 | ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept | ||
320 | ;; Leave blank or commented for no exceptions. | ||
321 | ; DisallowExcept_Level_0 = "http://myothergrid.com:8002, http://boss.com:8002" | ||
322 | ;; | ||
323 | ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept. | ||
324 | ;; Leave blank or commented for no exceptions. | ||
325 | ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002" | ||
326 | |||
327 | ;; This variable controls what is exposed to profiles of local users | ||
328 | ;; as seen from outside of this grid. Leave it uncommented for exposing | ||
329 | ;; UserTitle, UserFlags and the creation date. Uncomment and change to False | ||
330 | ;; to block this info from being exposed. | ||
331 | ; ShowUserDetailsInHGProfile = True | ||
332 | |||
333 | [HGInventoryService] | ||
334 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
335 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
336 | |||
337 | [HGAssetService] | ||
338 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
339 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
340 | |||
341 | ;; The asset types that this grid can export to / import from other grids. | ||
342 | ;; Comma separated. | ||
343 | ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: | ||
344 | ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, | ||
345 | ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh | ||
346 | ;; | ||
347 | ;; Leave blank or commented if you don't want to apply any restrictions. | ||
348 | ;; A more strict, but still reasonable, policy may be to disallow the exchange | ||
349 | ;; of scripts, like so: | ||
350 | ; DisallowExport ="LSLText" | ||
351 | ; DisallowImport ="LSLBytecode" | ||
352 | |||
353 | [HGInventoryAccessModule] | ||
354 | ;; If you have these set under [Hypergrid], no need to set it here, leave it commented | ||
355 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
356 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
357 | |||
358 | ;; If you want to protect your assets from being copied by foreign visitors | ||
359 | ;; uncomment the next line. You may want to do this on sims that have licensed content. | ||
360 | ;; true = allow exports, false = disallow exports. True by default. | ||
361 | ; OutboundPermission = True | ||
362 | |||
363 | ;; Send visual reminder to local users that their inventories are unavailable while they are traveling | ||
364 | ;; and available when they return. True by default. | ||
365 | ;RestrictInventoryAccessAbroad = True | ||
366 | |||
367 | [HGFriendsModule] | ||
368 | ; User level required to be able to send friendship invitations to foreign users | ||
369 | ;LevelHGFriends = 0; | ||
370 | |||
371 | [Messaging] | ||
372 | ; === HG ONLY === | ||
373 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | ||
374 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" | ||
375 | |||
376 | [EntityTransfer] | ||
377 | ;; User level from which local users are allowed to HG teleport. Default 0 (all users) | ||
378 | ;LevelHGTeleport = 0 | ||
379 | |||
380 | ;; Are local users restricted from taking their appearance abroad? | ||
381 | ;; Default is no restrictions | ||
382 | ;RestrictAppearanceAbroad = false | ||
383 | |||
384 | ;; If appearance is restricted, which accounts' appearances are allowed to be exported? | ||
385 | ;; Comma-separated list of account names | ||
386 | AccountForAppearance = "Test User, Astronaut Smith" | ||
387 | |||
388 | [UserProfilesService] | ||
389 | ;; To use, set Enabled to true then configure for your site... | ||
390 | Enabled = false | ||
391 | LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService" | ||
392 | |||
393 | ;; Configure this for separate databse | ||
394 | ; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" | ||
395 | ; Realm = UserProfiles | ||
396 | |||
397 | UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService | ||
398 | AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService" | ||