amykatname / newhorizons

Port of the Penguin game to HaxeFlixel
https://discord.gg/2wGgTJcPt9
3 stars 5 forks source link

Chat filter #9

Open amykatname opened 5 days ago

amykatname commented 5 days ago

Obviously no chat yet hahah but when it does happen, it needs a filter:

The way CPJ did it was with a google framework thing I don't know the name of, it was basically the entire chat filter for CPJ. However it would often flag normal sentences and be really annoying to users, this issue is even worse in CPL

So I think for the chat filter we should simply do like the original and do a blacklist of words. However instead of getting banned upon swearing you just get warned, and moderators are made aware of it so it can be taken care of if it gets too much of a problem

marvhus commented 3 days ago

I think you could get a long way with just limiting what can be entered, and as you said, adding a simple wordlist of things that aren't allowed would solve most of the issue (though only temporarily, as it would need to be updated a lot). At least the parts that are solvable.

It's important to remember that this is an unsolved problem in computer science, the only solution to it is to have humans review every message, which also has issues of moderators not having all the context needed. So a perfect solution is impossible.

Also, I agree, just banning players immediatly might not be the best idea. Maybe there could be some system where they just get muted for a while? So they can still enjoy the gameplay itself.

amykatname commented 3 days ago

oh I definitely forgot about that part my bad hahah, in the original game you straight up couldnt type in numbers & various other special characters to prevent addresses numbers and links, definitely needs to be implemented aswell

marvhus commented 2 days ago

It's important to remember that this is an unsolved problem in computer science [...]

btw, here is some good info on why this is hard, and why you shouldn't blindly just ban words: Why Web Filters Don't Work: Penistone and the Scunthorpe Problem

amykatname commented 2 days ago

it's definitely tricky and given CPJ & CPL proves that Google's solution isn't really good atleast not yet, with users complaining about how stupid it is and words such as the t slur slipping through, a simple blacklist should do the job, given you don't get banned for it Every flagged message can then get sent to us the devs, so if something slips through the cracks it can be then refined I think that's atleast a way better solution than having words slip through and not being able to do anything about it (atleast that's what CPJ staff told me)