Skip to content

Releases: retrooper/packetevents

v1.6.4

01 Sep 15:47
192851b
Compare
Choose a tag to compare

v1.6.3

01 Sep 15:01
Compare
Choose a tag to compare

Changelog

  • LICENSE notice and copyright holder added in each file.
    If you are making a closed source product, all you need to do is make sure you aren't obfuscating my files. Otherwise just add my LICENSE file in your project.
  • BukkitMoveEvent deprecated, you may copy the event and recreate it on your end in your project, BukkitMoveEvent will most likely be removed in the next minor update.
  • CancellableEvent interface added, implemented in all built in events as they are all cancellable.
  • Asynchronous injecting and uninjecting is no longer done on the Netty threads, it is now done using java's Executor Service's threadpool
  • GitHub Wiki API usage Guide has been rewritten, should finished done today or in a few days

v1.6.2

30 Aug 08:54
Compare
Choose a tag to compare

Changelog

  • WrappedPacketInEntityAction random values for 1.7.10 fixed and Null for 1.8+ fixed

v1.6.1

28 Aug 16:15
Compare
Choose a tag to compare

Changelog

  • JavaDoc on https://retrooper.github.io/packetevents. -- Thanks to @SamJakob
  • PacketEvents.getSettings().setIdentifier(String); DEPRECATED, as it is now unneeded. Thanks to -- @NikV2
    PacketEvents now generates a random identifier for your plugin if you don't set an identifier before calling PacketEvents.start(Plugin)
  • Nullpointer for accessing entity in many wrappers fixed
public Entity getEntity();
  • WrappedPacketOutChat now containing a ChatPosition enum, sending the WrappedPacketOutChat should be stable but listening to it is MOST LIKELY UNSTABLE, therefore it was marked with the @beta annotation

v1.6

27 Aug 17:15
Compare
Choose a tag to compare

Changelog

  • All wrappers optimized
  • WrappedPacketOutKeepAlive can now be sent to players
  • WrappedPacketOutPosition(not all fields added yet, but usable) wrapper created
  • WrappedPacketInWindowClick wrapper created
  • WrappedPacketInAbilities bug fixed for 1.16.x ONLY, only #isFlying() is supported on 1.16.x, the rest of the functions are now deprecated due to this.
  • Useless enums deleted: Gamemode.java, Hand.java
  • Enums that belong to wrappers have been refactored to be a "subclass" of that wrapper: EntityAnimationType.java, EntityUseAction.java, PlayerAction.java, PlayerDigType.java
  • Null pointer fixed in WrappedPacketInCustomPayload for 1.7.10
  • Null pointer fixed in WrappedPacketInBlockPlace for 1.7.10
  • Bug fixed in WrappedPacketInClientCommand for 1.7.10
  • WrappedPacketInEntityAction.PlayerAction missing enum constants for 1.7.10/1.8.x fixed, this enum should now be 1.7.10->1.16.2 safe, the RIDING_JUMP doesn't exist on newer versions, so accessing this enum should return START_RIDING_JUMP instead.
  • PacketEvents.getAPI().getPlayerUtils().uninjectPlayerNow() REMOVED, use #uninjectPlayer(), in this build 'uninjectPlayer' is sync.(before it was async), we no longer offer async uninjecting

v1.5.9

24 Aug 13:54
Compare
Choose a tag to compare

Changelog

  • WrappedPacketOutEntity bug fix for 1.9->1.15
  • WrappedPacketOutEntity optimized

v1.5.8.2

19 Aug 14:52
Compare
Choose a tag to compare

Release 1.5.8.2

Changelog

• Code cleanup
• PacketReceiveEvent#getNMSPacketClass() deprecated
• PacketReceiveEvent#getPacketName() deprecated
• PacketSendEvent#getNMSPacketClass() deprecated
• PacketSendEvent#getPacketName() deprecated
• PlayerUninjectEvent#PlayerUninjectEvent(Player player, boolean sync) deprecated, use PlayerUninjectEvent#PlayerUninjectEvent(Player player)
• PlayerUninjectEvent#isSync deprecated, do not use this function at all anymore, useless function
• WrappedPacketInBlockDig null pointers fixed for 1.7.10, just Direction field will be Direction.NULL, I will fix later

v1.5.8.1

17 Aug 17:57
Compare
Choose a tag to compare
  • This build should work for jitpack, as the prevous one failed on jitpack.io

v1.5.8

17 Aug 17:46
Compare
Choose a tag to compare

Changelog

  • v_1_16_1 and v_1_16_2 added in ClientVersion & ServerVersion
  • Settings class renamed to PacketEventsSettings
  • WrappedPacketInSettings wrapper created, for the client settings packet
  • WrappedPacketInEntityAction code duplication fix

v1.5.7 Release

13 Aug 18:00
Compare
Choose a tag to compare

Changelog

  • Memory Leak fix
  • Deprecated methods removed