{"repo":"Iapetus-11/aio-mc-rcon","free":true,"listed":false,"github":"https://github.com/Iapetus-11/aio-mc-rcon","clone":"git clone https://github.com/Iapetus-11/aio-mc-rcon.git","description":"An asynchronous RCON client/wrapper for Minecraft Java Edition","language":"Python","stars":53,"topics":["rcon","mc-rcon","async","asyncio","aio-mc-rcon","async-mcrcon","mcrcon","aiomcrcon","minecraft","minecraft-rcon"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Aio-MC-RCON An asynchronous RCON client/wrapper written in Python for Minecraft Java Edition servers! Installation 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 under rcon.password in the server.properties file. - Methods: - connect(timeout: int = 2) - where timeout has a default value of 2 seconds. - 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. - 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.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Iapetus-11","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Iapetus-11/aio-mc-rcon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}