Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 568 Bytes

README.rst

File metadata and controls

44 lines (28 loc) · 568 Bytes

pyrcon

A stupidly simple RCON library

About

Yeah, just use it.

Tested on the following engines:
  • Quake 2.

Installation

python setup.py install

Usage

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

License

MIT licensed. See LICENSE.