pysrcds icon indicating copy to clipboard operation
pysrcds copied to clipboard

this repo is no longer maintained, here is how you build your own RCON client

Open UltimateForm opened this issue 9 months ago • 0 comments

Hello @pmrowla i hope you don't mind me opening this, i thought it would be a good idea to have this here in case someone wants to use this library but wishes to extend or customize the rcon behavior.

I've implemented for myself a solution using asyncio streams and observables

Taking some snippets from this repo I have built an example here: https://github.com/UltimateForm/mordhauMigrantTitles/blob/master/rcon.py

Here is an example of a RCON listener (for the "listen" methods): https://github.com/UltimateForm/mordhauMigrantTitles/blob/master/rcon_listener.py

This has been tested with the game Mordhau but the baseline should work with anything else. My example uses a .env file to obtain password, address, etc, but anyone can copy this and do it their own way

UltimateForm avatar May 17 '24 14:05 UltimateForm