diff options
Diffstat (limited to 'bin/config-include/StandaloneCommon.ini')
-rw-r--r-- | bin/config-include/StandaloneCommon.ini | 401 |
1 files changed, 401 insertions, 0 deletions
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" | ||