Is avoiding broadcast-level filtering allowed for text filtering?

  1. What do you want to achieve? I want to know if the following would be allowed with text filtering rules:
  • I have a system in-game where users can report bugs and can add YouTube video links (if their policy info says they can) showing the problem. These happen through datastores on different servers (AKA I’m not in game).
  1. What is the issue? I would use :GetNonChatStringForBroadcastAsync() however this filters out the link due to it being really heavy on restrictions. And for :GetNonChatStringForUserAsync() well that requires me to be in the server.

  2. What solutions have you tried so far?
    I am using this code when the user sends a report:

	local filteredTextResult
	local success, errorMessage = pcall(function()
		filteredTextResult = TextService:FilterStringAsync(text, player.UserId)
	end)
    if not success then
		return false
	else
		return filteredTextResult:GetNonChatStringForUserAsync(player.UserId)
    end

And the following when me (the owner) looks at the report:
local FilteredText = game:GetService("TextService"):FilterStringAsync(Name, OwnerId):GetNonChatStringForUserAsync(OwnerId)

I’m just wondering if this is with-in Roblox’s terms or if there is something else I can do.

if you are using something like discord to handle these you shouldnt really worry about filtering that much because no one else is gonna see it. you cant get in trouble for making something unfiltered on something that isnt roblox

1 Like

Sadly no, it is not using discord it is viewable in-game by me only…

1 Like

The rules state that everything seen by someone other than the player must be filtered so that’s why I was filtering it…

Thanks however the problem isn’t me being scared about the messages not being YouTube URLs it’s that Roblox takes down games that don’t filter user’s content appropriately.

Broadcast is meant for, as the method’s name implies, a string intended for widespread display. If you are making a report system then you shouldn’t be using broadcast. Store the raw string when you need to parse it and when it comes to needing to view it, use GetNonChatStringForUserAsync with the viewing player (in this case, yourself) before displaying the text.

Yeah, however as I stated in my post that requires both users to be in the same server and TextFilterResults can’t be stored in datastores.

And for :GetNonChatStringForUserAsync() well that requires me to be in the server.

If you are letting people put youtube links, some people might post links leading to non kid-friendly content.

Yes, however I am the only one who can see the links plus YouTube has their own report system which is why Roblox allows YouTube links in the first place.