PacketEvents API icon

PacketEvents API -----

PacketEvents is an open-source Packet Processing API.



TINYPROTOCOL REMOVED, FILE SIZE REDUCED, ALL BUGS FIXED!
PLEASE USE THIS UPDATED VERSION AS IT CONTAINS A LOT OF BUG FIXES!

Expect official 1.16 support in the next update!

Changelog:

Clientbound Abilities wrapper added and is sendable to clients

• Clientbound health update wrapper added and is sendable...
  • 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.
  • 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
  • Issues with netty fixed
----------, Jun 26, 2020
Resource Information
Author:
----------
Total Downloads: 19,576
First Release: Jun 16, 2020
Last Update: Dec 10, 2024
Category: ---------------
All-Time Rating:
50 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings