* minor: Make create user command appear on the region console only if the region is running standalone
parent
186f83692c
commit
a1d481d0f6
|
@ -149,6 +149,7 @@ namespace OpenSim.Framework.Servers
|
||||||
switch (command)
|
switch (command)
|
||||||
{
|
{
|
||||||
case "help":
|
case "help":
|
||||||
|
Notice("");
|
||||||
Notice("quit - equivalent to shutdown.");
|
Notice("quit - equivalent to shutdown.");
|
||||||
|
|
||||||
Notice("show info - show server information (e.g. startup path).");
|
Notice("show info - show server information (e.g. startup path).");
|
||||||
|
|
|
@ -248,10 +248,9 @@ namespace OpenSim
|
||||||
m_console.Notice("alert - send alert to a designated user or all users.");
|
m_console.Notice("alert - send alert to a designated user or all users.");
|
||||||
m_console.Notice(" alert [First] [Last] [Message] - send an alert to a user. Case sensitive.");
|
m_console.Notice(" alert [First] [Last] [Message] - send an alert to a user. Case sensitive.");
|
||||||
m_console.Notice(" alert general [Message] - send an alert to all users.");
|
m_console.Notice(" alert general [Message] - send an alert to all users.");
|
||||||
m_console.Notice("backup - trigger a simulator backup");
|
m_console.Notice("backup - persist simulator objects to the database ahead of the normal schedule.");
|
||||||
m_console.Notice("clear-assets - clear asset cache");
|
m_console.Notice("clear-assets - clear asset cache");
|
||||||
m_console.Notice("create-region <name> <regionfile.xml> - creates a new region");
|
m_console.Notice("create-region <name> <regionfile.xml> - creates a new region");
|
||||||
m_console.Notice("create user - adds a new user.");
|
|
||||||
m_console.Notice("change-region [name] - sets the region that many of these commands affect.");
|
m_console.Notice("change-region [name] - sets the region that many of these commands affect.");
|
||||||
m_console.Notice("command-script [filename] - Execute command in a file.");
|
m_console.Notice("command-script [filename] - Execute command in a file.");
|
||||||
m_console.Notice("debug - debugging commands");
|
m_console.Notice("debug - debugging commands");
|
||||||
|
@ -279,6 +278,15 @@ namespace OpenSim
|
||||||
m_console.Notice("config save - save OpenSim.ini");
|
m_console.Notice("config save - save OpenSim.ini");
|
||||||
m_console.Notice("terrain help - show help for terrain commands.");
|
m_console.Notice("terrain help - show help for terrain commands.");
|
||||||
ShowPluginCommandsHelp(CombineParams(cmdparams, 0), m_console);
|
ShowPluginCommandsHelp(CombineParams(cmdparams, 0), m_console);
|
||||||
|
|
||||||
|
if (m_sandbox)
|
||||||
|
{
|
||||||
|
m_console.Notice("");
|
||||||
|
m_console.Notice("create user - adds a new user.");
|
||||||
|
}
|
||||||
|
|
||||||
|
m_console.Notice("");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "save-xml":
|
case "save-xml":
|
||||||
|
@ -336,7 +344,9 @@ namespace OpenSim
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "create":
|
case "create":
|
||||||
CreateAccount(cmdparams);
|
if (m_sandbox)
|
||||||
|
CreateAccount(cmdparams);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "create-region":
|
case "create-region":
|
||||||
|
|
Loading…
Reference in New Issue