Robust.HG.ini.example 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  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. ; * The startup section lists all the connectors to start up in this server
  13. ; * instance. This may be only one, or it may be the entire server suite.
  14. ; * Multiple connectors should be separated by commas.
  15. ; *
  16. ; * These are the IN connectors the server uses, the in connectors
  17. ; * read this config file and load the needed service and database connectors
  18. ; *
  19. ; * The full syntax of a connector string is:
  20. ; * [[<ConfigName>@]<port>/]<dll name>[:<class name>]
  21. ; *
  22. [Startup]
  23. ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector,8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector,HGInventoryService@8002/OpenSim.Server.Handlers.dll:XInventoryInConnector,HGAssetService@8002/OpenSim.Server.Handlers.dll:AssetServiceConnector,8002/OpenSim.Server.Handlers.dll:HeloServiceInConnector,8002/OpenSim.Server.Handlers.dll:HGFriendsServerConnector,8002/OpenSim.Server.Handlers.dll:InstantMessageServerConnector,8003/OpenSim.Server.Handlers.dll:MapAddServiceConnector,8002/OpenSim.Server.Handlers.dll:MapGetServiceConnector"
  24. ; * This is common for all services, it's the network setup for the entire
  25. ; * server instance, if none is specified above
  26. ; *
  27. [Network]
  28. port = 8003
  29. ; HTTPS for "Out of band" management applications such as the remote admin
  30. ; module. May specify https_main = True to make the main http server
  31. ; use https or "False" to make the main server HTTP
  32. ; https_main = False
  33. ;
  34. ; Create https_listener = "True" will create a listener on the port
  35. ; specified. Provide the path to your server certificate along with it's
  36. ; password
  37. ; https_listener = False
  38. ;
  39. ; Set our listener to this port
  40. ; https_port = 0
  41. ;
  42. ; Path to X509 certificate
  43. ; cert_path = "path/to/cert.p12"
  44. ;
  45. ; Password for cert
  46. ; cert_pass = "password"
  47. ; * The following are for the remote console
  48. ; * They have no effect for the local or basic console types
  49. ; * Leave commented to diable logins to the console
  50. ;ConsoleUser = Test
  51. ;ConsolePass = secret
  52. ;ConsolePort = 0
  53. [DatabaseService]
  54. StorageProvider = "OpenSim.Data.MySQL.dll"
  55. ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;Old Guids=true;"
  56. ; * As an example, the below configuration precisely mimicks the legacy
  57. ; * asset server. It is read by the asset IN connector (defined above)
  58. ; * and it then loads the OUT connector (a local database module). That,
  59. ; * in turn, reads the asset loader and database connection information
  60. ; *
  61. [AssetService]
  62. LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
  63. DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
  64. AssetLoaderArgs = "./assets/AssetSets.xml"
  65. ; * This configuration loads the inventory server modules. It duplicates
  66. ; * the function of the legacy inventory server
  67. ; *
  68. [InventoryService]
  69. LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"
  70. ; * This is the new style grid service.
  71. ; * "Realm" is the table that is used for user lookup.
  72. ; * It defaults to "regions", which uses the legacy tables
  73. ; *
  74. [GridService]
  75. LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
  76. HypergridLinker = true
  77. ; Realm = "regions"
  78. ; AllowDuplicateNames = "True"
  79. ;; Perform distance check for the creation of a linked region
  80. ; Check4096 = "True"
  81. ;; Needed to display non-default map tile images for linked regions
  82. AssetService = "OpenSim.Services.AssetService.dll:AssetService"
  83. ;; Directory for map tile images of linked regions
  84. ; MapTileDirectory = "./maptiles"
  85. ;; Next, we can specify properties of regions, including default and fallback regions
  86. ;; The syntax is: Region_<RegionName> = "<flags>"
  87. ;; or: Region_<RegionID> = "<flags>"
  88. ;; where <flags> can be DefaultRegion, FallbackRegion, NoDirectLogin, Persistent, LockedOut,Reservation,NoMove,Authenticate
  89. ;; For example:
  90. ; Region_Welcome_Area = "DefaultRegion, FallbackRegion"
  91. ; (replace spaces with underscore)
  92. ; * This is the configuration for the freeswitch server in grid mode
  93. [FreeswitchService]
  94. LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
  95. ;; The IP address of your FreeSWITCH server.
  96. ;; This address must be reachable by viewers.
  97. ; ServerAddress = 127.0.0.1
  98. ;; The following configuration parameters are optional
  99. ;; By default, this is the same as the ServerAddress
  100. ; Realm = 127.0.0.1
  101. ;; By default, this is the same as the ServerAddress on port 5060
  102. ; SIPProxy = 127.0.0.1:5060
  103. ;; Default is 5000ms
  104. ; DefaultTimeout = 5000
  105. ;; The dial plan context. Default is "default"
  106. ; Context = default
  107. ;; Currently unused
  108. ; UserName = freeswitch
  109. ;; Currently unused
  110. ; Password = password
  111. ;; The following parameters are for STUN = Simple Traversal of UDP through NATs
  112. ;; See http://wiki.freeswitch.org/wiki/NAT_Traversal
  113. ;; stun.freeswitch.org is not guaranteed to be running so use it in
  114. ;; production at your own risk
  115. ; EchoServer = 127.0.0.1
  116. ; EchoPort = 50505
  117. ; AttemptSTUN = false
  118. ; * This is the new style authentication service. Currently, only MySQL
  119. ; * is implemented.
  120. ; *
  121. [AuthenticationService]
  122. ; for the server connector
  123. LocalServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  124. ; Realm = "useraccounts"
  125. ;; Allow the service to process HTTP getauthinfo calls.
  126. ;; Default is false.
  127. ; AllowGetAuthInfo = false
  128. ;; Allow the service to process HTTP setauthinfo calls.
  129. ;; Default is false.
  130. ; AllowSetAuthInfo = false
  131. ;; Allow the service to process HTTP setpassword calls.
  132. ;; Default is false.
  133. ; AllowSetPassword = false
  134. [OpenIdService]
  135. ; for the server connector
  136. AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  137. UserAccountServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  138. ; * This is the new style user service.
  139. ; * "Realm" is the table that is used for user lookup.
  140. ; * It defaults to "useraccounts", which uses the new style.
  141. ; * Realm = "users" will use the legacy tables as an authentication source
  142. ; *
  143. [UserAccountService]
  144. ; for the server connector
  145. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  146. ; Realm = "useraccounts"
  147. ; These are for creating new accounts by the service
  148. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  149. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  150. GridService = "OpenSim.Services.GridService.dll:GridService"
  151. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  152. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  153. ;; This switch creates the minimum set of body parts and avatar entries for a viewer 2
  154. ;; to show a default "Ruth" avatar rather than a cloud for a newly created user.
  155. ;; Default is false
  156. CreateDefaultAvatarEntries = true
  157. ;; Allow the service to process HTTP createuser calls.
  158. ;; Default is false.
  159. ; AllowCreateUser = false
  160. ;; Allow the service to process HTTP setaccount calls.
  161. ;; Default is false.
  162. ; AllowSetAccount = false
  163. [GridUserService]
  164. ; for the server connector
  165. LocalServiceModule = "OpenSim.Services.UserAccountService.dll:GridUserService"
  166. [PresenceService]
  167. ; for the server connector
  168. LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
  169. [AvatarService]
  170. ; for the server connector
  171. LocalServiceModule = "OpenSim.Services.AvatarService.dll:AvatarService"
  172. [FriendsService]
  173. ; for the server connector
  174. LocalServiceModule = "OpenSim.Services.FriendsService.dll:FriendsService"
  175. [LibraryService]
  176. LibraryName = "OpenSim Library"
  177. DefaultLibrary = "./inventory/Libraries.xml"
  178. [LoginService]
  179. ; for the server connector
  180. LocalServiceModule = "OpenSim.Services.LLLoginService.dll:LLLoginService"
  181. ; for the service
  182. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  183. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  184. AuthenticationService = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"
  185. InventoryService = "OpenSim.Services.InventoryService.dll:XInventoryService"
  186. AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService"
  187. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  188. GridService = "OpenSim.Services.GridService.dll:GridService"
  189. SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
  190. LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService"
  191. UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
  192. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  193. ;; Ask co-operative viewers to use a different currency name
  194. ;Currency = ""
  195. WelcomeMessage = "Welcome, Avatar!"
  196. AllowRemoteSetLoginLevel = "false"
  197. ; For V2 map
  198. MapTileURL = "http://127.0.0.1:8002";
  199. ; For V2/3 Web Profiles
  200. ; Work in progress: The ProfileServerURL/OpenIDServerURL are
  201. ; being used in a development viewer as support for webprofiles
  202. ; is being developed across the componets
  203. ;
  204. ; ProfileServerURL = "http://127.0.0.1/profiles/[AGENT_NAME]"
  205. ;
  206. ; For V2/V3 webapp authentication SSO
  207. ; OpenIDServerURL = "http://127.0.0.1/openid/openidserver/"
  208. ; If you run this login server behind a proxy, set this to true
  209. ; HasProxy = false
  210. ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs)
  211. ; CHANGE THIS
  212. GatekeeperURI = "http://127.0.0.1:8002"
  213. SRV_HomeURI = "http://127.0.0.1:8002"
  214. SRV_InventoryServerURI = "http://127.0.0.1:8002"
  215. SRV_AssetServerURI = "http://127.0.0.1:8002"
  216. SRV_ProfileServerURI = "http://127.0.0.1:8002"
  217. SRV_FriendsServerURI = "http://127.0.0.1:8002"
  218. SRV_IMServerURI = "http://127.0.0.1:8002"
  219. ;; Regular expressions for controlling which client versions are accepted/denied.
  220. ;; An empty string means nothing is checked.
  221. ;;
  222. ;; Example 1: allow only these 3 types of clients (any version of them)
  223. ;; AllowedClients = "Imprudence|Hippo|Second Life"
  224. ;;
  225. ;; Example 2: allow all clients except these
  226. ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
  227. ;;
  228. ;; Note that these are regular expressions, so every character counts.
  229. ;; Also note that this is very weak security and should not be trusted as a reliable means
  230. ;; for keeping bad clients out; modified clients can fake their identifiers.
  231. ;;
  232. ;;
  233. ;AllowedClients = ""
  234. ;DeniedClients = ""
  235. ;# {DSTZone} {} {Override Daylight Saving Time rules} {* none local} "America/Los_Angeles;Pacific Standard Time"
  236. ;; Viewers do not receive timezone information from the server - almost all (?) default to Pacific Standard Time
  237. ;; However, they do rely on the server to tell them whether it's Daylight Saving Time or not.
  238. ;; Hence, calculating DST based on a different timezone can result in a misleading viewer display and inconsistencies between grids.
  239. ;; By default, this setting uses various timezone names to calculate DST with regards to the viewer's standard PST.
  240. ;; Options are
  241. ;; "none" no DST
  242. ;; "local" use the server's only timezone to calculate DST. This is previous OpenSimulator behaviour.
  243. ;; "America/Los_Angeles;Pacific Standard Time" use these timezone names to look up Daylight savings.
  244. ;; 'America/Los_Angeles' is used on Linux/Mac systems whilst 'Pacific Standard Time' is used on Windows
  245. DSTZone = "America/Los_Angeles;Pacific Standard Time"
  246. [MapImageService]
  247. LocalServiceModule = "OpenSim.Services.MapImageService.dll:MapImageService"
  248. ; Set this if you want to change the default
  249. ; TilesStoragePath = "maptiles"
  250. ;
  251. ; If for some reason you have the AddMapTile service outside the firewall (e.g. 8002),
  252. ; you may want to set this. Otherwise, don't set it, because it's already protected.
  253. ; GridService = "OpenSim.Services.GridService.dll:GridService"
  254. ;
  255. ; Additionally, if you run this server behind a proxy, set this to true
  256. ; HasProxy = false
  257. [GridInfoService]
  258. ; These settings are used to return information on a get_grid_info call.
  259. ; Client launcher scripts and third-party clients make use of this to
  260. ; autoconfigure the client and to provide a nice user experience. If you
  261. ; want to facilitate that, you should configure the settings here according
  262. ; to your grid or standalone setup.
  263. ;
  264. ; See http://opensimulator.org/wiki/GridInfo
  265. ; login uri: for grid this is the login server URI
  266. login = http://127.0.0.1:8002/
  267. ; long grid name: the long name of your grid
  268. gridname = "the lost continent of hippo"
  269. ; short grid name: the short name of your grid
  270. gridnick = "hippogrid"
  271. ; login page: optional: if it exists it will be used to tell the client to use
  272. ; this as splash page
  273. ;welcome = http://127.0.0.1/welcome
  274. ; helper uri: optional: if it exists if will be used to tell the client to use
  275. ; this for all economy related things
  276. ;economy = http://127.0.0.1:8002/
  277. ; web page of grid: optional: page providing further information about your grid
  278. ;about = http://127.0.0.1/about/
  279. ; account creation: optional: page providing further information about obtaining
  280. ; a user account on your grid
  281. ;register = http://127.0.0.1/register
  282. ; help: optional: page providing further assistance for users of your grid
  283. ;help = http://127.0.0.1/help
  284. ; password help: optional: page providing password assistance for users of your grid
  285. ;password = http://127.0.0.1/password
  286. ; HG address of the gatekeeper, if you have one
  287. ; this is the entry point for all the regions of the world
  288. ; gatekeeper = http://127.0.0.1:8002/
  289. ; HG user domain, if you have one
  290. ; this is the entry point for all user-related HG services
  291. ; uas = http://127.0.0.1:8002/
  292. [GatekeeperService]
  293. LocalServiceModule = "OpenSim.Services.HypergridService.dll:GatekeeperService"
  294. ;; for the service
  295. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  296. UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
  297. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  298. GridService = "OpenSim.Services.GridService.dll:GridService"
  299. AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector"
  300. SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
  301. ; how does the outside world reach me? This acts as public key too.
  302. ; CHANGE THIS
  303. ExternalName = "http://127.0.0.1:8002"
  304. ; Does this grid allow incoming links to any region in it?
  305. ; If false, HG TPs happen only to the Default regions specified in [GridService] section
  306. AllowTeleportsToAnyRegion = true
  307. ; If you run this gatekeeper server behind a proxy, set this to true
  308. ; HasProxy = false
  309. ;; Regular expressions for controlling which client versions are accepted/denied.
  310. ;; An empty string means nothing is checked.
  311. ;;
  312. ;; Example 1: allow only these 3 types of clients (any version of them)
  313. ;; AllowedClients = "Imprudence|Hippo|Second Life"
  314. ;;
  315. ;; Example 2: allow all clients except these
  316. ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald"
  317. ;;
  318. ;; Note that these are regular expressions, so every character counts.
  319. ;; Also note that this is very weak security and should not be trusted as a reliable means
  320. ;; for keeping bad clients out; modified clients can fake their identifiers.
  321. ;;
  322. ;;
  323. ;AllowedClients = ""
  324. ;DeniedClients = ""
  325. [UserAgentService]
  326. LocalServiceModule = "OpenSim.Services.HypergridService.dll:UserAgentService"
  327. ;; for the service
  328. GridUserService = "OpenSim.Services.UserAccountService.dll:GridUserService"
  329. GridService = "OpenSim.Services.GridService.dll:GridService"
  330. GatekeeperService = "OpenSim.Services.HypergridService.dll:GatekeeperService"
  331. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  332. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  333. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  334. ; If you run this user agent server behind a proxy, set this to true
  335. ; HasProxy = false
  336. ;; If you separate the UserAgentService from the LoginService, set this to
  337. ;; the IP address of the machine where your LoginService is
  338. ;LoginServerIP = "127.0.0.1"
  339. ; User level required to be contacted from other grids
  340. ;LevelOutsideContacts = 0
  341. ; * The interface that local users get when they are in other grids.
  342. ; * This restricts the inventory operations while in other grids.
  343. ; * Still not completely safe, especially if users perform inventory operations
  344. ; * while in those grids. The more the user accesses his/her inventory, the more
  345. ; * those simulators will know about the user's inventory.
  346. ; *
  347. [HGInventoryService]
  348. ; For the InventoryServiceInConnector
  349. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInventoryService"
  350. UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  351. HomeURI = "http://127.0.0.1:8002"
  352. ; * The interface that local users get when they are in other grids.
  353. ; * This restricts the access that the rest of the world has to
  354. ; * the assets of this world.
  355. ; *
  356. [HGAssetService]
  357. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGAssetService"
  358. UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  359. HomeURI = "http://127.0.0.1:8002"
  360. [HGFriendsService]
  361. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGFriendsService"
  362. UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
  363. FriendsService = "OpenSim.Services.FriendsService.dll:FriendsService"
  364. UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
  365. GridService = "OpenSim.Services.GridService.dll:GridService"
  366. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  367. [HGInstantMessageService]
  368. LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInstantMessageService"
  369. GridService = "OpenSim.Services.GridService.dll:GridService"
  370. PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
  371. UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
  372. ; This should always be true in the Robust config
  373. InGatekeeper = True
  374. [Messaging]
  375. ; If you have an Offline IM server, set the vars in this section, so that
  376. ; incomming IMs to local users from foreign grids can be saved
  377. ;
  378. ;# {OfflineMessageURL} {OfflineMessageModule:OfflineMessageModule} {URL of offline messaging service} {}
  379. ;; URL of web service for offline message storage
  380. ; OfflineMessageURL = http://yourserver/Offline.php
  381. ;; Control whether group messages are forwarded to offline users.
  382. ;; Default is true.
  383. ;; This applies to the core groups module (Flotsam) only.
  384. ; ForwardOfflineGroupMessages = true