daffyyyy / CS2-SimpleAdmin

Manage your Counter-Strike 2 server by simple commands :)
https://cs2-simpleadmin.daffyy.love
GNU General Public License v3.0
114 stars 41 forks source link

Fix for gagged and/or silenced players #138

Closed Cruze03 closed 1 month ago

Cruze03 commented 4 months ago

Fixes the following:

daffyyyy commented 4 months ago

Fixes the following:

  • Gagged players PublicChatTrigger (!) or SilentChatTrigger (/) commands were not responding.
  • Gagged players could use an exploit where they could type "!Hi, I am an offensive player" ('!' can be any PublicChatTrigger defined by the server owner) to avoid the gag.

Ik how to fix this issue, but try to find workaround for metamod plugins command :P

Cruze03 commented 4 months ago

Hmm, maybe we can create whitelisted commands in config file but current gag is not good imo. Players can't even use commands is just sad

audiomaster99 commented 4 months ago

Hmm, maybe we can create whitelisted commands in config file but current gag is not good imo. Players can't even use commands is just sad

Do like most of us did, put both triggers ["!", "/"] in silent triggers and gagged players can't abuse it, curretrly thats only fix, sadge

ghostt187 commented 4 months ago

this is causing a bug when banning players !ban ghost 0 "test reason" in logs it doesnt show the reason why it has banned the player webhook logs and on file if i try !ban ghost 0 test it shows the reason but if i use " " it doesnt