Skip to content

Conversation

ConnorLinfoot
Copy link
Member

@ConnorLinfoot ConnorLinfoot commented Apr 25, 2024

Implements support for event-driven packets.

  • 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.

@ConnorLinfoot ConnorLinfoot marked this pull request as ready for review May 15, 2024 17:23
@ConnorLinfoot ConnorLinfoot changed the title Potential system for event-driven packets Implement event-driven packets May 15, 2024
@ConnorLinfoot ConnorLinfoot changed the title Implement event-driven packets Implement event-driven packet system May 15, 2024
@ConnorLinfoot ConnorLinfoot merged commit 5fc19bb into master May 15, 2024
@ConnorLinfoot ConnorLinfoot deleted the event branch May 15, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant