Heya. I have a system which lets users generate servers with a code, and players who have that code can join that specific server.
Since the codes are random, there’s a possibility it might end as a word that would be against the TOS. Even though the chance of that happening is really low, I would still like to have a “filter” for those codes. I don’t want to use the normal text filtering, since I feel like it’s going to deny many codes for no reason.
TL;DR: Is it okay to have swear words inside a code, and will I be at risk of having my game deleted?
No, it’s not. You should use three randomly selected words from an approved list, such as “giraffe yellow zero” (and of course filter that just in case it throws out something bad) since that can be regulated easily.
I misread your question, any user generated string has to be filtered out. I would just reroll it if the roblox filter didnt like it. Then again, with them thinking any purplexing thing is a discord link not sure if any codes would pass.
it is not ok, i remember reading somewhere that roblox checks all your code if have swear words. source: konekokitten who i think got it from the blog or devforum i dontk now
You could potentially specify what parts of the code are numbers and letters (e.g. first two characters are letters, last 4 are numbers)
If you go this route could also randomize this a bit more by adding the possibility for more variations (e.g. first 4 are numbers and last two are characters for this specific code)
This way you can pretty much avoid having any swear words in your code if that’s your main concern, as long as you have no more than one letter right next to another one