StandaloneCommon.ini.example 17 KB

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