Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ammaraskar/pycraft
Minecraft-client networking library in Python
https://github.com/ammaraskar/pycraft
client library minecraft networking python
Last synced: 18 days ago
JSON representation
Minecraft-client networking library in Python
- Host: GitHub
- URL: https://github.com/ammaraskar/pycraft
- Owner: ammaraskar
- License: other
- Created: 2012-04-05T02:55:42.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-02-04T02:10:39.000Z (11 months ago)
- Last Synced: 2024-11-30T17:53:11.030Z (22 days ago)
- Topics: client, library, minecraft, networking, python
- Language: Python
- Homepage:
- Size: 716 KB
- Stars: 816
- Watchers: 39
- Forks: 183
- Open Issues: 79
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pyCraft
=======
.. image:: https://app.travis-ci.com/ammaraskar/pyCraft.svg?branch=master
:target: https://app.travis-ci.com/github/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=masterMinecraft 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.py`` is a basic example of a headless client using the library
Use ``start.py --help`` for the options.Supported Minecraft versions
----------------------------
pyCraft is compatible with the following Minecraft releases:* 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9
* 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
* 1.10, 1.10.1, 1.10.2
* 1.11, 1.11.1, 1.11.2
* 1.12, 1.12.1, 1.12.2
* 1.13, 1.13.1, 1.13.2
* 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4
* 1.15, 1.15.1, 1.15.2
* 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5
* 1.17, 1.17.1
* 1.18, 1.18.1In addition, some development snapshots and pre-release versions are supported:
``_ contains a full list of supported Minecraft versions
and corresponding protocol version numbers.Supported functionality
-----------------------
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.Supported Python versions
-------------------------
pyCraft is compatible with (at least) the following Python implementations:* Python 3.5
* Python 3.6
* Python 3.7
* Python 3.8
* Python 3.9
* PyPyRequirements
------------
- `cryptography `_
- `requests `_
- `PyNBT `_The requirements are also stored in ``setup.py``
See the installation instructions for the cryptography library here: ``_
but essentially ``pip install -r requirements.txt`` should cover everything.Contact
-------
This project currently has 2 main developers, *Ammar Askar* and *Jeppe Klitgaard*.GitHub
^^^^^^
The preferred method of communication is via this GitHub page.
^^^^
We can be contacted by mail:* Ammar Askar `[email protected] `_
* Jeppe Klitgaard `[email protected] `_IRC
^^^
We can often be found on the ``minecraftdev`` IRC on
`irc.esper.net `_We go by the names of ``ammar2`` and ``dkkline``.