1
0

Robust.HG.ini.example 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886
  1. ; * Run
  2. ; * $ Robust.exe -inifile Robust.HG.ini
  3. ; *
  4. ; * Configurations for enabling HG1.5
  5. ; *
  6. ; * HG1.5 handlers are: OpenSim.Server.Handlers.dll:GatekeeperService
  7. ; * OpenSim.Server.Handlers.dll:UserAgentService
  8. ; * Additional OpenSim.Server.Handlers.dll:AssetServiceConnector and
  9. ; * OpenSim.Server.Handlers.dll:XInventoryInConnector
  10. ; * are started in port 8002, outside the firewall
  11. ; *
  12. ; **
  13. ; *
  14. ; * The Const section allows us to define some basic information that we
  15. ; * will use throughout our configuration. We will provide examples for
  16. ; * setting the base url of the Robust server and the public and private ports
  17. ; * it uses. Changing the values of the constants will set the operating
  18. ; * parameters thoughout the configuration. Other constants that may prove
  19. ; * to be useful may be added to the followin section. They may be
  20. ; * referenced anywhere in the configuration by using ${Const|Name}. One
  21. ; * such use is providing a base path for setting locations that Robust
  22. ; * uses to write data.
  23. ; *
  24. [Const]
  25. ; The domain or IP of the Robust server.
  26. BaseHostname = "127.0.0.1"
  27. ; The http URL of the Robust server.
  28. BaseURL = "http://${Const|BaseHostname}"
  29. ; The https URL of the Robust server.
  30. ; Use this if you have the SSL enabled.
  31. ; BaseURL = "https://${Const|BaseHostname}"
  32. ; The public port of the Robust server
  33. PublicPort = "8002"
  34. ; The private port of the Robust server
  35. PrivatePort = "8003"
  36. ; * The startup section lists all the connectors to start up in this server
  37. ; * instance. This may be only one, or it may be the entire server suite.
  38. ; * Multiple connectors should be separated by commas.
  39. ; *
  40. ; * These are the IN connectors the server uses, the in connectors
  41. ; * read this config file and load the needed service and database connectors
  42. ; *
  43. ; * The full syntax of a connector string is:
  44. ; * [[<ConfigName>@]<port>/]<dll name>[:<class name>]
  45. ; *
  46. [Startup]
  47. ; Place to create a PID file
  48. ; If no path if specified then a PID file is not created.
  49. ; PIDFile = "/tmp/Robust.exe.pid"
  50. ; Plugin Registry Location
  51. ; Set path to directory for plugin registry. Information
  52. ; about the registered repositories and installed plugins
  53. ; will be stored here
  54. ; The Robust.exe process must have R/W access to the location
  55. RegistryLocation = "."
  56. ; Modular configurations
  57. ; Set path to directory for modular ini files...
  58. ; The Robust.exe process must have R/W access to the location
  59. ConfigDirectory = "robust-include"
  60. ; Console commands can be saved to a file, so the command history persists after a restart. (default is true)
  61. ConsoleHistoryFileEnabled = true
  62. ; The history file can be just a filename (relative to OpenSim's bin/ directory
  63. ; or it can be a full path to somewhere else. (default is OpenSimConsoleHistory.txt in bin/)
  64. ConsoleHistoryFile = "RobustConsoleHistory.txt"
  65. ; How many lines of command history should we keep? (default is 100)
  66. ConsoleHistoryFileLines = 100
  67. ; Time stamp commands in history file (default false)
  68. ; ConsoleHistoryTimeStamp = false
  69. ;; SSL selfsigned certificate settings.
  70. ; Enable selfsigned certificate creation for local and external use. When set to true, will create a folder SSL\ and 2 sub folders SSL\ssl\ and SSL\src\.
  71. ; Next creates and store an RSA private key in SSL\src\ and the derived selfsigned certificate in SSL\ssl\ folder.
  72. ; Is also possible to renew the certificate on every server restart if CertRenewOnStartup is set to true.
  73. EnableRobustSelfsignedCertSupport = false
  74. ;Renew the selfsigned certificate on every server startup ?
  75. RobustCertRenewOnStartup = false
  76. ;; Certificate options:
  77. ; Set the certificate file name. the output files extensions are CertFileName.p12 and RobustCertFileName.pfx. This must be different than CertFileName in OpenSim.ini
  78. RobustCertFileName = "Robust"
  79. ; Set the certificate password.
  80. RobustCertPassword = "mycertpass"
  81. ; The certificate host name (CN).
  82. RobustCertHostName = ${Const|BaseHostname}
  83. ; The certificate host IP.
  84. RobustCertHostIp = "127.0.0.1"
  85. ; peers SSL certificate validation options
  86. ; you can allow selfsigned certificates or no official CA with next option set to true
  87. NoVerifyCertChain = true
  88. ; you can also bypass the hostname or domain verification
  89. NoVerifyCertHostname = true
  90. ; having both options true does provide encryption but with low security
  91. ; set both true if you don't care to use SSL, they are needed to contact regions or grids that do use it.
  92. [ServiceList]
  93. AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector"
  94. InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector"
  95. ;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below)
  96. ;VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector"
  97. GridServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridServiceConnector"
  98. GridInfoServerInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GridInfoServerInConnector"
  99. AuthenticationServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector"
  100. OpenIdServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:OpenIdServerConnector"
  101. AvatarServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AvatarServiceConnector"
  102. LLLoginServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector"
  103. PresenceServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:PresenceServiceConnector"
  104. UserAccountServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:UserAccountServiceConnector"
  105. GridUserServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridUserServiceConnector"
  106. AgentPreferencesServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AgentPreferencesServiceConnector"
  107. FriendsServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:FriendsServiceConnector"
  108. MapAddServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:MapAddServiceConnector"
  109. MapGetServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:MapGetServiceConnector"
  110. ;; Uncomment this if you want offline IM to work
  111. ; OfflineIMServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector"
  112. ;; Uncomment this if you want Groups V2 to work
  113. ; GroupsServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector"
  114. ;; Uncomment to provide bakes caching
  115. ; BakedTextureService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XBakesConnector"
  116. ;; Uncomment for UserProfiles see [UserProfilesService] to configure...
  117. ; UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector"
  118. ;; Uncomment if you want to have centralized estate data
  119. ; EstateDataService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:EstateDataRobustConnector"
  120. MuteListConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:MuteListServiceConnector"
  121. ;; Additions for Hypergrid
  122. GatekeeperServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector"
  123. UserAgentServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserAgentServerConnector"
  124. HeloServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:HeloServiceInConnector"
  125. HGFriendsServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:HGFriendsServerConnector"
  126. InstantMessageServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:InstantMessageServerConnector"
  127. HGInventoryServiceConnector = "HGInventoryService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:XInventoryInConnector"
  128. HGAssetServiceConnector = "HGAssetService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:AssetServiceConnector"
  129. ;; Uncomment this if you want Groups V2, HG to work
  130. ; HGGroupsServiceConnector = "${Const|PublicPort}/OpenSim.Addons.Groups.dll:HGGroupsServiceRobustConnector"
  131. ; * This is common for all services, it's the network setup for the entire
  132. ; * server instance, if none is specified above
  133. ; *
  134. [Network]
  135. port = ${Const|PrivatePort}
  136. ; HTTPS for "Out of band" management applications such as the remote admin
  137. ; module. May specify https_main = True to make the main http server
  138. ; use https or "False" to make the main server HTTP
  139. ; https_main = False
  140. ;
  141. ; Create https_listener = "True" will create a listener on the port
  142. ; specified. Provide the path to your server certificate along with it's
  143. ; password
  144. ; https_listener = False
  145. ;
  146. ; Set our listener to this port
  147. ; https_port = 0
  148. ;
  149. ; Path to X509 certificate
  150. ; cert_path = "path/to/cert.p12"
  151. ;
  152. ; Password for cert
  153. ; cert_pass = "password"
  154. ;; The follow 3 variables are for HTTP Basic Authentication for the Robust services.
  155. ;; Use this if your central services in port ${Const|PrivatePort} need to be accessible on the Internet
  156. ;; but you want to protect them from unauthorized access.
  157. ; AuthType = "BasicHttpAuthentication"
  158. ; HttpAuthUsername = "some_username"
  159. ; HttpAuthPassword = "some_password"
  160. ;;
  161. ;; AuthType above can be overriden in any of the service sections below by
  162. ; AuthType = "None"
  163. ;; This is useful in cases where you want to protect most of the services,
  164. ;; but unprotect individual services. Username and Password can also be
  165. ;; overriden if you want to use different credentials for the different services.
  166. ;; Hypergrid services are not affected by this; they are publicly available
  167. ;; by design.
  168. ;; By default, scripts are not allowed to call private services via llHttpRequest()
  169. ;; Such calls are detected by the X-SecondLife-Shared HTTP header
  170. ;; If you allow such calls you must be sure that they are restricted to very trusted scripters
  171. ;; (remember scripts can also be in visiting avatar attachments).
  172. ;; This can be overriden in individual private service sections if necessary
  173. AllowllHTTPRequestIn = false
  174. ; * The following are for the remote console
  175. ; * They have no effect for the local or basic console types
  176. ; * Leave commented to disable logins to the console
  177. ;ConsoleUser = Test
  178. ;ConsolePass = secret
  179. ;ConsolePort = 0
  180. [Hypergrid]
  181. ;# {HomeURI} {Hypergrid} {The Home URL of this grid} {}
  182. ;; This is the address of the external robust server that
  183. ;; runs the UserAgentsService, possibly this server.
  184. ;; For example http://myworld.com:8002
  185. ;; This is a default that can be overwritten in some sections.
  186. ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}"
  187. ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this grid} {}
  188. ;; This is the address of the external robust server
  189. ;; that runs the Gatekeeper service, possibly this server.
  190. ;; For example http://myworld.com:8002
  191. ;; This is a default that can be overwritten in some sections.
  192. ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}"
  193. ;# {GatekeeperURIAlias} {Hypergrid} {alternative hostnames (FQDN), or IPs of the gatekeeper of this grid and port (default 80 or 443 if alias starts with https://)} {}
  194. ;; comma separated list,
  195. ;; this is to allow this grid to identify this as references to itself
  196. ;; entries can be unsecure url (host:port) if using ssl, direct login url if different, old grid url, etc
  197. ; GatekeeperURIAlias = "login.osgrid.org"
  198. [AccessControl]
  199. ;# {AllowedClients} {} {Bar (|) separated list of allowed clients} {}
  200. ;; Bar (|) separated list of viewers which may gain access to the regions.
  201. ;; One can use a substring of the viewer name to enable only certain
  202. ;; versions
  203. ;; Example: Agent uses the viewer "Imprudence 1.3.2.0"
  204. ;; - "Imprudence" has access
  205. ;; - "Imprudence 1.3" has access
  206. ;; - "Imprudence 1.3.1" has no access
  207. ; AllowedClients = ""
  208. ;# {DeniedClients} {} {Bar (|) separated list of denied clients} {}
  209. ;; Bar (|) separated list of viewers which may not gain access to the regions.
  210. ;; One can use a Substring of the viewer name to disable only certain
  211. ;; versions
  212. ;; Example: Agent uses the viewer "Imprudence 1.3.2.0"
  213. ;; - "Imprudence" has no access
  214. ;; - "Imprudence 1.3" has no access
  215. ;; - "Imprudence 1.3.1" has access
  216. ; DeniedClients = ""
  217. [DatabaseService]
  218. ; PGSQL
  219. ; Uncomment these lines if you want to use PGSQL storage
  220. ; Change the connection string to your db details
  221. ;StorageProvider = "OpenSim.Data.PGSQL.dll"
  222. ;ConnectionString = "Server=localhost;Database=opensim;User Id=opensim; password=***;"
  223. ; MySQL
  224. ; Uncomment these lines if you want to use MySQL storage
  225. ; Change the connection string to your db details
  226. ; If using MySQL 8.0.4 or later, check that default-authentication-plugin=mysql_native_password
  227. ; rather than caching_sha2_password is set in /etc/mysql/mysql.conf.d/mysqld.cnf (not applicable to MariaDB).
  228. StorageProvider = "OpenSim.Data.MySQL.dll"
  229. ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;SslMode=None;"
  230. ; * As an example, the below configuration precisely mimicks the legacy
  231. ; * asset server. It is read by the asset IN connector (defined above)
  232. ; * and it then loads the OUT connector (a local database module). That,
  233. ; * in turn, reads the asset loader and database connection information
  234. ; *
  235. [AssetService]
  236. ;; Choose an asset service (Only one option should be enabled)
  237. LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
  238. ;LocalServiceModule = "OpenSim.Services.FSAssetService.dll:FSAssetConnector"
  239. ;; FSAssets Directories. Base directory, where final asset files are stored and Spool directory for temp files
  240. ;; These directories must be on the same physical filesystem
  241. ;BaseDirectory = "./fsassets/data"
  242. ;SpoolDirectory = "./fsassets/tmp"
  243. ;; FSAssets only: if running several instances, only one can run some services, so others need to be set as secondary
  244. ;; for secondary instances uncoment this line
  245. ;SecondaryInstance = true
  246. ;; Original service can be checked if FSAssets can not find an asset
  247. ;FallbackService = "OpenSim.Services.AssetService.dll:AssetService";
  248. ;; How many days since last updating the access time before its updated again by FSAssets when accessing an asset
  249. ;; Reduces DB calls if asset is requested often. Default value 0 will always update access time
  250. ;DaysBetweenAccessTimeUpdates = 30
  251. ;; Should FSAssets print read/write stats to the robust console, default is true
  252. ;ShowConsoleStats = true
  253. ;; FSAssets Custom Database Config (Leave blank to use grids default database configuration)
  254. ;StorageProvider = ""
  255. ;ConnectionString = ""
  256. ;Realm = "fsassets"
  257. ;; FSAssets uses a folder structure to reduce file access times. By default that structure is 00/00/00
  258. ;; Setting this to true will switch to an older 000/000 format, which can cause issues with long file lists
  259. ;UseOsgridFormat = false
  260. ;; The following are common to both the default asset service and FSAsset service
  261. ;; Common asset service options
  262. DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
  263. AssetLoaderArgs = "./assets/AssetSets.xml"
  264. ; Allow maptile assets to remotely deleted by remote calls to the asset service.
  265. ; There is no harm in having this as false - it just means that historical maptile assets are not deleted.
  266. ; This only applies to maptiles served via the version 1 viewer mechanisms
  267. ; Default is false
  268. AllowRemoteDelete = false
  269. ; Allow all assets to be remotely deleted.
  270. ; Only set this to true if you are operating a grid where you control all calls to the asset service
  271. ; (where a necessary condition is that you control all simulators) and you need this for admin purposes.
  272. ; If set to true, AllowRemoteDelete = true is required as well.
  273. ; Default is false.
  274. AllowRemoteDeleteAllTypes = false
  275. ; * This configuration loads the inventory server modules. It duplicates
  276. ; * the function of the legacy inventory server
  277. ; *
  278. [InventoryService]
  279. LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"
  280. ; Will calls to purge folders (empty trash) and immediately delete/update items or folders (not move to trash first) succeed?
  281. ; If this is set to false then some other arrangement must be made to perform these operations if necessary.
  282. AllowDelete = true
  283. ; * This is the new style grid service.
  284. ; * "Realm" is the table that is used for user lookup.
  285. ; * It defaults to "regions", which uses the legacy tables
  286. ; *
  287. [GridService]
  288. LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
  289. ; Realm = "regions"
  290. ; AllowDuplicateNames = ""
  291. ;; Perform distance check for the creation of a linked region
  292. ; Check4096 = "True"
  293. ;; Needed to display non-default map tile images for linked regions
  294. AssetService = "OpenSim.Services.AssetService.dll:AssetService"
  295. ;; Directory for map tile images of linked regions
  296. ; MapTileDirectory = "./maptiles"
  297. ;; Next, we can specify properties of regions, including default and fallback regions
  298. ;; The syntax is: Region_<RegionName> = "<flags>"
  299. ;; or: Region_<RegionID> = "<flags>"
  300. ;; where <flags> can be DefaultRegion, DefaultHGRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut, Reservation, NoMove, Authenticate
  301. ;;
  302. ;; 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.)
  303. ;; then this region becomes the destination. Only the first online default region will be used. If no DefaultHGRegion
  304. ;; is specified then this will also be used as the region for hypergrid connections that require it (commonly because they have not specified
  305. ;; an explicit region.
  306. ;;
  307. ;; DefaultHGRegion If an avatar connecting via the hypergrid does not specify a region, then they are placed here. Only the first online
  308. ;; region will be used.
  309. ;;
  310. ;; FallbackRegion If the DefaultRegion is not available for a local login, then any FallbackRegions are tried instead. These are tried in the
  311. ;; order specified. This only applies to local logins at this time, not Hypergrid connections.
  312. ;;
  313. ;; NoDirectLogin A hypergrid user cannot directly connect to this region. This does not apply to local logins.
  314. ;;
  315. ;; Persistent When the simulator is shutdown, the region is signalled as offline but left registered on the grid.
  316. ;;
  317. ;; Example specification:
  318. ; Region_Welcome_Area = "DefaultRegion, DefaultHGRegion"
  319. ; (replace spaces with underscore)
  320. ;; Allow Hyperlinks to be created at the console
  321. HypergridLinker = true
  322. ;; Allow supporting viewers to export content
  323. ;; Set to false to prevent export
  324. ExportSupported = true
  325. ;; If you have this set under [Hypergrid], no need to set it here, leave it commented
  326. ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}"
  327. ; * This is the configuration for the freeswitch server in grid mode
  328. [FreeswitchService]
  329. LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
  330. ;; The IP address of your FreeSWITCH server.
  331. ;; This address must be reachable by viewers.
  332. ; ServerAddress = 127.0.0.1
  333. ;; The following configuration parameters are optional
  334. ;; By default, this is the same as the ServerAddress
  335. ; Realm = 127.0.0.1
  336. ;; By default, this is the same as the ServerAddress on port 5060
  337. ; SIPProxy = 127.0.0.1:5060
  338. ;; Default is 5000ms
  339. ; DefaultTimeout = 5000
  340. ;; The dial plan context. Default is "default"
  341. ; Context = default
  342. ;; Currently unused
  343. ; UserName = freeswitch
  344. ;; Currently unused
  345. ; Password = password
  346. ;; The following parameters are for STUN = Simple Traversal of UDP through NATs
  347. ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal
  348. ;; stun.freeswitch.org is not guaranteed to be running so use it in
  349. ;; production at your own risk
  350. ; EchoServer = 127.0.0.1
  351. ; EchoPort = 50505
  352. ; AttemptSTUN = false
  353. ; * This is the new style authentication service. Currently, only MySQL
  354. ; * is implemented.
  355. ; *
  356. [AuthenticationService]
  357. ; for the server connector
  358. LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  359. ; Realm = "auth"
  360. ;; Allow the service to process HTTP getauthinfo calls.
  361. ;; Default is false.
  362. ; AllowGetAuthInfo = false
  363. ;; Allow the service to process HTTP setauthinfo calls.
  364. ;; Default is false.
  365. ; AllowSetAuthInfo = false
  366. ;; Allow the service to process HTTP setpassword calls.
  367. ;; Default is false.
  368. ; AllowSetPassword = false
  369. [OpenIdService]
  370. ; for the server connector
  371. AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  372. UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  373. ; * This is the new style user service.
  374. ; * "Realm" is the table that is used for user lookup.
  375. ; * It defaults to "UserAccounts", which uses the new style.
  376. ; * Realm = "users" will use the legacy tables as an authentication source
  377. ; *
  378. [UserAccountService]
  379. ; for the server connector
  380. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  381. ; Realm = "UserAccounts"
  382. ; These are for creating new accounts by the service
  383. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  384. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  385. GridService = "OpenSim.Services.GridService.dll:GridService"
  386. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  387. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  388. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  389. ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2
  390. ;; to show a default "Ruth" avatar rather than a cloud for a newly created user.
  391. ;; Default is false
  392. CreateDefaultAvatarEntries = true
  393. ;; Allow the service to process HTTP createuser calls.
  394. ;; Default is false.
  395. ; AllowCreateUser = false
  396. ;; Allow the service to process HTTP setaccount calls.
  397. ;; Default is false.
  398. ; AllowSetAccount = false
  399. [GridUserService]
  400. ; for the server connector
  401. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:GridUserService"
  402. [AgentPreferencesService]
  403. ; for the server connector
  404. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:AgentPreferencesService"
  405. [PresenceService]
  406. ; for the server connector
  407. LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
  408. [AvatarService]
  409. ; for the server connector
  410. LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService"
  411. [FriendsService]
  412. ; for the server connector
  413. LocalServiceModule = "OpenSim.Services.FriendsService.dll:FriendsService"
  414. [EstateService]
  415. LocalServiceModule = "OpenSim.Services.EstateService.dll:EstateDataService"
  416. [LibraryService]
  417. LibraryName = "OpenSim Library"
  418. DefaultLibrary = "./inventory/Libraries.xml"
  419. [LoginService]
  420. ; for the server connector
  421. LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService"
  422. ; for the service
  423. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  424. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  425. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  426. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  427. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  428. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  429. GridService = "OpenSim.Services.GridService.dll:GridService"
  430. SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
  431. LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService"
  432. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  433. ; The minimum user level required for a user to be able to login. 0 by default
  434. ; If you disable a particular user's account then you can set their login level below this number.
  435. ; You can also change this level from the console though these changes will not be persisted.
  436. ; MinLoginLevel = 0
  437. ;; for hypergrid
  438. UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
  439. ; This inventory service will be used to initialize the user's inventory
  440. HGInventoryServicePlugin = "[email protected]:HGSuitcaseInventoryService"
  441. ; NOTE: HGInventoryServiceConstructorArg is deprecated. For now it will work, but see above
  442. ; for the correct method if passing additional arguments.
  443. ;; end hypergrid
  444. ; Ask co-operative viewers to use a different currency name
  445. ;Currency = ""
  446. ;; Set minimum fee to publish classified
  447. ; ClassifiedFee = 0
  448. WelcomeMessage = "Welcome, Avatar!"
  449. AllowRemoteSetLoginLevel = "false"
  450. ; For V2 map
  451. MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/";
  452. ; Url to search service
  453. ; SearchURL = "${Const|BaseURL}:${Const|PublicPort}/";
  454. ; For V3 destination guide
  455. ; DestinationGuide = "${Const|BaseURL}/guide"
  456. ; For V3 avatar picker (( work in progress ))
  457. ; AvatarPicker = "${Const|BaseURL}/avatars"
  458. ; If you run this login server behind a proxy, set this to true
  459. ; HasProxy = false
  460. ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs)
  461. ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented
  462. ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}"
  463. SRV_HomeURI = "${Const|BaseURL}:${Const|PublicPort}"
  464. SRV_InventoryServerURI = "${Const|BaseURL}:${Const|PublicPort}"
  465. SRV_AssetServerURI = "${Const|BaseURL}:${Const|PublicPort}"
  466. SRV_ProfileServerURI = "${Const|BaseURL}:${Const|PublicPort}"
  467. SRV_FriendsServerURI = "${Const|BaseURL}:${Const|PublicPort}"
  468. SRV_IMServerURI = "${Const|BaseURL}:${Const|PublicPort}"
  469. SRV_GroupsServerURI = "${Const|BaseURL}:${Const|PublicPort}"
  470. ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
  471. ;; Viewers do not receive timezone information from the server - almost all (?) default to Pacific Standard Time
  472. ;; However, they do rely on the server to tell them whether it's Daylight Saving Time or not.
  473. ;; Hence, calculating DST based on a different timezone can result in a misleading viewer display and inconsistencies between grids.
  474. ;; By default, this setting uses various timezone names to calculate DST with regards to the viewer's standard PST.
  475. ;; Options are
  476. ;; "none" no DST
  477. ;; "local" use the server's only timezone to calculate DST. This is previous OpenSimulator behaviour.
  478. ;; "America/Los_Angeles;Pacific Standard Time" use these timezone names to look up Daylight savings.
  479. ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows
  480. DSTZone = "America/Los_Angeles;Pacific Standard Time"
  481. ;; If the region requested at login is not found and there are no default or fallback regions
  482. ;; online or defined in section [GridService], try to send user to any region online
  483. ;; this similar to legacy (was disabled on 0.9.2.0)
  484. ;; you should set this to false and define regions with Default and possible Fallback flags
  485. ;; With this option set to true, users maybe sent to regions they where not supposed to be, or even know about
  486. AllowLoginFallbackToAnyRegion = false
  487. ;Basic Login Service Dos Protection Tweaks
  488. ;;
  489. ;; Some Grids/Users use a transparent proxy that makes use of the X-Forwarded-For HTTP Header, If you do, set this to true
  490. ;; 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
  491. ;; get around this basic DOS protection.
  492. ;DOSAllowXForwardedForHeader = false
  493. ;;
  494. ;; The protector adds up requests during this rolling period of time, default 10 seconds
  495. ;DOSRequestTimeFrameMS = 10000
  496. ;;
  497. ;; The amount of requests in the above timeframe from the same endpoint that triggers protection
  498. ;DOSMaxRequestsInTimeFrame = 5
  499. ;;
  500. ;; The amount of time that a specific endpoint is blocked. Default 2 minutes.
  501. ;DOSForgiveClientAfterMS = 120000
  502. ;;
  503. ;; To turn off basic dos protection, set the DOSMaxRequestsInTimeFrame to 0.
  504. ;; Allow banning via hashed MAC must be set in both [GatekeeperService] and [LoginService]
  505. ;DeniedMacs = "YOURLONGMACTRSING ANOTHERMAC"
  506. [MapImageService]
  507. LocalServiceModule = "OpenSim.Services.MapImageService.dll:MapImageService"
  508. ; Set this if you want to change the default
  509. ; TilesStoragePath = "maptiles"
  510. ;
  511. ; If for some reason you have the AddMapTile service outside the firewall (e.g. ${Const|PublicPort}),
  512. ; you may want to set this. Otherwise, don't set it, because it's already protected.
  513. ; GridService = "OpenSim.Services.GridService.dll:GridService"
  514. ;
  515. ; Additionally, if you run this server behind a proxy, set this to true
  516. ; HasProxy = false
  517. [GridInfoService]
  518. ; These settings are used to return information on a get_grid_info call.
  519. ; Client launcher scripts and third-party clients make use of this to
  520. ; autoconfigure the client and to provide a nice user experience. If you
  521. ; want to facilitate that, you should configure the settings here according
  522. ; to your grid or standalone setup.
  523. ;
  524. ; See http://opensimulator.org/wiki/GridInfo
  525. ; login uri: for grid this is the login server URI
  526. login = ${Const|BaseURL}:${Const|PublicPort}/
  527. ; long grid name: the long name of your grid
  528. gridname = "the lost continent of hippo"
  529. ; short grid name: the short name of your grid
  530. gridnick = "hippogrid"
  531. ; login page: optional: if it exists it will be used to tell the client to use
  532. ; this as splash page
  533. ;welcome = ${Const|BaseURL}/welcome
  534. ; helper uri: optional: if it exists it will be used to tell the client to use
  535. ; this for all economy related things
  536. ;economy = ${Const|BaseURL}/economy
  537. ; web page of grid: optional: page providing further information about your grid
  538. ;about = ${Const|BaseURL}/about
  539. ; account creation: optional: page providing further information about obtaining
  540. ; a user account on your grid
  541. ;register = ${Const|BaseURL}/register
  542. ; help: optional: page providing further assistance for users of your grid
  543. ;help = ${Const|BaseURL}/help
  544. ; password help: optional: page providing password assistance for users of your grid
  545. ;password = ${Const|BaseURL}/password
  546. ; HG address of the gatekeeper, if you have one
  547. ; this is the entry point for all the regions of the world
  548. ; gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/
  549. ; a http page for grid status
  550. ;GridStatus = ${Const|BaseURL}:${Const|PublicPort}/GridStatus
  551. ; a RSS page for grid status
  552. ;GridStatusRSS = ${Const|BaseURL}:${Const|PublicPort}/GridStatusRSS
  553. ; optional web page for profiles
  554. ;[AGENT_NAME] will be converted to Firstname.LastName by viewers
  555. ; web_profile_url = http://webprofilesurl:ItsPort?name=[AGENT_NAME]
  556. [GatekeeperService]
  557. LocalServiceModule = "OpenSim.Services.HypergridService.dll:GatekeeperService"
  558. ;; for the service
  559. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  560. UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
  561. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  562. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  563. GridService = "OpenSim.Services.GridService.dll:GridService"
  564. AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector"
  565. SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
  566. ; how does the outside world reach me? This acts as public key too.
  567. ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented
  568. ; ExternalName = "${Const|BaseURL}:${Const|PublicPort}"
  569. ; Does this grid allow incoming links to any region in it?
  570. ; If false, HG TPs happen only to the Default regions specified in [GridService] section
  571. AllowTeleportsToAnyRegion = true
  572. ; If you run this gatekeeper server behind a proxy, set this to true
  573. ; HasProxy = false
  574. ;; Are foreign visitors allowed?
  575. ;ForeignAgentsAllowed = true
  576. ;;
  577. ;; If ForeignAgentsAllowed is true, make exceptions using AllowExcept.
  578. ;; Leave blank or commented for no exceptions.
  579. ; AllowExcept = "http://griefer.com:8002, http://enemy.com:8002"
  580. ;;
  581. ;; If ForeignAgentsAllowed is false, make exceptions using DisallowExcept
  582. ;; Leave blank or commented for no exceptions.
  583. ; DisallowExcept = "http://myfriendgrid.com:8002, http://myboss.com:8002"
  584. ;; Allow banning via hashed MAC must be set in both [GatekeeperService] and [LoginService]
  585. ;DeniedMacs = "YOURLONGMACTRSING ANOTHERMAC"
  586. [UserAgentService]
  587. LocalServiceModule = "OpenSim.Services.HypergridService.dll:UserAgentService"
  588. ;; for the service
  589. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  590. GridService = "OpenSim.Services.GridService.dll:GridService"
  591. GatekeeperService = "OpenSim.Services.HypergridService.dll:GatekeeperService"
  592. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  593. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  594. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  595. ; If you run this user agent server behind a proxy, set this to true
  596. ; HasProxy = false
  597. ;; If you separate the UserAgentService from the LoginService, set this to
  598. ;; the IP address of the machine where your LoginService is
  599. ;LoginServerIP = "127.0.0.1"
  600. ; User level required to be contacted from other grids
  601. ;LevelOutsideContacts = 0
  602. ;; Restrictions on destinations of local users.
  603. ;; Are local users allowed to visit other grids?
  604. ;; What user level? Use variables of this forrm:
  605. ;; ForeignTripsAllowed_Level_<UserLevel> = true | false
  606. ;; (the default is true)
  607. ;; For example:
  608. ; ForeignTripsAllowed_Level_0 = false
  609. ; ForeignTripsAllowed_Level_200 = true ; true is default, no need to say it
  610. ;;
  611. ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept
  612. ;; Leave blank or commented for no exceptions.
  613. ; DisallowExcept_Level_0 = "http://myothergrid.com:8002, http://boss.com:8002"
  614. ;;
  615. ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept.
  616. ;; Leave blank or commented for no exceptions.
  617. ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002"
  618. ;; This variable controls what is exposed to profiles of local users
  619. ;; as seen from outside of this grid. Leave it uncommented for exposing
  620. ;; UserTitle, UserFlags and the creation date. Uncomment and change to False
  621. ;; to block this info from being exposed.
  622. ; ShowUserDetailsInHGProfile = True
  623. ; * The interface that local users get when they are in other grids.
  624. ; * This restricts the inventory operations while in other grids.
  625. ; * Still not completely safe, especially if users perform inventory operations
  626. ; * while in those grids. The more the user accesses his/her inventory, the more
  627. ; * those simulators will know about the user's inventory.
  628. ; *
  629. [HGInventoryService]
  630. ; For the InventoryServiceInConnector
  631. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGSuitcaseInventoryService"
  632. ;; alternatives:
  633. ;; HG1.5, more permissive, not recommended, but still supported
  634. ;LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInventoryService"
  635. ;; HG1.0, totally permissive, not recommended, but OK for grids with 100% trust
  636. ;LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"
  637. UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  638. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  639. ; HGInventoryService is a public-facing inventory service that allows users to
  640. ; interact with their suitcase folder when on a foreign grid. This reuses the general inventory service connector.
  641. ; Hence, if the user has set up authentication in [Network] to protect their private services
  642. ; make sure it is not set here.
  643. AuthType = None
  644. ;; Can overwrite the default in [Hypergrid], but probably shouldn't
  645. ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}"
  646. ; * The interface that local users get when they are in other grids.
  647. ; * This restricts the access that the rest of the world has to
  648. ; * the assets of this world.
  649. ; *
  650. [HGAssetService]
  651. ;; Use the second option if you have FSAsset service enabled
  652. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGAssetService"
  653. ;LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGFSAssetService"
  654. UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  655. ; HGAssetService is a public-facing service that allows users to
  656. ; read and create assets when on another grid. This reuses the general asset service connector.
  657. ; Hence, if the user has set up authentication in [Network] to protect their private services
  658. ; make sure it is overriden for this public service.
  659. AuthType = None
  660. ;; Can overwrite the default in [Hypergrid], but probably shouldn't
  661. ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}"
  662. ;; The asset types that this grid can export to / import from other grids.
  663. ;; Comma separated.
  664. ;; Valid values are all the asset types in OpenMetaverse.AssetType, namely:
  665. ;; Unknown, Texture, Sound, CallingCard, Landmark, Clothing, Object, Notecard, LSLText,
  666. ;; LSLBytecode, TextureTGA, Bodypart, SoundWAV, ImageTGA, ImageJPEG, Animation, Gesture, Mesh
  667. ;;
  668. ;; Leave blank or commented if you don't want to apply any restrictions.
  669. ;; A more strict, but still reasonable, policy may be to disallow the exchange
  670. ;; of scripts, like so:
  671. ; DisallowExport ="LSLText"
  672. ; DisallowImport ="LSLBytecode"
  673. [HGFriendsService]
  674. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGFriendsService"
  675. UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
  676. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  677. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  678. GridService = "OpenSim.Services.GridService.dll:GridService"
  679. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  680. [HGInstantMessageService]
  681. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInstantMessageService"
  682. GridService = "OpenSim.Services.GridService.dll:GridService"
  683. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  684. UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
  685. ; This should always be true in the Robust config
  686. InGatekeeper = True
  687. [Messaging]
  688. ; OfflineIM
  689. OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
  690. ; maximum number of offline ims per user, default 25
  691. ;MaxOfflineIMs = 25;
  692. [Groups]
  693. ;; for the HG Groups service
  694. OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService"
  695. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  696. ;; What is the HomeURI of users associated with this grid?
  697. ;; Can overwrite the default in [Hypergrid], but probably shouldn't
  698. ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}"
  699. ;; end hypergrid
  700. ;; Sets the maximum number of groups an agent may join
  701. ; MaxAgentGroups = 42
  702. [UserProfilesService]
  703. LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService"
  704. Enabled = false
  705. ;; Configure this for separate profiles database
  706. ;; ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
  707. ;; Realm = UserProfiles
  708. UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService
  709. AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  710. [BakedTextureService]
  711. LocalServiceModule = "OpenSim.Server.Handlers.dll:XBakes"
  712. ;; This directory must be writable by the user ROBUST runs as. It will be created automatically.
  713. BaseDirectory = "./bakes"
  714. [MuteListService]
  715. LocalServiceModule = "OpenSim.Services.MuteListService.dll:MuteListService"