aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs27
1 files changed, 17 insertions, 10 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 3d80c6e..6d3331b 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -916,17 +916,24 @@ namespace OpenSim
916 break; 916 break;
917 917
918 case "regions": 918 case "regions":
919 ConsoleDisplayTable cdt = new ConsoleDisplayTable();
920 cdt.AddColumn("Name", ConsoleDisplayUtil.RegionNameSize);
921 cdt.AddColumn("ID", ConsoleDisplayUtil.UuidSize);
922 cdt.AddColumn("Position", ConsoleDisplayUtil.CoordTupleSize);
923 cdt.AddColumn("Port", ConsoleDisplayUtil.PortSize);
924 cdt.AddColumn("Ready?", 6);
925 cdt.AddColumn("Estate", ConsoleDisplayUtil.EstateNameSize);
919 SceneManager.ForEachScene( 926 SceneManager.ForEachScene(
920 delegate(Scene scene) 927 scene =>
921 { 928 {
922 MainConsole.Instance.Output(String.Format( 929 RegionInfo ri = scene.RegionInfo;
923 "Region Name: {0}, Region XLoc: {1}, Region YLoc: {2}, Region Port: {3}, Estate Name: {4}", 930 cdt.AddRow(
924 scene.RegionInfo.RegionName, 931 ri.RegionName, ri.RegionID, string.Format("{0},{1}", ri.RegionLocX, ri.RegionLocY),
925 scene.RegionInfo.RegionLocX, 932 ri.InternalEndPoint.Port, scene.Ready ? "Yes" : "No", ri.EstateSettings.EstateName);
926 scene.RegionInfo.RegionLocY, 933 }
927 scene.RegionInfo.InternalEndPoint.Port, 934 );
928 scene.RegionInfo.EstateSettings.EstateName)); 935
929 }); 936 MainConsole.Instance.Output(cdt.ToString());
930 break; 937 break;
931 938
932 case "ratings": 939 case "ratings":