aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs16
1 files changed, 13 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index bee223a..8ef2902 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1632,14 +1632,24 @@ namespace OpenSim.Region.CoreModules.World.Land
1632 1632
1633 protected void InstallInterfaces() 1633 protected void InstallInterfaces()
1634 { 1634 {
1635 Command showCommand = 1635 Command clearCommand
1636 new Command("show", CommandIntentions.COMMAND_STATISTICAL, ShowParcelsCommand, "Shows all parcels on the current region."); 1636 = new Command("clear", CommandIntentions.COMMAND_HAZARDOUS, ClearCommand, "Clears all the parcels from the region.");
1637 Command showCommand
1638 = new Command("show", CommandIntentions.COMMAND_STATISTICAL, ShowParcelsCommand, "Shows all parcels on the region.");
1637 1639
1640 m_commander.RegisterCommand("clear", clearCommand);
1638 m_commander.RegisterCommand("show", showCommand); 1641 m_commander.RegisterCommand("show", showCommand);
1639 1642
1640 // Add this to our scene so scripts can call these functions 1643 // Add this to our scene so scripts can call these functions
1641 m_scene.RegisterModuleCommander(m_commander); 1644 m_scene.RegisterModuleCommander(m_commander);
1642 } 1645 }
1646
1647 protected void ClearCommand(Object[] args)
1648 {
1649 Clear();
1650
1651 MainConsole.Instance.Output("Cleared all parcels from {0}", m_scene.RegionInfo.RegionName);
1652 }
1643 1653
1644 protected void ShowParcelsCommand(Object[] args) 1654 protected void ShowParcelsCommand(Object[] args)
1645 { 1655 {