StandaloneCommon.ini.example 18 KB

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