Skip to content

Releases: retrooper/packetevents

v1.3.9

03 Jul 16:32
Compare
Choose a tag to compare

Note: ONLY TESTED ON 1.8

  • PacketReceiveEvent#getPacketId() added
    *PacketType comparing packets should no longer be done with strings, instead with int IDs
    Example:
if(PacketReceiveEvent#getPacketId() == PacketType.Client.ARM_ANIMATION)
  • Comparing with int ids only finished for client side (serverbound) packets, server side support coming soon
  • PacketEvents should be it is started.
    It is recommended to load it in the onLoad() function in your main class, ONLY load if you are not using the packetevents jar.

How to load packetevents

PacketEvents.load()

How to start packetevents

PacketEvents.start(plugin);

v1.3.8

29 Jun 12:31
Compare
Choose a tag to compare
  • PacketTypeClasses class added for NMS Packet class comparisons
  • @PacketHandler(synchronization = EventSynchronization.x) added

v1.3.7.2

27 Jun 06:11
Compare
Choose a tag to compare

Changelog:

  • Fixed all issues with the entity-action wrapper

v1.3.7

26 Jun 14:00
9184d54
Compare
Choose a tag to compare

PacketEvents 1.3.7

• Most clientbound wrappers tested, it is assumed the rest will work
• Official 1.16.1 Support
• All bugs from 1.3.6.2 fixed
• Wrote a custom Reflection utils, much cleaner code now with auto caching

v1.3.6.3

25 Jun 21:25
9ed9db8
Compare
Choose a tag to compare

Changelog:

  • Bug fix, accidentally swapped read and write.

v1.3.6.2

25 Jun 20:55
Compare
Choose a tag to compare

All issues fixed with netty listener. Apologize for all these bugs.

v1.3.6

25 Jun 20:15
Compare
Choose a tag to compare

Changelog:

  • Forgot to uninject when the player leaves

v1.3.5.2

25 Jun 15:42
Compare
Choose a tag to compare

Changelog:

  • Issue with position or position look or look packet loading too late, causing them to be null.

v1.3.5.1

25 Jun 13:14
Compare
Choose a tag to compare

Changelog:

  • ViaVersion & ProtocolSupport are now marked as provided so they aren't packed inside your plugin!

v1.3.5

25 Jun 11:36
c0c03a0
Compare
Choose a tag to compare

1.3.5 RELEASE

This is the most stable version of PacketEvents I have ever released.
I recommend all of you update to this version!

Changelog:

  • TinyProtocol removed

  • API Size way smaller

  • PlayerUninjectEvent is now called

  • Version lookup methods re-added, but version lookup is only possible with ProtocolSupport or ViaVersion plugin avaialable on the server.
    If you try looking up version and none of the listed plugins could be found, you will result with ClientVersion.ACCESS_FAILURE

  • WrappedPacketOutAbilities sendable wrapper added

  • PostPlayerInjectEvent has been deprecated, please use PlayerInjectEvent

  • PlayerUninjectEvent now cancellable

  • PlayerInjectEvent or PlayerUninjectEvent cancelling, will cancel the action.

  • pom.xml version updated to 1.3.5

  • Packet class has been deprecated, please use PacketType instead!

  • Packet.isInstanceOfFlyingPacket(nmsPacket) -> PacketType.Util.isInstanceOfFlyingPacket(nmsPacket), and more instanceof functions are added in the PacketType.Util class too!

  • PacketReceiveEvent#getPacket() is deprecated, please use PacketReceiveEvent#getNMSPacket()

  • PacketSendEvent#getPacket() is deprecated, please use PacketSendEvent#getNMSPacket()

  • PacketEvents.setShouldKickOnRestart(boolean) removed