StandaloneCommon.ini.example 18 KB

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