From 732f1d5eb64f176c2071b0280926651be9116b00 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sun, 12 Jan 2025 16:37:25 -0800 Subject: [PATCH] update cc shell command help text --- src/ShellCommands.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ShellCommands.cc b/src/ShellCommands.cc index 41349b53..9b4eb50c 100644 --- a/src/ShellCommands.cc +++ b/src/ShellCommands.cc @@ -896,9 +896,12 @@ ShellCommand c_cc( "cc", "cc COMMAND\n\ Execute a chat command as if a client had sent it in-game. The command\n\ should be specified exactly as it would be typed in-game; for example:\n\ - cc $itemnotifs on\n\ + cc $itemnotifs rare\n\ This command cannot send chat messages to other players or to the server\n\ - (in proxy sessions); it can only execute chat commands.", + (in proxy sessions); it can only execute chat commands. Chat commands run\n\ + via this command are exempt from permission checks, so commands that\n\ + require cheat mode or debug mode are always available via cc even if the\n\ + player cannot normamlly use them.", true, +[](ShellCommand::Args& args) -> std::deque { shared_ptr ses;