Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow teams to block general chat messages and enable/disable in team chat spam #67

Open
jxsl13 opened this issue Dec 9, 2023 · 3 comments

Comments

@jxsl13
Copy link

jxsl13 commented Dec 9, 2023

My suggestion in regard to allowing people to spam anything instead of a predefined list of messages would be to allow teams to spam whatever they want in team chat.

Comments wanted, as I'm not involved ingame and this might be abused by individuals.

Could be an in team vote where you'd need > 50% approval from the team (in two player teams any of the both participant would be able to disable in team chat spamming again while requiring both to approve the spamming to be enabled)

enabling chat spam > 50 % approval required
disabling >= 50% approval required

Secondly, allow teams to enable/disable chat messages of anyone that is not logged in rcon.
So that spectators cannot disturb them with chatting in general chat.
I guess prefereably just allow this for individual players.

Admins/helpers/mods should be able to talk to everyone and should be visible by everyone.

@ChillerDragon
Copy link
Member

Did you have a look at the settings? You can already deactivate all ratelimits and then add votes for sv_chat_ratelimit_public_chat and sv_tournament_chat then all in game players can decide together if spamming everything in team chat unratelimited is allowed or not. And if people can use public chat or not.

sv_chat_ratelimit_long_messages Needs sv_spamprotection 0 (0=off, 1=only messages longer than 12 chars are limited)
sv_chat_ratelimit_spectators Needs sv_spamprotection 0 (0=off, 1=specs have slow chat)
sv_chat_ratelimit_public_chat Needs sv_spamprotection 0 (0=off, 1=non team chat is slow)
sv_chat_ratelimit_non_calls Needs sv_spamprotection 0 (0=off, 1=ratelimit all but call binds such as 'help')
sv_chat_ratelimit_spam Needs sv_spamprotection 0 (0=off, 1=ratelimit chat detected as spam)
sv_tournament_chat 0=off, 1=Spectators can not public chat, 2=Nobody can public chat

I almost added the admin thing then I thought admins can just use broadcast or say.

Adding settings and votes on a per team basis seems to make sense since they are the only affected ones. But it will also make the code more complicated. Not sure if its worth it.

@jxsl13
Copy link
Author

jxsl13 commented Dec 10, 2023

it's an idea. maybe someone might want it, then they can comment and if you have many such comments, you might add it at some point. If not, it's also ok.

@lukure
Copy link

lukure commented Dec 20, 2023

A good idea in itself, but until now there is no reason to introduce it (currently a solution to a problem that does not exist)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants