mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
As part of our "we aim to please" commitment, have added the ability to create a user in one command line: "create user firstname secondname passwrd regionX regionY". This allows the use of the "command-script" feature. So to add a bunch of new accounts, just create a text file, and add a line as above for each account. Then in the opensim console, type: "command-script filename".
This commit is contained in:
@@ -52,7 +52,7 @@ using OpenSim.Framework.Utilities;
|
||||
|
||||
namespace OpenSim
|
||||
{
|
||||
public delegate void ConsoleCommand(string comParams);
|
||||
public delegate void ConsoleCommand(string[] comParams);
|
||||
|
||||
public class OpenSimMain : RegionApplicationBase, conscmd_callback
|
||||
{
|
||||
@@ -455,7 +455,7 @@ namespace OpenSim
|
||||
case "create":
|
||||
if (CreateAccount != null)
|
||||
{
|
||||
CreateAccount(cmdparams[0]);
|
||||
CreateAccount(cmdparams);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user