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.
2776c24e05
* Use TCP_NODELAY and Epoll where possible * Add KQueue and respect disableNativeEventLoop property * Inject * works? * Make it pretty * Don't create a TCP EventLoopGroup unless needed * Add method for determining if we connected internally * fix datagrams * Support HAProxy probably * Set a bunch of things as final * Allow setting direct ByteBufs preferred * Expose channel; don't do packets on another thread * Don't set channel to null and do some more optimizing * Remove custom thread factory * Remove unused SocketChannelWrapper class * Remove all local channel classes * Allow for packets to be handled on a separate thread Co-authored-by: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> |
||
---|---|---|
.github/workflows | ||
example/com/github/steveice10/packetlib/test | ||
src/main/java/com/github/steveice10/packetlib | ||
.gitignore | ||
LICENSE.txt | ||
pom.xml | ||
README.md |
PacketLib
PacketLib is a library for packet-based networking between clients and servers. It was made as a basis for other projects involving packet networking.
Test Example
See examples/com/github/steveice10/packetlib/test
Building the Source
PacketLib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory.
Support and development
Please join us at https://discord.gg/geysermc under #mcprotocollib for discussion and support for this project.
License
PacketLib is licensed under the MIT license.