Skip to content
This repository was archived by the owner on Aug 9, 2020. It is now read-only.

Creating a packet Module

AtomIsHere edited this page Jan 19, 2018 · 1 revision

To create a packet module you have to create a package called modules in the root of your project (The "java" folder), create a class inside the package called ModuleClass, make it extend "PacketModule"

Once you've done that implement the methods, and make getClientPacket and getServerPacket return the packet you want to listen for and in onPacketSend and onPacketRecieve add the code for handling the packet

Clone this wiki locally