diff options
author | Diva Canto | 2013-02-21 17:26:19 -0800 |
---|---|---|
committer | Diva Canto | 2013-02-21 17:26:19 -0800 |
commit | e515cdddec435e97e9ed4722de08ee410e94a7e6 (patch) | |
tree | 0b090dc495ef464e037d4f134f059bce35504d2f /bin | |
parent | BulletSim: add OutOfBounds logic and some position sanity checking (diff) | |
download | opensim-SC-e515cdddec435e97e9ed4722de08ee410e94a7e6.zip opensim-SC-e515cdddec435e97e9ed4722de08ee410e94a7e6.tar.gz opensim-SC-e515cdddec435e97e9ed4722de08ee410e94a7e6.tar.bz2 opensim-SC-e515cdddec435e97e9ed4722de08ee410e94a7e6.tar.xz |
Simplification of HG configs: HomeURI and GatekeeperURI now are defined as default under [Startup]. They can then be overwritten in the other sections (but probably shouldn't). I kept the existing code for backwards compatibility, so this should not cause any breaks from people's current configurations. But people should move to have these 2 vars under [Startup] -- see OpenSim.ini.example and Robust.HG.ini.example. And yes, both names now end with "URI" for consistency.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSim.ini.example | 16 | ||||
-rw-r--r-- | bin/Robust.HG.ini.example | 63 | ||||
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 25 |
3 files changed, 74 insertions, 30 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index cb978f1..4199441 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -346,6 +346,21 @@ | |||
346 | ;; - "Imprudence 1.3.1" has access | 346 | ;; - "Imprudence 1.3.1" has access |
347 | ; BannedViewerList = | 347 | ; BannedViewerList = |
348 | 348 | ||
349 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | ||
350 | ;; If this is a standalone world, this is the address of this instance. | ||
351 | ;; If this is a grided simulator, this is the address of the external robust server that | ||
352 | ;; runs the UserAgentsService. | ||
353 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
354 | ;; This is a default that can be overwritten in some sections. | ||
355 | ; HomeURI = "http://127.0.0.1:9000" | ||
356 | |||
357 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | ||
358 | ;; If this is a standalone world, this is the address of this instance. | ||
359 | ;; If this is a grided simulator, this is the address of the external robust server | ||
360 | ;; that runs the Gatekeeper service. | ||
361 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | ||
362 | ;; This is a default that can be overwritten in some sections. | ||
363 | ; GatekeeperURI = "http://127.0.0.1:9000" | ||
349 | 364 | ||
350 | [Estates] | 365 | [Estates] |
351 | ; If these values are commented out then the user will be asked for estate details when required (this is the normal case). | 366 | ; If these values are commented out then the user will be asked for estate details when required (this is the normal case). |
@@ -961,6 +976,7 @@ | |||
961 | ;# {HomeURI} {ServicesConnectorModule:Groups HG Service Connector} {What's the home address of this world?} {} | 976 | ;# {HomeURI} {ServicesConnectorModule:Groups HG Service Connector} {What's the home address of this world?} {} |
962 | ;; Used for V2 in HG only. For example | 977 | ;; Used for V2 in HG only. For example |
963 | ;; http://mygridserver.com:9000 or http://mygridserver.com:8002 | 978 | ;; http://mygridserver.com:9000 or http://mygridserver.com:8002 |
979 | ;; If you have this set under [Startup], no need to set it here, leave it commented | ||
964 | ; HomeURI = "" | 980 | ; HomeURI = "" |
965 | 981 | ||
966 | ;# {MessagingEnabled} {Module:GroupsModule Module:Groups Module V2} {Is groups messaging enabled?} {true false} true | 982 | ;# {MessagingEnabled} {Module:GroupsModule Module:Groups Module V2} {Is groups messaging enabled?} {true false} true |
diff --git a/bin/Robust.HG.ini.example b/bin/Robust.HG.ini.example index 3858a3c..274132e 100644 --- a/bin/Robust.HG.ini.example +++ b/bin/Robust.HG.ini.example | |||
@@ -22,17 +22,31 @@ | |||
22 | ; * | 22 | ; * |
23 | [Startup] | 23 | [Startup] |
24 | 24 | ||
25 | ; Plugin Registry Location | 25 | ; Plugin Registry Location |
26 | ; Set path to directory for plugin registry. Information | 26 | ; Set path to directory for plugin registry. Information |
27 | ; about the registered repositories and installed plugins | 27 | ; about the registered repositories and installed plugins |
28 | ; will be stored here | 28 | ; will be stored here |
29 | ; The Robust.exe process must hvae R/W access to the location | 29 | ; The Robust.exe process must hvae R/W access to the location |
30 | RegistryLocation = "." | 30 | RegistryLocation = "." |
31 | 31 | ||
32 | ; Modular configurations | 32 | ; Modular configurations |
33 | ; Set path to directory for modular ini files... | 33 | ; Set path to directory for modular ini files... |
34 | ; The Robust.exe process must hvae R/W access to the location | 34 | ; The Robust.exe process must hvae R/W access to the location |
35 | ConfigDirectory = "/home/opensim/etc/Configs" | 35 | ConfigDirectory = "/home/opensim/etc/Configs" |
36 | |||
37 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | ||
38 | ;; This is the address of the external robust server that | ||
39 | ;; runs the UserAgentsService, possibly this server. | ||
40 | ;; For example http://myworld.com:8002 | ||
41 | ;; This is a default that can be overwritten in some sections. | ||
42 | ; HomeURI = "http://127.0.0.1:8002" | ||
43 | |||
44 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | ||
45 | ;; This is the address of the external robust server | ||
46 | ;; that runs the Gatekeeper service, possibly this server. | ||
47 | ;; For example http://myworld.com:8002 | ||
48 | ;; This is a default that can be overwritten in some sections. | ||
49 | ; GatekeeperURI = "http://127.0.0.1:8002" | ||
36 | 50 | ||
37 | [ServiceList] | 51 | [ServiceList] |
38 | 52 | ||
@@ -155,7 +169,8 @@ HGAssetServiceConnector = "HGAssetService@8002/OpenSim.Server.Handlers.dll:Asset | |||
155 | ;; Allow Hyperlinks to be created at the console | 169 | ;; Allow Hyperlinks to be created at the console |
156 | HypergridLinker = true | 170 | HypergridLinker = true |
157 | 171 | ||
158 | Gatekeeper = "http://127.0.0.1:8002" | 172 | ;; If you have this set under [Startup], no need to set it here, leave it commented |
173 | ; GatekeeperURI = "http://127.0.0.1:8002" | ||
159 | 174 | ||
160 | 175 | ||
161 | ; * This is the configuration for the freeswitch server in grid mode | 176 | ; * This is the configuration for the freeswitch server in grid mode |
@@ -309,8 +324,8 @@ HGAssetServiceConnector = "HGAssetService@8002/OpenSim.Server.Handlers.dll:Asset | |||
309 | ; HasProxy = false | 324 | ; HasProxy = false |
310 | 325 | ||
311 | ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs) | 326 | ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs) |
312 | ; CHANGE THIS | 327 | ;; If you have Gatekeeper set under [Startup], no need to set it here, leave it commented |
313 | GatekeeperURI = "http://127.0.0.1:8002" | 328 | ; GatekeeperURI = "http://127.0.0.1:8002" |
314 | 329 | ||
315 | SRV_HomeURI = "http://127.0.0.1:8002" | 330 | SRV_HomeURI = "http://127.0.0.1:8002" |
316 | SRV_InventoryServerURI = "http://127.0.0.1:8002" | 331 | SRV_InventoryServerURI = "http://127.0.0.1:8002" |
@@ -417,8 +432,8 @@ HGAssetServiceConnector = "HGAssetService@8002/OpenSim.Server.Handlers.dll:Asset | |||
417 | AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector" | 432 | AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector" |
418 | SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" | 433 | SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" |
419 | ; how does the outside world reach me? This acts as public key too. | 434 | ; how does the outside world reach me? This acts as public key too. |
420 | ; CHANGE THIS | 435 | ;; If you have GatekeeperURI set under [Startup], no need to set it here, leave it commented |
421 | ExternalName = "http://127.0.0.1:8002" | 436 | ; ExternalName = "http://127.0.0.1:8002" |
422 | 437 | ||
423 | ; Does this grid allow incoming links to any region in it? | 438 | ; Does this grid allow incoming links to any region in it? |
424 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section | 439 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section |
@@ -511,7 +526,9 @@ HGAssetServiceConnector = "HGAssetService@8002/OpenSim.Server.Handlers.dll:Asset | |||
511 | 526 | ||
512 | UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | 527 | UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService" |
513 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" | 528 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" |
514 | HomeURI = "http://127.0.0.1:8002" | 529 | |
530 | ;; Can overwrite the default in [Startup], but probably shouldn't | ||
531 | ; HomeURI = "http://127.0.0.1:8002" | ||
515 | 532 | ||
516 | ; * The interface that local users get when they are in other grids. | 533 | ; * The interface that local users get when they are in other grids. |
517 | ; * This restricts the access that the rest of the world has to | 534 | ; * This restricts the access that the rest of the world has to |
@@ -520,7 +537,9 @@ HGAssetServiceConnector = "HGAssetService@8002/OpenSim.Server.Handlers.dll:Asset | |||
520 | [HGAssetService] | 537 | [HGAssetService] |
521 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGAssetService" | 538 | LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGAssetService" |
522 | UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | 539 | UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService" |
523 | HomeURI = "http://127.0.0.1:8002" | 540 | |
541 | ;; Can overwrite the default in [Startup], but probably shouldn't | ||
542 | ; HomeURI = "http://127.0.0.1:8002" | ||
524 | 543 | ||
525 | ;; The asset types that this grid can export to / import from other grids. | 544 | ;; The asset types that this grid can export to / import from other grids. |
526 | ;; Comma separated. | 545 | ;; Comma separated. |
@@ -557,6 +576,10 @@ HGAssetServiceConnector = "HGAssetService@8002/OpenSim.Server.Handlers.dll:Asset | |||
557 | [Groups] | 576 | [Groups] |
558 | ;; for the HG Groups service | 577 | ;; for the HG Groups service |
559 | OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService" | 578 | OfflineIMService = "OpenSim.Addons.OfflineIM.dll:OfflineIMService" |
560 | ; What is the HomeURI of users associated with this grid? | ||
561 | HomeURI = "http://127.0.0.1:8002" | ||
562 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | 579 | UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService" |
580 | |||
581 | ;; What is the HomeURI of users associated with this grid? | ||
582 | ;; Can overwrite the default in [Startup], but probably shouldn't | ||
583 | ; HomeURI = "http://127.0.0.1:8002" | ||
584 | |||
585 | |||
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index ffa2d49..3129078 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -64,8 +64,8 @@ | |||
64 | Region_Welcome_Area = "DefaultRegion, FallbackRegion" | 64 | Region_Welcome_Area = "DefaultRegion, FallbackRegion" |
65 | 65 | ||
66 | ; === HG ONLY === | 66 | ; === HG ONLY === |
67 | ;; change this to the address of your simulator | 67 | ;; If you have this set under [Startup], no need to set it here, leave it commented |
68 | Gatekeeper="http://127.0.0.1:9000" | 68 | ; GatekeeperURI="http://127.0.0.1:9000" |
69 | 69 | ||
70 | [LibraryModule] | 70 | [LibraryModule] |
71 | ; Set this if you want to change the name of the OpenSim Library | 71 | ; Set this if you want to change the name of the OpenSim Library |
@@ -73,7 +73,8 @@ | |||
73 | 73 | ||
74 | [LoginService] | 74 | [LoginService] |
75 | WelcomeMessage = "Welcome, Avatar!" | 75 | WelcomeMessage = "Welcome, Avatar!" |
76 | GatekeeperURI = "http://127.0.0.1:9000" | 76 | ;; If you have Gatekeeper set under [Startup], no need to set it here, leave it commented |
77 | ; GatekeeperURI = "http://127.0.0.1:9000" | ||
77 | 78 | ||
78 | SRV_HomeURI = "http://127.0.0.1:9000" | 79 | SRV_HomeURI = "http://127.0.0.1:9000" |
79 | SRV_InventoryServerURI = "http://127.0.0.1:9000" | 80 | SRV_InventoryServerURI = "http://127.0.0.1:9000" |
@@ -218,7 +219,8 @@ | |||
218 | ;; HG configurations | 219 | ;; HG configurations |
219 | ;; | 220 | ;; |
220 | [GatekeeperService] | 221 | [GatekeeperService] |
221 | ExternalName = "http://127.0.0.1:9000" | 222 | ;; If you have GatekeeperURI set under [Startup], no need to set it here, leave it commented |
223 | ; ExternalName = "http://127.0.0.1:9000" | ||
222 | 224 | ||
223 | ; Does this grid allow incoming links to any region in it? | 225 | ; Does this grid allow incoming links to any region in it? |
224 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section | 226 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section |
@@ -274,10 +276,12 @@ | |||
274 | ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002" | 276 | ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002" |
275 | 277 | ||
276 | [HGInventoryService] | 278 | [HGInventoryService] |
277 | HomeURI = "http://127.0.0.1:9000" | 279 | ;; If you have this set under [Startup], no need to set it here, leave it commented |
280 | ; HomeURI = "http://127.0.0.1:9000" | ||
278 | 281 | ||
279 | [HGAssetService] | 282 | [HGAssetService] |
280 | HomeURI = "http://127.0.0.1:9000" | 283 | ;; If you have this set under [Startup], no need to set it here, leave it commented |
284 | ; HomeURI = "http://127.0.0.1:9000" | ||
281 | 285 | ||
282 | ;; The asset types that this grid can export to / import from other grids. | 286 | ;; The asset types that this grid can export to / import from other grids. |
283 | ;; Comma separated. | 287 | ;; Comma separated. |
@@ -293,8 +297,9 @@ | |||
293 | 297 | ||
294 | 298 | ||
295 | [HGInventoryAccessModule] | 299 | [HGInventoryAccessModule] |
296 | HomeURI = "http://127.0.0.1:9000" | 300 | ;; If you have these set under [Startup], no need to set it here, leave it commented |
297 | Gatekeeper = "http://127.0.0.1:9000" | 301 | ; HomeURI = "http://127.0.0.1:9000" |
302 | ; GatekeeperURI = "http://127.0.0.1:9000" | ||
298 | 303 | ||
299 | ;; If you want to protect your assets from being copied by foreign visitors | 304 | ;; If you want to protect your assets from being copied by foreign visitors |
300 | ;; uncomment the next line. You may want to do this on sims that have licensed content. | 305 | ;; uncomment the next line. You may want to do this on sims that have licensed content. |
@@ -311,8 +316,8 @@ | |||
311 | 316 | ||
312 | [Messaging] | 317 | [Messaging] |
313 | ; === HG ONLY === | 318 | ; === HG ONLY === |
314 | ;; change this to the address of your simulator | 319 | ;; If you have this set under [Startup], no need to set it here, leave it commented |
315 | Gatekeeper = "http://127.0.0.1:9000" | 320 | ; GatekeeperURI = "http://127.0.0.1:9000" |
316 | 321 | ||
317 | 322 | ||
318 | [EntityTransfer] | 323 | [EntityTransfer] |