From a1d481d0f6dd4334356874359ea6859e109b1578 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 22 Jul 2008 16:21:16 +0000 Subject: * minor: Make create user command appear on the region console only if the region is running standalone --- OpenSim/Region/Application/OpenSim.cs | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 497a25b..27b6694 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -248,10 +248,9 @@ namespace OpenSim 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 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("create-region - 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("command-script [filename] - Execute command in a file."); m_console.Notice("debug - debugging commands"); @@ -277,8 +276,17 @@ namespace OpenSim m_console.Notice("config set section field value - set a config value"); m_console.Notice("config get section field - get a config value"); 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); + + if (m_sandbox) + { + m_console.Notice(""); + m_console.Notice("create user - adds a new user."); + } + + m_console.Notice(""); + break; case "save-xml": @@ -336,7 +344,9 @@ namespace OpenSim break; case "create": - CreateAccount(cmdparams); + if (m_sandbox) + CreateAccount(cmdparams); + break; case "create-region": -- cgit v1.1