mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user