BlockySurvival / issue-tracker

A non-code repo for tracking issues w/ the Blocky Survival minetest server
12 stars 0 forks source link

Automated swearing filter #200

Open fluxionary opened 4 years ago

fluxionary commented 4 years ago

aleksbuilder writes:

Naturally, admins cannot be online all the time, but sometimes 
players come to the server who start swearing (some of them 
specially come for this). Today, for example, there were 2 such 
players who swore. Could give some old players the privilege 
of depriving such players of a "voice" in the chat? Or make a 
script that will automatically rob them of their “voice” for several 
hours if they swear 2 times in 5 minutes, for example ?
fluxionary commented 4 years ago

The difference between this and previous swearing filter ideas, is the idea of just robbing them of their "voice" privs for a period of time.

ragulanramkumar commented 4 years ago

a /votemute would be a good idea, but this assumes most players care (I imagine most would only do something if it stopping them from reading the chat) and will be around when they're online, which isn't always the case

On Tue, 12 May 2020, 7:10 pm fluxionary, notifications@github.com wrote:

The difference between this and previous swearing filter ideas, is the idea of just robbing them of their "voice" privs for a period of time.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BlockySurvival/issue-tracker/issues/200#issuecomment-627505978, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADY3DLTMIANRGYECZGWAZKLRRGGJVANCNFSM4M7BUNWQ .

WulftheNordicRanger commented 4 years ago

My issue with /votemute and /votekick are that it could be used to gang up on and bully other players

fluxionary commented 4 years ago

hm. i don't like the idea of voting people off the server, because it can so easily be abused, but it might make sense in conjunction w/ a "bad language" filter; you could only be voted off if the server had flagged you.

Lanhild commented 3 years ago

Solved :)

I made my mod swearing filter based on some anti spam, here's the link: https://github.com/Lanhild/filter-master

Normally fully functionnal.

TechDudie commented 3 years ago

Yes, lanhildy, your mod is great, but there’s a problem, there maybe a typo in the filtered word and then your mod won’t catch it. I have some experience with this (I did write some algorithms similar to this at one point), but I have a problem, I (as you can tell from my picture) program in Python, so you can convert the code from python to lua or write a program to communicate between the two programs.

TechDudie commented 3 years ago

I have a repo that fixes this issue, but it’s in python, and I don’t know Lua. https://github.com/TechDudie/filter I probably should mention that I never tested it yet. I will when I get the chance.

Lanhild commented 3 years ago

Probably better to use mine, since it's in Lua, and Lua is easier to fix bugs,that's what I think

TechDudie commented 3 years ago

Well why not translate it from python to lua

TechDudie commented 3 years ago

You can write some sort of python and lua signal transfer, I’ll try to help even if I don’t know lua, and python in my opinion is better to implement typo algorithms

TechDudie commented 3 years ago

I have lots of time off (on the weekends) enough for me to mantain 3 repos

fluxionary commented 3 years ago

Ixnay on any python in the mods.

Has this been tested w/ the rest of the BlS mods, verbana in particular? We're already doing a bunch of weird stuff to chat functions.

Lanhild commented 3 years ago

If you are talking about this: https://github.com/Lanhild/filter-master

Yes I tested it with a copy of BlS mods And the results were good