PacketEvents API icon

PacketEvents API -----

PacketEvents is an open-source Packet Processing API.



1.5.3 ALL BUGS FIXED AND IMPROVEMENTS ADDED
Changelog since 1.4.2
• All reload issues fixed
• Multiple plugins using the API can now run safely
• An Identifier must be specified in the settings
PacketEvents.getSettings().setIdentifier(“my-anticheat-name”);
The identifier MUST be set before the PacketEvents.start(this) is called!
This identifier is used to have unique handler names, another plugin having the same identifier will cause errors.
So, keep it unique!
• WrappedPacketOutKeepAlive wrapper added
• PlayerUninjectEvent#isSync added, basically telling you if the uninjection has been called asynchronously or synchronously.
The event is still called synchronously!
Players are only uninjected synchronously when the server stops/reloads.
Meaning the event is called asynchronously when they manually leave the server or have been kicked.
• PacketEvents.getAPI().getPlayerUtilities() deprecated, use getPlayerUtils()
• PacketEvents.getAPI().getServerUtilities() deprecated, please use getServerUtils()
• PacketEvents.getAPI().getPlayerUtils().uninjectPlayerNow(Player) added, calling that method will synchronously uninject the player.
----------, Jul 11, 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