While I didn’t make anything that is working state, I did manage to make simple commands. Integrating such a system with UE4 turned out a bit harder for me. But I can give you tips on how to do it:
- Make a 3rd party client application (I used C#) - simple console application that connects to a tcp server, send and recieves messages
- Listen a tcp socket in ue4 on any port.
- Bind event to recieve data, on recieve data determine which command is called by string and call it
What’s cool about it is you can pass any parameters in a .ini way and you can parse them like a string and pass them to the function you want to execute.
My personal idea for this was to write an rcon like plugin, which is secured with RSA-2048 and AES256 keys to encrypt data transfer between the client and the server, which I made working, but problem was I couldn’t implement stuff like showing the console output of the server on the client application and other stuff just because I don’t know how.
I believe there must be a better way to do this, but I’m not sure what and how.
Best regards,
YoungWolf