From 55dc0dc2670f0db384d7ff5bad3d810a08ffbd34 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 29 Jan 2008 14:43:45 +0000 Subject: * Patch from Ansi (IBM) * Allows the creation of a user via the RemoteAdminPlugin. * Many thanks! --- OpenSim/Region/Application/OpenSimMain.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index a620bd4..f0e60cf 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -436,6 +436,10 @@ namespace OpenSim m_sceneManager.OnRestartSim += handleRestartRegion; } + public LLUUID CreateUser(string tempfirstname, string templastname, string tempPasswd, uint regX, uint regY) + { + return m_commsManager.AddUser(tempfirstname,templastname,tempPasswd,regX,regY); + } public UDPServer CreateRegion(RegionInfo regionInfo) { @@ -678,6 +682,7 @@ namespace OpenSim m_log.Error(" alert [First] [Last] [Message] - send an alert to a user. Case sensitive."); m_log.Error(" alert general [Message] - send an alert to all users."); m_log.Error("backup - trigger a simulator backup"); + m_log.Error("create user - adds a new user"); m_log.Error("change-region [name] - sets the region that many of these commands affect."); m_log.Error("command-script [filename] - Execute command in a file."); m_log.Error("debug - debugging commands"); -- cgit v1.1