Releases: retrooper/packetevents
Releases · retrooper/packetevents
v1.6.4
v1.6.3
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
v1.6.1
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
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
v1.5.8.2
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
v1.5.8
v1.5.7 Release
Changelog
- Memory Leak fix
- Deprecated methods removed