; This is the main configuration file for an instance of OpenSim running in grid mode [DatabaseService] ; ; ### Choose the DB ; ; SQLite Include-Storage = "config-include/storage/SQLiteStandalone.ini"; ; MySQL ; Uncomment these lines if you want to use MySQL storage ; Change the connection string to your db details ; Remove SslMode=None if you need secure connection to the local MySQL ; In most cases ssl is just a pure waste of resources, specially when MySQL is on same machine, and closed to outside ;StorageProvider = "OpenSim.Data.MySQL.dll" ; If using MySQL 8.0.4 or later, check that default-authentication-plugin=mysql_native_password ; rather than caching_sha2_password is set in /etc/mysql/mysql.conf.d/mysqld.cnf (not applicable to MariaDB). ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;SslMode=None;" ; Uncomment this line if you are using MySQL and want to use a different database for estates ; The usual application for this is to allow estates to be spread out across multiple simulators by share the same database. ; Most people won't need to do this so only uncomment if you know what you're doing. ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;SslMode=None;" ; MSSQL ; Uncomment these lines if you want to use MSSQL storage ; Change the connection string to your db details ; The value for server property is shown in your SQL Server Management Studio login dialog. ; (This sample is the default of express edition) ;StorageProvider = "OpenSim.Data.MSSQL.dll" ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" ; PGSQL ; Uncomment these lines if you want to use PGSQL storage ; Change the connection string to your db details ;StorageProvider = "OpenSim.Data.PGSQL.dll" ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***; SSL Mode=Disable" [Hypergrid] ; Uncomment the variable GatekeeperURI in this section to enable ; Hypergrid configuration. Otherwise, ignore. ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} ;; If this is a standalone world, this is the address of this instance. ;; If this is a grided simulator, this is the address of the external robust server ;; that runs the Gatekeeper service. ;; For example http://myworld.com:9000 or http://myworld.com:8002 ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" ;# {GatekeeperURIAlias} {Hypergrid} {alternative hostnames (FQDN), or IPs of the gatekeeper of this world and port} {} ;; comma separated list, ;; in case there was for example a dns change, etc ; GatekeeperURIAlias = myoldname.something.org ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} ;; If this is a standalone world, this is the address of this instance. ;; If this is a grided simulator, this is the address of the external robust server that ;; runs the UserAgentsService. ;; For example http://myworld.com:9000 or http://myworld.com:8002 HomeURI = "${Const|BaseURL}:${Const|PublicPort}" ;# {HomeURIAlias} {Hypergrid} {Old http schema (default http://), hostnames (FQDN), or IPs of the gatekeeper of this world and port (default 80 or 443)} {} ;; comma separated list, ;; in case there was for example a dns change, etc but it is still same grid ; HomeURIAlias = myoldname.something.org, 127.0.0.1,127.0.0.1:8043 [Modules] ;; Asset cache module. ;; Warning this is required for several region features AssetCaching = "FlotsamAssetCache" Include-FlotsamCache = "config-include/FlotsamCache.ini" ;; Optionally, the port for the LLProxyLoginModule module can be changed ;Setup_LLProxyLoginModule = "9090/" ;; Authorization is not on by default, as it depends on external php ;AuthorizationServices = "RemoteAuthorizationServicesConnector" [AssetService] DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" AssetLoaderArgs = "assets/AssetSets.xml" ; ; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses. ; AssetServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [InventoryService] ; ; Change this to your grid-wide inventory server ; InventoryServerURI = "${Const|PrivURL}:${Const|PrivatePort}" ;MaxRetries = 0 [GridInfo] ; ; Change this to your grid info service ; GridInfoURI = "${Const|BaseURL}:${Const|PublicPort}" [GridService] ; ; Change this to your grid-wide grid server ; GridServerURI = "${Const|PrivURL}:${Const|PrivatePort}" ;AllowHypergridMapSearch = true ;; Directory for map tile images of linked regions ; MapTileDirectory = "./maptiles" ; === HG ONLY === ;; Change this to the address of your Gatekeeper service ;; (usually bundled with the rest of the services in one ;; Robust server in port ${Const|PublicPort}, but not always) Gatekeeper="${Const|BaseURL}:${Const|PublicPort}" [EstateDataStore] ; ; Uncomment if you want centralized estate data at robust server, ; in which case the URL in [EstateService] will be used ; ;LocalServiceModule = "OpenSim.Services.Connectors.dll:EstateDataRemoteConnector" [EstateService] EstateServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [Messaging] ; === HG ONLY === ;; Change this to the address of your Gatekeeper service ;; (usually bundled with the rest of the services in one ;; Robust server in port ${Const|PublicPort}, but not always) Gatekeeper = "${Const|BaseURL}:${Const|PublicPort}" [AvatarService] ; ; Change this to your grid-wide grid server ; AvatarServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [AgentPreferencesService] ; ; Change this to your grid-wide avatar prefs server ; AgentPreferencesServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [PresenceService] ; ; Change this to your grid-wide presence server ; PresenceServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [UserAccountService] ; ; Change this to your grid-wide user accounts server ; UserAccountServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [GridUserService] ; ; Change this to your grid-wide user server ; GridUserServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [AuthenticationService] ; ; Change this to your grid-wide authentication server ; AuthenticationServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [FriendsService] ; ; Change this to your grid-wide friends server ; FriendsServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [HGInventoryAccessModule] ; ; === HG ONLY === ; Change this to your server ; accessible from other grids ; ;; If you want to protect your assets from being copied by foreign visitors ;; set this to false. You may want to do this on sims that have licensed content. ;; Default is true. ; OutboundPermission = True ;; Send visual reminder to local users that their inventories are unavailable while they are traveling ;; and available when they return. True by default. ;RestrictInventoryAccessAbroad = True ;; Warning: advanced and unusual. Default is false. ;; Enables configurations where grids share user services, including inventory, ;; while separating regions' assets from users' assets. Asset transfer between ;; the users' asset server and the regions' asset server is done in HG-like manner. ; CheckSeparateAssets = false ; RegionHGAssetServerURI = ${Const|BaseURL}:${Const|PublicPort} [HGAssetService] ; ; === HG ONLY === ;; The asset types that this grid can export to / import from other grids. ;; Comma separated. ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely: ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText, ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh ;; ;; Leave blank or commented if you don't want to apply any restrictions. ;; A more strict, but still reasonable, policy may be to disallow the exchange ;; of scripts, like so: ; DisallowExport ="LSLText" ; DisallowImport ="LSLBytecode" [HGFriendsModule] ; User level required to be able to send friendship invitations to foreign users ;LevelHGFriends = 0; [MapImageService] MapImageServerURI = "${Const|PrivURL}:${Const|PrivatePort}" [AuthorizationService] ; If you have regions with access restrictions ; specify them here using the convention ; Region_ = ; Valid flags are: ; DisallowForeigners -- HG visitors not allowed ; DisallowResidents -- only Admins and Managers allowed ; Example: ; Region_Test_1 = "DisallowForeigners" [MuteListService] MuteListServerURI = "${Const|PrivURL}:${Const|PrivatePort}"