Thanks SachaMagne for a patch which adds the following console commands:

login-enable : Allow login at sim level (opensim.exe)
login-disable: Stop any login BUT keep the logged avt 
login-status : Return the actual status
This commit is contained in:
Dahlia Trimble
2008-11-24 09:53:49 +00:00
parent 95fec14201
commit d8bb20fc1c
2 changed files with 32 additions and 1 deletions

View File

@@ -303,6 +303,21 @@ namespace OpenSim
return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, email, regX, regY);
}
public void ProcessLogin(bool LoginEnabled)
{
if (LoginEnabled)
{
m_log.Info("[Login] Login are now enabled ");
m_commsManager.GridService.RegionLoginsEnabled = true;
}
else
{
m_log.Info("[Login] Login are now disabled ");
m_commsManager.GridService.RegionLoginsEnabled = false;
}
}
/// <summary>
/// Execute the region creation process. This includes setting up scene infrastructure.
/// </summary>