StandaloneCommon.ini.example 17 KB

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