I was able to semi successfully do this on my own but it would be a lot easier and faster to do with a component. I was able to get it to auth and then send commands but it seems payload responses is always empty.
This example project contains a minecraft server to test the rcon. The RCON password is "test".
I've updated the ExecCommand method to allow to set the ID. You can download the latest beta from your account with this fix included. Thanks for the feedback.
Kind Regards,
Sergio
Hi, How can I download the latest version with the fix? My license expired and I can't seem to find any download link to it any more or do I just lose all access to the downloads?
I've updated the ExecCommand method to allow to set the ID. You can download the latest beta from your account with this fix included. Thanks for the feedback.
A new beta has been released with support for RCON protocol, you can find a demo in the folder "50.Other\02.RCON".
Kind Regards,
Sergio
Hi, There's a missing parameter when sending commands. When sending commands we should be allowed to choose the ID it sends with it. We send a command with our chosen ID and we expect the response with the same ID.
It should be rcon.ExecCommand('help', 2); so that we know what ID to expect as the help response. In this case it will be 2
Ahh I see. Would you still be able to add Rcon protocol support to sgcwebsockets? I'm unsure how it works but both seems to be just a constant tcp connection.