Skip to content

anthonynguyen/pyrcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyrcon

A stupidly simple RCON library

About

Yeah, just use it.

Tested on the following engines:
  • quake2.

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.status()

To use the webapi for q2:

Local

  1. Install bottle
  2. Create/update a file called q2webapi.conf
[web]
host = 0.0.0.0
port = 80

[q2]
host = 127.0.0.1
port = 27910
password = rconpassword
  1. Run python bottleq2-local.py

Remote

  1. Install bottle
  2. Run python bottleq2-remote.py

License

MIT licensed. See LICENSE.

About

A very simple RCON library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages