How do I handle crude language in a circuit builder game?

I’m currently working on a circuit game which allows users to input their own strings which will run through the circuit, but I realized that this may allow players to communicate to each other without restrictions and this may endanger my game. Please watch the short video and help me

The reason I don’t want to filter them every time they update is because it can easily overload the server and players would easily be able to bypass it by using a “concat” operation

What do you mean by “every time they update”? Do you mean each time the textbox has its text changed?

If you filter the text a single time when the prompt is closed and store the filtered strings (eg in a variable) for each state that should not be anywhere near enough to overload the server. All user input that is publicly displayed needs to be passed through the text filter anyway.

1 Like

make it so only the player who last edited the string can see it uncensored

I meant that every tick the gate updates, since it runs on 60tps and it can get very resource intensive

I don’t know if this would work well because the value can just trail down through other gates and it can be easy to decode

Highly unlikely the game will be moderated. I know some games with filtered chat but completely unfiltered bubble chat that are still active after years.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.