ULX

Author Topic: Ucensor ~ anti chat cursing  (Read 2641 times)

0 Members and 1 Guest are viewing this topic.

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Ucensor ~ anti chat cursing
« on: September 22, 2011, 02:24:02 PM »
I'm actually surprised this hasn't been made yet, I have a great simple chat sensor for my minecraft server, and would love something like that for my GM server.

I like to run respectful/ all age friendly servers, and this would help!
Now I leave the idea to any coder out there who likes the idea, too  ;D
My TTT server. Join the fun!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ucensor ~ anti chat cursing
« Reply #1 on: September 22, 2011, 08:12:41 PM »
There are discussions/code examples using old ULX code where filters were made.
You understand the difficulty in this, right?
In theory, its a good thing.
Unfortunately, in practice, it's usually not.
In many cases, when someone wishing to cause trouble realizes a straight spelled word is censored, say the word 'poop' thats spelled with an S, they then start trying every ascii combination that might look/be like the original normal spelling. s41t for instance. They then spend the next few minutes annoying other players who might want family friendly atmosphere.
If you start adding every other spelling of that word into your filters, well, by then, you have more lag for everything said than you do actual conversation.

Found this ... Jay was tinkering long ago.
http://forums.ulyssesmod.net/index.php/topic,3339.msg10149.html#msg10149
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ucensor ~ anti chat cursing
« Reply #2 on: September 22, 2011, 09:50:07 PM »
Pretty much what JamminR said. I think I toyed with such a script in GM9, but just found such a thing impractical. My advice is to add "No foul language" to your MOTD. If someone starts cursing, warn them. If they continue, ban them for a day. I think that will get the point across better than a censoring script. :)
Experiencing God's grace one day at a time.

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Re: Ucensor ~ anti chat cursing
« Reply #3 on: September 28, 2011, 12:00:09 PM »
It's true, that does happen on the MC server, but once people get it out of their system, it continues to censor, and people look right past the blank spaces.

I can see this being different on a GM server, though. You have much more random traffic to those, and always new ppl to 'test' your script.
My TTT server. Join the fun!