Event packets are triggered from the server based on specific events, at this time the only event supported is the location event.
Events are in the namespace hyevent
Events are managed by the HypixelModAPI implementation and sent to the server via a custom register packet to allow version context for backward compatibility with older client versions.
Joining the Hypixel Server will result in receiving a hypixel:hello packet, this can be used to identify that the client has connected to Hypixel, as well as containing the environment of the connected server.
This PR also removes the existing location packet, in favor of the event version of the packet.
Note: At this time none of these changes are implemented on the production server.
Implements support for event-driven packets.
location
event.hyevent
hypixel:hello
packet, this can be used to identify that the client has connected to Hypixel, as well as containing the environment of the connected server.Note: At this time none of these changes are implemented on the production server.