Skip to content

Releases: retrooper/packetevents

v1.0.9 Release

27 Apr 09:27
Compare
Choose a tag to compare

Massive optimizations!

Unneeded reflection usages removed.
Now everything is rewritten for each single version, all imports are organized.
Finally support 1.8 -> 1.15 STABLE

v1.0.8 Release

24 Apr 11:56
Compare
Choose a tag to compare

PacketEvents.getPacketManager().unregisterPacketListener(packetListener); method added.

PacketManager cleaned up.

v1.0.7 Release

24 Apr 11:52
Compare
Choose a tag to compare

Examples improved, make sure to always use the up to date versions.

v1.0.6 Release

22 Apr 12:51
Compare
Choose a tag to compare

Massive update

New features:

• LOGIN packet added to Packet.Server
Usage: Packet.Server.LOGIN

-New methods in PacketReceiveEvent and PacketSendEvent:
• getMotionX(), ...Y(), ...Z() now exist, accessing the player's motX, motY and motZ variable.
• getPing(), get the the player's ping

- New methods in PacketSendEvent
• getVelocityEntity(), access the entity in the PacketPlayOutEntityVelocity packet(Packet.Server.ENTITY_VELOCITY)
with reflection, getVelocityEntity() should only be used when the ENTITY_VELOCITY packet was called

- New methods in PacketReceiveEvent
• getInteractedEntity(), get the entity you interacted with in the Packet.Client.USE_ENTITY packet
• getEntityUseAction() returns the enum EntityUseAction, when the Packet.Client.USE_ENTITY packet is received
• getPlayerAction() returns the enum PlayerAction, when the Packet.Client.ENTITY_ACTION packet is received
• getChatMessage() returns the string message in the Packet.Client.CHAT packet

- Send packets to players
• sendPacket(Player player, Object packet)
• sendPacket(Player player, io.netty.channel.Channel channel)
• sendVelocity(Player player, double x, double y, double z)
Use the sendVelocity(...) as an example, to send your own packets.
Ability to send more packets might be added in future releases.(like sendVelocity(..)), as PacketEvents is all about simplicity, but also having enough freedom to do whatever you want and experiment!

v1.0.5 Release

21 Apr 14:03
Compare
Choose a tag to compare

Packet cancelling and enum accessing with reflection added

v1.0.4

21 Apr 07:36
Compare
Choose a tag to compare

Small pom.xml changes

v1.0.3 Release

21 Apr 07:20
Compare
Choose a tag to compare

ServerTickEvent has been added!
It is called asynchronously every tick.

TestExample.java class has been updated, an example for the ServerTickEvent has been added!
Check out me/purplex/packetevents/example/TestExample.java

v1.0.1 Release!

20 Apr 06:18
Compare
Choose a tag to compare

The TestExample has been improved.
Please use the this version.

1.0.0

17 Apr 12:53
Compare
Choose a tag to compare

Release of PacketEvents, by Purplex