diff options
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".
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 8377d84..af21a81 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -52,7 +52,7 @@ using OpenSim.Framework.Utilities; | |||
52 | 52 | ||
53 | namespace OpenSim | 53 | namespace OpenSim |
54 | { | 54 | { |
55 | public delegate void ConsoleCommand(string comParams); | 55 | public delegate void ConsoleCommand(string[] comParams); |
56 | 56 | ||
57 | public class OpenSimMain : RegionApplicationBase, conscmd_callback | 57 | public class OpenSimMain : RegionApplicationBase, conscmd_callback |
58 | { | 58 | { |
@@ -455,7 +455,7 @@ namespace OpenSim | |||
455 | case "create": | 455 | case "create": |
456 | if (CreateAccount != null) | 456 | if (CreateAccount != null) |
457 | { | 457 | { |
458 | CreateAccount(cmdparams[0]); | 458 | CreateAccount(cmdparams); |
459 | } | 459 | } |
460 | break; | 460 | break; |
461 | 461 | ||