ElDewrito / ElDorito

A Halo Online modification
725 stars 142 forks source link

Flood filter for in-game chat #153

Closed Shockfire closed 8 years ago

Shockfire commented 8 years ago

We received a suggestion to add a server-side flood filter to in-game chat in order to cut down on people spamming during games. I think this would be a good idea.

Some things to consider:

Implementation details:

Community contributions for this are welcome - just send a pull request to the master branch (and maybe reply to this before you start so that others are aware). Do note that I might be making some changes to the chat system sometime soon in order to make it easier to bind to the web-renderer UI, but it will be nothing major and I can handle fixing up code to work with it myself. (Mainly just making it easier to detect which player sent a message so that we can show team colors etc.)

AstonWaters commented 8 years ago

Adding to this suggestion, I think it would be beneficial for hosts to be able to server-wide mute individuals from chat.

Shockfire commented 8 years ago

Adding to this suggestion, I think it would be beneficial for hosts to be able to server-wide mute individuals from chat.

Oh yeah, definitely. Probably would be a good idea to do it on a per-IP basis. Maybe the banning system can be expanded to allow for different categories of bans (chat, voice, global, etc.).

AstonWaters commented 8 years ago

That would be great. Since you mentioned it, a host ability to mute an individual from voip would also be great, but I didn't say anything because I know voip is getting worked on already.

And why not add one more related wish of mine... the ability to add comments while banning/muting/etc. Some ban offenses are worse than others. I like to clear my ban list every so often, but there are some people who deserve a perma-ban. Unless I manually notate it, I can't tell who deserves a second chance and who does not.

Shockfire commented 8 years ago

Well I'm going to start working on this and then release just this as a 0.5.0.3 update. Things have gotten pretty bad.

AstonWaters commented 8 years ago

It's bad for those dedi's because people aren't easily kicked. From that screenshot, someone started a votekick and needs 8 more people to put it through. I've been in those games and some people just don't vote. A chat spammer in a moderated game would be banned super fast. #dediproblems

edit: just to add, this is also why stopping cheaters is hard. For dedis. Votekicking is difficult to pass even when people surely deserve it.

Shockfire commented 8 years ago

Vote kicking in this case is probably even harder to pass since it's done via chat and a spammer can very quickly make the notification go off of the screen. Also it might be a bit inconvenient because I think it's set up so that you have to enter a response into the chatbox in order to vote. I know that some games let you vote by just pressing a key. It might be possible to improve the system with 0.6. We'll have the new UI stuff, and RabidSquabbit is part of the team now so we can merge his code in.

Red-M commented 8 years ago

You're meant to use shotguns or fire on the flood. On 7 Apr 2016 10:56 am, "Shockfire" notifications@github.com wrote:

Vote kicking in this case is probably even harder to pass since it's done via chat and a spammer can very quickly make the notification go off of the screen. Also it might be a bit inconvenient because I think it's set up so that you have to enter a response into the chatbox in order to vote. I know that some games let you vote by just pressing a key. It might be possible to improve the system with 0.6. We'll have the new UI stuff, and RabidSquabbit is part of the team now so we can merge his code in.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/ElDewrito/ElDorito/issues/153#issuecomment-206638664