mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-11-14 19:34:58 -05:00
A library for communication with a Minecraft client/server.
src/main/java/ch/spacebase/mcprotocol | ||
.gitignore | ||
LICENSE.txt | ||
pom.xml | ||
README.md |
mc-protocol-lib
About mc-protocol-lib
mc-protocol-lib is a simple library for communicating with a Minecraft client/server. It aims to allow people to make custom bots, clients, or servers for Minecraft easily.
How to respond to a server list ping
When you receive a server list ping packet when listening to a server, respond by calling connection.disconnect(Util.formatPingResponse(motd, players, maxplayers));
Chat Bot Example
See ch.spacebase.mcprotocol.example.ChatBot
Building the Source
mc-protocol-lib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory.
License
mc-protocol-lib is licensed under the MIT license.