Do I have to filter the strings I send?

just a quick question. Say if I (the dev) want to send a message, that everyone across the game can see, do I have the filter the text I send? No players will be able to send the message, just me. (Not sure which category I should post this in, sorry if this is the wrong one)

You have to filter any user inputed text.

2 Likes

Even if you know that there isn’t anything against TOS within your message, it still is required to be filtered. Just because you created the game doesn’t give you any exceptions to filtering regulations.

Thankfully it’s not hard to filter text through roblox, as you can just use FilterStringAsync.

1 Like

alright, just wanted to make sure

1 Like

You only need to filter a text IF it is from another player and it will show to everyone. For example, let’s say I said “!announce Hello!”, and that announce command will send a GUI to everyone with the rest of the text. You HAVE to filter that as it is from another player and it is showing to everyone.

Basic rule:
If it’s from someone else, filter it if you will show it to everyone.