A library for communication with a Minecraft client/server.
Find a file
Camotoy 2776c24e05
Merge in Geyser changes to master (#38)
* 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>
2021-11-12 11:12:52 -05:00
.github/workflows Add CI action. 2019-08-27 23:53:41 -07:00
example/com/github/steveice10/packetlib/test Collapse Client and Server into *ClientSession and ConnectionListener. 2021-01-15 12:45:06 -08:00
src/main/java/com/github/steveice10/packetlib Merge in Geyser changes to master (#38) 2021-11-12 11:12:52 -05:00
.gitignore General cleanup, fixes, and re-versioning. 2015-07-20 12:09:58 -07:00
LICENSE.txt Update license year. 2021-05-13 00:28:23 -07:00
pom.xml Update dependiences and add io_uring pool 2021-08-15 18:29:38 +02:00
README.md Add Discord link 2021-10-04 20:43:15 -04:00

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.