PyRconShell
Minecraft rcon shell in Python using:
Works on Linux, macOS and Windows. It requires Python 3.8 or higher.
Note on Debian based Linux the python3-venv package is needed.
usage
Bootstrap and use PyRconShell, e.g.:
~$ git clone https://github.com/jedie/PyRconShell.git
~$ cd PyRconShell
~/PyRconShell$ ./rcon-shell.py
...
Developer shell - py_rcon_shell - v0.0.1
...
(py_rcon_shell) rcon list
Send: list
Response:
----------------------------------------------------------------------------------------------------
There are 3 of a max of 10 players online: Foo, Bar, JohnDoe
----------------------------------------------------------------------------------------------------
(py_rcon_shell) rcon op JohnDoe
Send: op JohnDoe
Response:
----------------------------------------------------------------------------------------------------
Made JohnDoe a server operator
----------------------------------------------------------------------------------------------------
Activate rcon server
To enable rcon in your server.properties change this:
enable-rcon=true
rcon.port=25575
rcon.password=a-password-is-needed
Note a password must be set! A empty password will disable rcon!
Add these settings into: ~/.PyRconShell.ini, e.g.:
[DEFAULT]
rcon_host = 127.0.0.1
rcon_port = 25575
rcon_password = a-password-is-needed
hints
Check if rcon listen with e.g.:
$ lsof -i
Links
Project links
Metadata
Release files for rcon-shell 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rcon-shell-0.0.1.tar.gz | 17.0 kB | Without provenance | Details for rcon-shell-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rcon_shell-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for rcon_shell-0.0.1-py3-none-any.whl |
Total release size: 34.3 kB
Release files / rcon-shell-0.0.1.tar.gz
| Download URL | rcon-shell-0.0.1.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
981ca9521a5c098fd69d0289de5db5396dcd20515580e8e0222a003b02a42734
|
|
BLAKE2b-256 checksum How to use checksums |
29b2194a342821408b4330ff3bd6ebf2b2c9072651e96445f400efa140c553af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Release files / rcon_shell-0.0.1-py3-none-any.whl
| Download URL | rcon_shell-0.0.1-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb1dac717a20a6966d75bb812b5ecf3f19bdf8cfe5ba91ad9cd20e8742ff6291
|
|
BLAKE2b-256 checksum How to use checksums |
a88ce506f3473f5e6e4dc0372da81afb96ea169290f16483da866c2fe4523314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Security for rcon-shell 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.