HLL servers open up a RCON port that lets people connect via TCP. All communication is and should be encrypted with a XOR cipher, of which the key will be sent upon opening the socket connection.
A few implementations can be found here:
- rcon/connection.py from MarechJ/hll_rcon_tool (Python 3, synchronous implementation using the
socket
stdlib) - lib/protocol.py from timraay/HLLLogUtilities (Python 3, asynchronous implementation using the
asyncio
stdlib) - async_hll_rcon/connection.py from cemathey/async_hll_rcon (Python 3, asynchronous implementation using
trio
)