Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonynguyen/pyrcon
A very simple RCON library
https://github.com/anthonynguyen/pyrcon
Last synced: 2 months ago
JSON representation
A very simple RCON library
- Host: GitHub
- URL: https://github.com/anthonynguyen/pyrcon
- Owner: anthonynguyen
- License: mit
- Created: 2013-10-17T20:24:53.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-11-21T01:40:44.000Z (about 3 years ago)
- Last Synced: 2024-11-01T00:47:42.128Z (2 months ago)
- Language: Python
- Homepage:
- Size: 238 KB
- Stars: 4
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pyrcon
======A stupidly simple RCON library
About
-----Yeah, just use it.
Tested on the following engines:
* quake2.Installation
------------``python setup.py install``
Usage
-----
Generic.. code:: python
import pyrcon
conn = pyrcon.RConnection("example.com", 123, "password")
conn.send("command")Quake2
.. code:: python
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.. code:: python
[web]
host = 0.0.0.0
port = 80
[q2]
host = 127.0.0.1
port = 27910
password = rconpassword3. Run python bottleq2-local.py
Remote
1. Install bottle
2. Run python bottleq2-remote.pyLicense
-------
MIT licensed. See LICENSE.