Page 1 of 1

Censoring Profane Language.

PostPosted: Sat Dec 01, 2012 06:00
by Leroy
I have been in servers where some members bully and insult other members using profane language. Can we implement a blocker that does: bad word to *** ****? on a server plugin?

PostPosted: Sat Dec 01, 2012 06:24
by Menche
You can check the messages, but I don't know about modifying them. Maybe have it just notify moderators somehow, or ban / revoke shout.

PostPosted: Sat Dec 01, 2012 06:40
by Leroy
Menche wrote:You can check the messages, but I don't know about modifying them. Maybe have it just notify moderators somehow, or ban / revoke shout.

Write script to notify moderators + cooldown after using profane languade.

PostPosted: Sat Dec 01, 2012 15:38
by rubenwardy
I had started to write one, but it is not finished

Code: http://minetest.net/forum/viewtopic.php?pid=37624#p37624

PostPosted: Sat Dec 01, 2012 19:57
by Sokomine
That kind of approach usually doesn't work. Players will find workarounds against filters almost immediately, and people using harmless words which will get censored due to errors/wrong assumptions in the filter (language is complex) will get confused. If there is a problem with a particular player, talk to that player. Private messages are helpful there and ought to be part of the default game. If everything fails, there is still mute/removing shout and ban - done by a human and not by a script.

PostPosted: Sun Dec 02, 2012 02:02
by Josh
I don't like people that swear on servers either. Minetest is a fun game about sharing and playing not swearing at each other.

PostPosted: Sun Dec 02, 2012 02:05
by davidpace
I agree.

PostPosted: Sun Dec 02, 2012 02:39
by Leroy
Me too

PostPosted: Sun Dec 02, 2012 02:54
by Menche
Another idea, that should be possible with the current API:
  1. Disable normal talking by not giving anyone "shout" privs.
  2. Make a new "safeshout" priv, that allows the use of a "say" command.
  3. The "say" command checks the message and doesn't display the message if it contains banned words.


And an idea to make it harder to find workarounds:
  1. Convert the entire message to lowercase
  2. Delete duplicates when there are repeated letters.
  3. Delete spaces.
  4. Check for matches.
  5. Make a table of characters commonly substituted for letters.
  6. Do several more checking passes, substituting those characters.
  7. If no matches were found, display the original message.
Banning "badword" should then catch "BaD WoRd", "3ad W0rd", and "Baaad Wooord".

PostPosted: Sun Dec 02, 2012 04:10
by Leroy
Menche wrote:Another idea, that should be possible with the current API:
  1. Disable normal talking by not giving anyone "shout" privs.
  2. Make a new "safeshout" priv, that allows the use of a "say" command.
  3. The "say" command checks the message and doesn't display the message if it contains banned words.


And an idea to make it harder to find workarounds:
  1. Convert the entire message to lowercase
  2. Delete duplicates when there are repeated letters.
  3. Delete spaces.anks for
  4. Check for matches.
  5. Make a table of characters commonly substituted for letters.
  6. Do several more checking passes, substituting those characters.
  7. If no matches were found, display the original message.
Banning "badword" should then catch "BaD WoRd", "3ad W0rd", and "Baaad Wooord".

Oho! this is useful for those VERY VULGAR people out there. Thanks for all the help

PostPosted: Sun Dec 02, 2012 04:11
by Leroy
This Topic is still going.
B
BU
BUM
BUMP
BUM
BU
B

PostPosted: Sun Dec 02, 2012 15:39
by klunk
This Topic is still going.


Really, I can belive that ...we are without news since more than 60 seconds...

Would you please stop that flood ?

PostPosted: Sun Dec 02, 2012 16:54
by jmf
Sokomine wrote:That kind of approach usually doesn't work. Players will find workarounds against filters almost immediately, and people using harmless words which will get censored due to errors/wrong assumptions in the filter (language is complex) will get confused. If there is a problem with a particular player, talk to that player. Private messages are helpful there and ought to be part of the default game. If everything fails, there is still mute/removing shout and ban - done by a human and not by a script.


Yeah, I agree to what Sokomine said. Players always find workarounds.
writing "badword" as "B@dword" and stuff like this could always occur.
Deleting spaces would also bring confusion as someone could be kicked because he
said "monkey" while he only said "The cups daeMON KEY feature is...
Stupid example, yes, but it could happen.

PostPosted: Sun Dec 09, 2012 01:06
by Leroy
bump

PostPosted: Mon Dec 10, 2012 07:09
by OmniStudent
I hope no one of the talented people that are actually programming the game wastes their time with this.

Who the HELL cares if someone sees a particular combination of letters deemed nasty by some people?

What could be the worst consequences?

PostPosted: Mon Dec 10, 2012 07:49
by leo_rockway
While I'm sympathetic and I don't like seeing foul language, that's not something that should be automated. There's too much margin for error (either people getting banned without deserving it, or people that deserve a ban circumventing whatever method is put in place).

PostPosted: Mon Dec 10, 2012 08:09
by 0gb.us
OmniStudent wrote:Who the HELL cares if someone sees a particular combination of letters deemed nasty by some people?


Yes, I agree.

I try to avoid using "bad language" myself, as some people do get offended, but I don't understand WHY people get so offended.

PostPosted: Mon Dec 10, 2012 11:08
by nomohakon
Censoring is bad.

PostPosted: Mon Dec 10, 2012 16:56
by jmf
All in all I think that a good server should have someone online who
looks what people do. If someone swears when the admins/mods are away,
players who feel unconfortable can report this to the admins/mods later.
Then admins/mods can look in the logs and ban the person.

Also I never had a case of swearing on any server. Maybe just chose the servers
where this problem isn't present so much / yet.