I’m making a game where I wanna integrate dedicated server in it, and I want to let the host users to be able to write commands into the console window and let the server reply with something.
Think of it as minecraft’s server commands, for example:
list - would return a string containing current players/total players
tell [player] - the server would send a message to a player
kick/ban/warn [player] - would do stuff according to the command.
I know how to code all that functionality, what I don’t know is where to put the code. Is it a simple exec function? Or I need to modify the engine?