Aio-MC-RCON

An asynchronous RCON client/wrapper written in Python for Minecraft Java Edition servers!
Installation
pip install -U aio-mc-rcon
Example Usage
- See the examples folder.
Documentation
class aiomcrcon.Client(host: str, port: int, password: str):
- Arguments:
host: str- The hostname / ip of the server to connect to.port: int- The port of the server to connect to.password: str- The password to connect, can be found as the value underrcon.passwordin theserver.propertiesfile.
- Methods:
connect(timeout: int = 2)- wheretimeouthas a default value of 2 seconds.send_cmd(cmd: str, timeout: int = 2)- wherecmdis the command to be executed on the server and timeout has a default value of 2 seconds.close()- closes the connection between the client and server.
exception aiomcrcon.RCONConnectionError
- Raised when the connection to the server fails.
exception aiomcrcon.IncorrectPasswordError
- Raised when the provided password/authentication is invalid.
exception aiomcrcon.ClientNotConnectedError
- Raised when the connect() method hasn't been called yet, and commands cannot be sent.
Release files for aio-mc-rcon 3.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aio_mc_rcon-3.5.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aio_mc_rcon-3.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / aio_mc_rcon-3.5.0.tar.gz
| Download URL | aio_mc_rcon-3.5.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36f2aaeeea37eb427840d25b0f50b7335753223851392aeba8ffbc615b7cf19d
|
|
BLAKE2b-256 checksum How to use checksums |
d32f5cbe6fbaeff920592645b059835314be8539f2d4f39cc094cbfd605a8ded
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency logRelease files / aio_mc_rcon-3.5.0-py3-none-any.whl
| Download URL | aio_mc_rcon-3.5.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66892c92c396f517cb5bc98e36ac8efdd5a6d2e794b00311a2909a8a7c561c74
|
|
BLAKE2b-256 checksum How to use checksums |
12cb163d778d2cfd001728955e97fa39bd670cb917c5ac0276b512849c0eb7b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency log