A stupidly simple RCON library
Yeah, just use it.
- Tested on the following engines:
- Quake 2.
python setup.py install
Generic
import pyrcon
conn = pyrcon.RConnection("example.com", 123, "password")
conn.send("command")
Quake2
import pyrcon
conn = pyrcon.Q2RConnection("example.com", 27910, "password")
conn.get_status()
print(conn.current_map)
See code / tests for examples
MIT licensed. See LICENSE.