Hey all!
My game has recently released a UI, but we forgot the filter.
How can we filter the UI to be in terms with ROBLOX’s terms of service so we can’t be banned?
Hey all!
My game has recently released a UI, but we forgot the filter.
How can we filter the UI to be in terms with ROBLOX’s terms of service so we can’t be banned?
You’d want to use FilterStringAsync for this. If you are trying to filter it from the client, you’d have to use a RemoteEvent to have the server filter it and return the filtered string.
Edit: Did not completely understand what you said. If you are just using your own text, you do not need to filter it (as @Dandystan said). You would only have to filter text that the player inputs and is shown to other players.
You do not need to filter text that was written by a developer (for example, the word “Shop” above the icon of a shop). You need only filter text that was written by a player and is shown to other players (for example, a pet’s name that they chose).
That is what needs to be filtered.
In that case, you do not need to filter it.
Theyre entering text, so that does need a filter.
So then your solution is what I originally posted above. The article I linked gives a clear example on how you would accomplish this.