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

Automated swearing filter #200

Open
fluxionary opened this issue May 12, 2020 · 13 comments
Open

Automated swearing filter #200

fluxionary opened this issue May 12, 2020 · 13 comments
Labels
enhancement New feature or request new mod Create or install a mod that's not currently on the server

Comments

@fluxionary
Copy link
Member

fluxionary commented May 12, 2020

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 fluxionary added the enhancement New feature or request label May 12, 2020
@fluxionary
Copy link
Member Author

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
Copy link
Collaborator

ragulanramkumar commented May 12, 2020 via email

@WulftheNordicRanger
Copy link
Collaborator

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

@fluxionary
Copy link
Member Author

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
Copy link
Collaborator

Lanhild commented Nov 4, 2020

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.

@Lanhild Lanhild added the new mod Create or install a mod that's not currently on the server label Nov 5, 2020
@TechDudie
Copy link

TechDudie commented Nov 5, 2020

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
Copy link

TechDudie commented Nov 5, 2020

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
Copy link
Collaborator

Lanhild commented Nov 5, 2020

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

@TechDudie
Copy link

Well why not translate it from python to lua

@TechDudie
Copy link

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
Copy link

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

@fluxionary
Copy link
Member Author

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
Copy link
Collaborator

Lanhild commented Nov 5, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new mod Create or install a mod that's not currently on the server
Projects
None yet
Development

No branches or pull requests

5 participants