Advertisement
Guest User

Untitled

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