Added "show modules" command that if at root level will display a list of loaded "shared modules" (modules instances that are shared by multiple regions) or if a region is set then will display the list of local modules loaded in that region.

Can now use "show users" when a region is set, to have a list of users in just that region displayed.
This commit is contained in:
MW
2007-09-04 17:09:47 +00:00
parent d7b7ff3d49
commit 0eef82291e
2 changed files with 57 additions and 3 deletions

View File

@@ -585,6 +585,13 @@ namespace OpenSim
}
}
break;
case "modules":
m_log.Error("The currently loaded shared modules are:");
foreach (OpenSim.Region.Environment.Interfaces.IRegionModule module in m_moduleLoader.LoadedSharedModules.Values)
{
m_log.Error("Shared Module: " + module.GetName());
}
break;
}
}