Skip to content
This library allows you to use Half-Life RCON protocol
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rHLDS
.gitignore
LICENSE
README.md
setup.cfg
setup.py

README.md

rHLDS

This library allows you to use Half-Life RCON protocol.

REQUIREMENTS

Python 3+

INSTALLATION

pip3 install rHLDS

Or from git:

pip3 install git+https://github.com/chmod1/rHLDS.git

USING

from rHLDS import Console

# Default port 27015
srv = Console(host='127.0.0.1', password='somePass')
# If you need another port
srv = Console(host='127.0.0.1', port=27016, password='somePass')

# Connect to server
srv.connect()

# Execute any command
print(srv.execute("status"))

# Сlose connection
srv.disconnect()

LICENSE

MIT License

You can’t perform that action at this time.