Just so you all can have it: CustomChatFiltering - Roblox
Simple HTTP Get that filters text and outputs filtered text. Spoilered cause profanity example:
“Ass” or “@ss” get turned into *** So if you said something like: “I have an @ss” it would be returned as I have an ***
Just thought all of you might be able to use this, especially those of you who have a front page game.
The code that actually does the filtering:
function filterMessage(message)
return HttpService:GetAsync(“http://www.purgomalum.com/service/plain?text=”…message, true)
end
Also, it seems that ROBLOX is actually doing filtering of TextBox such that it slightly cuts off the sent word which means that the actual word doesn’t get sent through filter so you end up with Nigge for example.
Textlabels and text buttons don’t actually allowed banned words to be put into them for an update. It’s either that or the scripts doing it. Not entirely sure.
In regards to the http requests I figure there would have to be 8-10 messages a second in order to reach the cap and if you are at that point you probably have a spammer in which case you should take care of him/her. And yeah that seems to be the case which is actually kinda frustrating cause it makes the filter not work as well especially since it only shortens the word.
[quote] Just so you all can have it: CustomChatFiltering - Roblox
Simple HTTP Get that filters text and outputs filtered text. Spoilered cause profanity example:
“Ass” or “@ss” get turned into *** So if you said something like: “I have an @ss” it would be returned as I have an ***
Just thought all of you might be able to use this, especially those of you who have a front page game.
The code that actually does the filtering:
function filterMessage(message)
return HttpService:GetAsync(“http://www.purgomalum.com/service/plain?text=”…message, true)
end
Also, it seems that ROBLOX is actually doing filtering of TextBox such that it slightly cuts off the sent word which means that the actual word doesn’t get sent through filter so you end up with Nigge for example. [/quote]
Can you tell me how to make the chat bin show up at the top of the screen instead of the bottom? I moved the frame up, but that didn’t help at all.
Umm the actual chat system is just to show that it works, I highly recommend you make your own or use a more advanced version of one. And yes it is empty cause all that game is supposed to be for is showing off the chat filter. And merely, the reason it is on a web server is because I didn’t make the web server and the filter on that server is more advanced than I have time to make.
I remember someone saying there may be issues with doing in a server script, so I assume this is why.
Doing it externally means that the place owner can’t be punished for his place (supposedly) containing profanity when it really doesn’t. So it’s really just a workaround for something which might be an issue.
EDIT: just a thing about the filter, the word ‘pimp’ is banned in ROBLOX from what I’ve found out (people bypass it by using ‘l’ instead of ‘i’ or ‘I’) and your filter isn’t filtering it.
Mk, you could just add your own filter after the website filters cause I don’t have control over what it filters. Or send the guy who runs it an email.