aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index a0b9568..d3941d6 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -291,6 +291,16 @@ namespace OpenSim
291 "reset user password [<first> [<last> [<password>]]]", 291 "reset user password [<first> [<last> [<password>]]]",
292 "Reset a user password", HandleResetUserPassword); 292 "Reset a user password", HandleResetUserPassword);
293 } 293 }
294
295 m_console.Commands.AddCommand("hypergrid", false, "link-mapping", "link-mapping [<x> <y>] <cr>",
296 "Set local coordinate to map HG regions to", RunCommand);
297 m_console.Commands.AddCommand("hypergrid", false, "link-region",
298 "link-region <Xloc> <Yloc> <HostName>:<HttpPort>[:<RemoteRegionName>] <cr>",
299 "Link a hypergrid region", RunCommand);
300 m_console.Commands.AddCommand("hypergrid", false, "unlink-region",
301 "unlink-region <local name> or <HostName>:<HttpPort> <cr>",
302 "Unlink a hypergrid region", RunCommand);
303
294 } 304 }
295 305
296 public override void ShutdownSpecific() 306 public override void ShutdownSpecific()
@@ -625,6 +635,12 @@ namespace OpenSim
625 m_sceneManager.CacheJ2kDecode(1); 635 m_sceneManager.CacheJ2kDecode(1);
626 } 636 }
627 break; 637 break;
638
639 case "link-region":
640 case "unlink-region":
641 case "link-mapping":
642 HGCommands.RunHGCommand(command, cmdparams, m_sceneManager.CurrentOrFirstScene);
643 break;
628 } 644 }
629 } 645 }
630 646