I have a game that has a clan system, where players can create a clan that has a custom name. Player’s can choose the clan’s name in a text box which I then verify using ChatService:FilterStringForBroadcast(text, player)
The problem is Middle Eastern users always filter the text (at least thats what I’ve gathered from seeing who this bug effects) as they do not have access to chat.
I have tried looking into ways to filter text without a player but couldn’t find any. Is there any solution?
Did you try checking to see if the name would get filtered on a non-middle-eastern players behalf? I don’t think theres any good replacements for the filter.
I meant you should check the filter of the non-middle-eastern players to see if the text would tag instead of checking the filter of the middle-easten players
There isn’t
I know it may sound dumb but roblox had a good reason for it:
You see every player lives in a different region and has different age so you have to filter text individually for them.
So what you can do is to have unfiltered text stored on server and if you want to display it you have to filter it indivudually.
It is problematic when your system has text formatting options like richtext, but in that case its wise to deparse them (strip awey rich text and store it elsewhere temporally)/store richtext operations separately and apply them after filtering the text.