Is there a way to access the profanity filter from java ext?

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

flarb
Posts: 131
Joined: 15 Oct 2007, 21:07
Location: Home of the Body Bag
Contact:

Is there a way to access the profanity filter from java ext?

Postby flarb » 05 May 2009, 05:18

I'm trying to filter some text that is being sent from my game to my room plug-in....but I don't think I can manually run any text through SFS's profanity list? Is the profanity list just an automatic process that is run on any chat message?

I think it would be great if there was a function in the extension helper class that would scan any string for words in the profanity list as defined in config.xml
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 05 May 2009, 15:38

Yep at the moment the word-filter is not available for other purposes.
In the next major update it will provide new features (including the long awaited support for regular expressions, yay) and it will be fully accessible for scanning any string/message.
Lapo
--
gotoAndPlay()
...addicted to flash games
flarb
Posts: 131
Joined: 15 Oct 2007, 21:07
Location: Home of the Body Bag
Contact:

Postby flarb » 05 May 2009, 17:15

You should add support for 3rd party profanity filters. I was thinking of buying this and using it as my profanity filter:

http://www.inversoft.com/

But, it wouldn't work with the automatic chat message filter.

I figure this commercial product has a far larger profanity database I could come up with my own.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 06 May 2009, 13:50

Thanks for the link. Very interesting product.
We'll keep it in mind for the next major update. I am also going to evaluate alternatives similar to this product (if they exist)
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 28 guests