descriptionnone
repository URLhttps://github.com/ammaraskar/pyCraft.git
ownerjyf1987@gmail.com
last changeSun, 2 Jan 2022 14:41:36 +0000 (2 15:41 +0100)
last refreshFri, 26 Apr 2024 08:31:41 +0000 (26 10:31 +0200)
content tags
add:
README.rst
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=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:
`<http://pycraft.readthedocs.org/en/latest/>`_.

``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.1

In addition, some development snapshots and pre-release versions are supported:
`<minecraft/__init__.py>`_ 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
`<minecraft/networking/packets>`_, 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
* PyPy

Requirements
------------
- `cryptography <https://github.com/pyca/cryptography#cryptography>`_
- `requests <http://docs.python-requests.org/en/latest/>`_
- `PyNBT <https://github.com/TkTech/PyNBT>`_

The requirements are also stored in ``setup.py``

See the installation instructions for the cryptography library here: `<https://cryptography.io/en/latest/installation/>`_
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.

Mail
^^^^
We can be contacted by mail:

* Ammar Askar `ammar@ammaraskar.com <mailto:ammar@ammaraskar.com>`_
* Jeppe Klitgaard `jeppe@dapj.dk <mailto:jeppe@dapj.dk>`_

IRC
^^^
We can often be found on the ``minecraftdev`` IRC on
`irc.esper.net <https://www.esper.net/>`_

We go by the names of ``ammar2`` and ``dkkline``.
shortlog
2022-01-02 joodicatorFix: 1.16.5 is erroneously marked as unsupported1.18.1master
2021-12-16 joodicatorFix: Travis pypy test environment fails to install
2021-12-16 joodicatorAdd support for Minecraft 1.18 and 1.18.1.
2021-12-16 joodicatorMerge pull request #238 into pull request #230
2021-12-10 Andrew Soupdate to 1.17.1 and minor fixes
2021-12-05 Mike ShlantaMove virtualenv upgrade to before_install
2021-12-05 Mike ShlantaAddress missing rustc for py36 in TravisCI
2021-12-05 Mike ShlantaFlake8: E502, E131
2021-12-05 Mike ShlantaE501
2021-07-08 Andrew SoMerge pull request #1 from jyooru/pull230
2021-07-05 jyoorulint: E231
2021-07-05 jyoorulint: W293
2021-07-05 jyoorulint: E302
2021-07-05 jyoorulint: W292
2021-06-13 Andrew Sogot all basic requires for it work for 1.17
2021-06-12 Andrew Soupdated all other packets that needed updating
...
tags
4 years ago 1.14.2
6 years ago 1.12.1
6 years ago 1.12
7 years ago 1.11
7 years ago 1.10
9 years ago 1.8 Protocol version 47, minecraft...
heads
2 years ago master
2 years ago 1.18.1
3 years ago issue146
5 years ago bots
5 years ago fakeauth
6 years ago issue70
9 years ago nbt_exploit
9 years ago new_types
9 years ago dev