opensim-development – Blame information for rev 1

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