Skip to content

wmetryka/py3rcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

py3rcon

RCON API for Python3 Downloads

Built and tested for Quake3, but will work with most RCON systems.

Installation:

$ pip install py3rcon

Examples:

Send RCON commands without waiting for a response:

from py3rcon import RCON

rcon = RCON("127.0.0.1", "secret_password") 
rcon.send_command("say Hello, world!", response=False)

Send RCON commands and get their response:

from py3rcon import RCON

rcon = RCON("127.0.0.1", "secret_password", port=27960) #port is optional
status = rcon.send_command("status") 
print(status)

About

Python3 RCON API for Python3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages