{"id":26601489,"url":"https://github.com/iapetus-11/aio-mc-rcon","last_synced_at":"2025-04-06T20:08:57.255Z","repository":{"id":46049600,"uuid":"310643278","full_name":"Iapetus-11/aio-mc-rcon","owner":"Iapetus-11","description":"An asynchronous RCON client/wrapper for Minecraft Java Edition","archived":false,"fork":false,"pushed_at":"2025-03-09T20:30:14.000Z","size":127,"stargazers_count":44,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T19:05:12.822Z","etag":null,"topics":["aio-mc-rcon","aiomcrcon","async","async-mcrcon","asyncio","mc-rcon","mcrcon","minecraft","minecraft-java-edition","minecraft-rcon","rcon"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Iapetus-11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-06T16:04:16.000Z","updated_at":"2025-03-09T20:30:17.000Z","dependencies_parsed_at":"2025-03-23T18:40:40.121Z","dependency_job_id":"7a0b2d83-9f5f-4697-93ff-adfd0dd431c7","html_url":"https://github.com/Iapetus-11/aio-mc-rcon","commit_stats":{"total_commits":167,"total_committers":5,"mean_commits":33.4,"dds":0.4491017964071856,"last_synced_commit":"973d8a717dc91e1b97664d1bd431ceff7ca9decd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iapetus-11%2Faio-mc-rcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iapetus-11%2Faio-mc-rcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iapetus-11%2Faio-mc-rcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iapetus-11%2Faio-mc-rcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Iapetus-11","download_url":"https://codeload.github.com/Iapetus-11/aio-mc-rcon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543589,"owners_count":20955865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aio-mc-rcon","aiomcrcon","async","async-mcrcon","asyncio","mc-rcon","mcrcon","minecraft","minecraft-java-edition","minecraft-rcon","rcon"],"created_at":"2025-03-23T18:40:15.864Z","updated_at":"2025-04-06T20:08:57.238Z","avatar_url":"https://github.com/Iapetus-11.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aio-MC-RCON ![Code Quality](https://www.codefactor.io/repository/github/iapetus-11/aio-mc-rcon/badge) ![PYPI Version](https://img.shields.io/pypi/v/aio-mc-rcon.svg) ![PYPI Downloads](https://img.shields.io/pypi/dw/aio-mc-rcon?color=0FAE6E)\nAn asynchronous RCON client/wrapper written in Python for Minecraft Java Edition servers!\n\n## Installation\n```\npip install -U aio-mc-rcon\n```\n\n## Example Usage\n- See the [examples folder](https://github.com/Iapetus-11/aio-mc-rcon/tree/main/examples).\n\n## Documentation\n#### *class* aiomcrcon.**Client**(host: *str*, port: *int*, password: *str*):\n- Arguments:\n  - `host: str` - *The hostname / ip of the server to connect to.*\n  - `port: int` - *The port of the server to connect to.*\n  - `password: str` - *The password to connect, can be found as the value under `rcon.password` in the `server.properties` file.*\n- Methods:\n  - `connect(timeout: int = 2)` - *where `timeout` has a default value of 2 seconds.*\n  - `send_cmd(cmd: str, timeout: int = 2)` - *where `cmd` is the command to be executed on the server and timeout has a default value of 2 seconds.*\n  - `close()` - *closes the connection between the client and server.*\n\n#### *exception* aiomcrcon.**RCONConnectionError**\n- *Raised when the connection to the server fails.*\n\n#### *exception* aiomcrcon.**IncorrectPasswordError**\n- *Raised when the provided password/authentication is invalid.*\n\n#### *exception* aiomcrcon.**ClientNotConnectedError**\n- *Raised when the connect() method hasn't been called yet, and commands cannot be sent.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiapetus-11%2Faio-mc-rcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiapetus-11%2Faio-mc-rcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiapetus-11%2Faio-mc-rcon/lists"}