Filtering Text on the Server

Hey all, I have question about text filtering.

I’m currently creating a trivia game that involves the display of various questions on a SurfaceGui, and I’m wondering if filtering this text is necessary. I have read through the developer forums and roblox wiki articles about this, and wasn’t entirely sure if this was a rule.

If it is, is it possible to filter the text solely on the server (such that it is compatible for <13 and 13+ players), or does it have to be local? Which async should I be using to complete this?

Thanks in advance for any solutions! :slight_smile:

2 Likes

Proper text filtering can only be done from the server in the first place using the FilterStringAsync method of TextService, and it’s definitely recommended.

Should this be used regardless of the fact that the text was generated pre-existingly, meaning, no clients generated this string, only the developers.

Filtering it through Roblox’s chat filter might get annoying for players due to some innocent words being hashtagged.

I’m pretty sure there’s an unwritten rule where you’re not liable for profanity caused by the players as long as it is not the intent of the developers.

The argument, if I remember, was that building games and creativity is what Roblox stands for and there have been games that have gotten away with player profanity.

In case you didn’t see it. From Text Filtering | Documentation - Roblox Creator Hub

When to Filter Text

Any displayed text that a developer does not have explicit control over should be filtered.

and earlier in the page:

Because filtering is so crucial for a safe environment, Roblox actively moderates the content of games to make sure they meet certain standards. If a game is reported or automatically detected to not use filtering, that game will be shut down until the developer takes the proper steps to apply filtering.

2 Likes

I saw that page. I was confused as to whether or not this only applied to user-generated texts, or texts already preset by the developer themselves.