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.
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.