String filtering rules

I am making a game similar to Pastebin that uses a single datastore. individuals will be able to save various types of data to keys, from standard strings to audio to game ID’s. All string data will be filtered, but I don’t know if I need to filter keys.

Keys are used to retrieve and access data, and a person has to enter a key to get any data.

1 Like

Any text the players see needs to be filtered. If they don’t see it, it doesn’t matter.

They do see it, but they have to enter it.

1 Like

I’d say the safest method would be to filter the key, and if it contains the filter character (#) then it informs the player their text is filtered and can’t be used, letting them try to make another key. Seems like the easiest solution.

4 Likes

What @iltria said is the best idea.
You can also just assign random keys using HttpService | Roblox Creator Documentation

1 Like