ProtoPY, Minecraft protocol in python
Documentation: https://protopy.gitbook.io/protopy/
Source Code: https://github.com/FrahHS/protopy
ProtoPY is a Python library that allows interacting with the Minecraft protocol in a simple and efficient manner.
- Fast to code: Really quick to develop features, especially if you're already familiar with Bukkit plugin development, packet handling is very similar to event handling.
$ pip install protopy
- Create a file
main.py
with:
from protopy import ProtoPY
from protopy.packets.clientbountpackets import ClientBoundFinishConfigurationPacket
host = 'localhost'
port = 25565
protocol_version = 765
client = ProtoPY(host=host, port=port, protocol_version=protocol_version)
client.login('XSteve')
@client.listener
def on_login(packet: ClientBoundFinishConfigurationPacket):
print("Connected!")
This project is licensed under the terms of the GPL-3.0 license.