GridCommon.ini.example 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. ; This is the main configuration file for an instance of OpenSim running in grid 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. ;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 in this section 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. ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}"
  40. ;# {GatekeeperURIAlias} {Hypergrid} {alternative hostnames (FQDN), or IPs of the gatekeeper of this world and port} {}
  41. ;; comma separated list,
  42. ;; in case there was for example a dns change, etc
  43. ; GatekeeperURIAlias = myoldname.something.org
  44. ;# {HomeURI} {Hypergrid} {The Home URL of this world} {}
  45. ;; If this is a standalone world, this is the address of this instance.
  46. ;; If this is a grided simulator, this is the address of the external robust server that
  47. ;; runs the UserAgentsService.
  48. ;; For example http://myworld.com:9000 or http://myworld.com:8002
  49. HomeURI = "${Const|BaseURL}:${Const|PublicPort}"
  50. ;# {HomeURIAlias} {Hypergrid} {Old http schema (default http://), hostnames (FQDN), or IPs of the gatekeeper of this world and port (default 80 or 443)} {}
  51. ;; comma separated list,
  52. ;; in case there was for example a dns change, etc but it is still same grid
  53. ; HomeURIAlias = myoldname.something.org, 127.0.0.1,127.0.0.1:8043
  54. [Modules]
  55. ;; Asset cache module.
  56. ;; Warning this is required for several region features
  57. AssetCaching = "FlotsamAssetCache"
  58. Include-FlotsamCache = "config-include/FlotsamCache.ini"
  59. ;; Optionally, the port for the LLProxyLoginModule module can be changed
  60. ;Setup_LLProxyLoginModule = "9090/"
  61. ;; Authorization is not on by default, as it depends on external php
  62. ;AuthorizationServices = "RemoteAuthorizationServicesConnector"
  63. [AssetService]
  64. DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
  65. AssetLoaderArgs = "assets/AssetSets.xml"
  66. ;
  67. ; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses.
  68. ;
  69. AssetServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  70. [InventoryService]
  71. ;
  72. ; Change this to your grid-wide inventory server
  73. ;
  74. InventoryServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  75. ;MaxRetries = 0
  76. [GridInfo]
  77. ;
  78. ; Change this to your grid info service
  79. ;
  80. GridInfoURI = "${Const|BaseURL}:${Const|PublicPort}"
  81. [GridService]
  82. ;
  83. ; Change this to your grid-wide grid server
  84. ;
  85. GridServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  86. ;AllowHypergridMapSearch = true
  87. ;; Directory for map tile images of linked regions
  88. ; MapTileDirectory = "./maptiles"
  89. ; === HG ONLY ===
  90. ;; Change this to the address of your Gatekeeper service
  91. ;; (usually bundled with the rest of the services in one
  92. ;; Robust server in port ${Const|PublicPort}, but not always)
  93. Gatekeeper="${Const|BaseURL}:${Const|PublicPort}"
  94. [EstateDataStore]
  95. ;
  96. ; Uncomment if you want centralized estate data at robust server,
  97. ; in which case the URL in [EstateService] will be used
  98. ;
  99. ;LocalServiceModule = "OpenSim.Services.Connectors.dll:EstateDataRemoteConnector"
  100. [EstateService]
  101. EstateServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  102. [Messaging]
  103. ; === HG ONLY ===
  104. ;; Change this to the address of your Gatekeeper service
  105. ;; (usually bundled with the rest of the services in one
  106. ;; Robust server in port ${Const|PublicPort}, but not always)
  107. Gatekeeper = "${Const|BaseURL}:${Const|PublicPort}"
  108. [AvatarService]
  109. ;
  110. ; Change this to your grid-wide grid server
  111. ;
  112. AvatarServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  113. [AgentPreferencesService]
  114. ;
  115. ; Change this to your grid-wide avatar prefs server
  116. ;
  117. AgentPreferencesServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  118. [PresenceService]
  119. ;
  120. ; Change this to your grid-wide presence server
  121. ;
  122. PresenceServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  123. [UserAccountService]
  124. ;
  125. ; Change this to your grid-wide user accounts server
  126. ;
  127. UserAccountServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  128. [GridUserService]
  129. ;
  130. ; Change this to your grid-wide user server
  131. ;
  132. GridUserServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  133. [AuthenticationService]
  134. ;
  135. ; Change this to your grid-wide authentication server
  136. ;
  137. AuthenticationServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  138. [FriendsService]
  139. ;
  140. ; Change this to your grid-wide friends server
  141. ;
  142. FriendsServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  143. [HGInventoryAccessModule]
  144. ;
  145. ; === HG ONLY ===
  146. ; Change this to your server
  147. ; accessible from other grids
  148. ;
  149. ;; If you want to protect your assets from being copied by foreign visitors
  150. ;; set this to false. You may want to do this on sims that have licensed content.
  151. ;; Default is true.
  152. ; OutboundPermission = True
  153. ;; Send visual reminder to local users that their inventories are unavailable while they are traveling
  154. ;; and available when they return. True by default.
  155. ;RestrictInventoryAccessAbroad = True
  156. ;; Warning: advanced and unusual. Default is false.
  157. ;; Enables configurations where grids share user services, including inventory,
  158. ;; while separating regions' assets from users' assets. Asset transfer between
  159. ;; the users' asset server and the regions' asset server is done in HG-like manner.
  160. ; CheckSeparateAssets = false
  161. ; RegionHGAssetServerURI = ${Const|BaseURL}:${Const|PublicPort}
  162. [HGAssetService]
  163. ;
  164. ; === HG ONLY ===
  165. ;; The asset types that this grid can export to / import from other grids.
  166. ;; Comma separated.
  167. ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely:
  168. ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText,
  169. ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh
  170. ;;
  171. ;; Leave blank or commented if you don't want to apply any restrictions.
  172. ;; A more strict, but still reasonable, policy may be to disallow the exchange
  173. ;; of scripts, like so:
  174. ; DisallowExport ="LSLText"
  175. ; DisallowImport ="LSLBytecode"
  176. [HGFriendsModule]
  177. ; User level required to be able to send friendship invitations to foreign users
  178. ;LevelHGFriends = 0;
  179. [MapImageService]
  180. MapImageServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
  181. [AuthorizationService]
  182. ; If you have regions with access restrictions
  183. ; specify them here using the convention
  184. ; Region_<Region_Name> = <flags>
  185. ; Valid flags are:
  186. ; DisallowForeigners -- HG visitors not allowed
  187. ; DisallowResidents -- only Admins and Managers allowed
  188. ; Example:
  189. ; Region_Test_1 = "DisallowForeigners"
  190. [MuteListService]
  191. MuteListServerURI = "${Const|PrivURL}:${Const|PrivatePort}"