ULX

Author Topic: Disappearing commands written in chat?  (Read 1445 times)

0 Members and 1 Guest are viewing this topic.

Offline Hyperion

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
Disappearing commands written in chat?
« on: August 10, 2013, 09:12:32 AM »
Whenever someone with a low rank writes a command that is not available for him, for example !noclip while being a guest on my server, it tells him that he can't use it, and the command also doesn't appear in the chat. But is it possible to make the text go disappear from chat also if someone writes a command which he is allowed to use it? While the console still showing who used what command, to admins?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Disappearing commands written in chat?
« Reply #1 on: August 10, 2013, 09:25:25 AM »
We try not to modify chat hook much, so no, there is no current way to do what you're asking within ULX.
The reason the guest user commands are never seen now is due to the fact we stop execution of the chat hook.
Once you go into actually modifying whether or not what is typed is seen or not based on rank, it can really complicate matters in the chat system, especially if there is another mod that monitors chat hooks in some way.

Over the years, our recommendation for not wanting to see commands issued is to use the game console, and/or XGUI.
Setting logEcho mode appropriately will also help.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given