1
0

GridCommon.ini.example 9.0 KB

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