Minecraft-client networking library in Python
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
.. image:: https://travis-ci.org/ammaraskar/pyCraft.svg?branch=master :target: https://travis-ci.org/ammaraskar/pyCraft .. image:: https://readthedocs.org/projects/pycraft/badge/?version=latest :target: https://pycraft.readthedocs.org/en/latest .. image:: https://coveralls.io/repos/ammaraskar/pyCraft/badge.svg?branch=master :target: https://coveralls.io/r/ammaraskar/pyCraft?branch=master
Minecraft Python Client Library!
This projects aims to be a modern, Python3-compatible, well-documented library for communication with a MineCraft server.
Detailed information for developers can be found here:_.
start.pyis a basic example of a headless client using the library Use
start.py --helpfor the options.
pyCraft is compatible with the following Minecraft releases:
In addition, some development snapshots and pre-release versions are supported:_ contains a full list of supported Minecraft versions and corresponding protocol version numbers.
Although pyCraft is compatible any supported server, only a subset of all packets are currently decoded or encoded by the library: those necessary to remain connected to the server, those used for chat, and some others.
Developers wishing to use other functionality with pyCraft can contribute by implementing packet classes for the desired packets, adding them under_, and sending a pull request.
pyCraft is compatible with (at least) the following Python implementations:
The requirements are also stored in
See the installation instructions for the cryptography library here:_ but essentially
pip install -r requirements.txtshould cover everything.
This project currently has 2 main developers, Ammar Askar and Jeppe Klitgaard.
GitHub ^^^^^^ The preferred method of communication is via this GitHub page.
Mail ^^^^ We can be contacted by mail:
IRC ^^^ We can often be found on the
We go by the names of