StandaloneCommon.ini.example 17 KB

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