Skip to content

Commit

Permalink
update cc shell command help text
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzziqersoftware committed Jan 13, 2025
1 parent 9033fb6 commit 732f1d5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ShellCommands.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string> {
shared_ptr<ProxyServer::LinkedSession> ses;
Expand Down

0 comments on commit 732f1d5

Please sign in to comment.