[A
[API] PacketListenerAPI
3.9.10-SNAPSHOTSimple API to manipulate sent and received packets | compatible with all versions
3.9.10-SNAPSHOTlatest1.18 supportMar 27, 2022 1.18 support3.9.9-SNAPSHOTdependency updateDec 27, 2021 dependency update3.9.8-SNAPSHOTfixAug 15, 2021 fixed an issue with sending packets3.9.3-SNAPSHOT1.17 supportJun 20, 2021 1.17 support3.9.2-SNAPSHOTFixJun 7, 2021 · Removed APIManager support, which should fix some issues with class loading3.9.1-SNAPSHOTMinor updateMay 28, 2021 Updated dependency3.9.0-SNAPSHOTJava 16 Compatibility + Removed legacy stuffMay 15, 2021 · Compatibility with Java 16 (see https://www.spigotmc.org/resources/api-reflectionhelper.1… · Dropped support for MC 1.7 · Updated maven group ID to match jitpack: https://jitpack.io/#org.inventivetalent/packetlistenerapi… Code (Text): <dependency> <groupId>org.inventivetalent.packetlistenerapi</groupId> <artifactId>api</artifactId> <version>3.9.0-SNAPSHOT</version> </dependency>3.8.0-SNAPSHOTfixesFeb 12, 2021 * fixes * java 9+ recommended now3.7.9-SNAPSHOT1.16.4 supportDec 9, 2020 · @stijnb1234 added support for 1.16.43.7.8-SNAPSHOTFixAug 26, 2020 Fixed an issue with 1.16.2 ( #71)3.7.7-SNAPSHOT1.16.2 supportAug 14, 2020 1.16.2 support3.7.6-SNAPSHOTfixApr 14, 2020 · updated ReflectionHelper to fix issues with java 12+3.7.5-SNAPSHOTVersion updateDec 17, 2019 · updated ReflectionHelper · should support 1.153.7.3-SNAPSHOT1.14 supportMay 31, 2019 1.14 support3.7.2-SNAPSHOTFixMar 17, 2019 · fixes a startup error complaining about a missing field in the update checker3.7.1-SNAPSHOTUpdateAug 27, 2018 · updated reflection helper for 1.13.13.7.0-SNAPSHOT1.13 supportJul 22, 2018 · updated reflection helper to support 1.133.6.0-SNAPSHOT1.12 supportJun 16, 2017 1.12 support3.5.2-SNAPSHOTbStatsFeb 4, 2017 · added bStats to replace MCStats3.5.1-SNAPSHOTFixFeb 2, 2017 · fixed (#8) issue with the updater3.5.0Minor update (1.11 support)Feb 1, 2017 · updated some dependencies to support 1.11 properly · removed MCStats · added spiget updater3.4.4FixJul 2, 2016 · possibly fixed an exception that could occur sometimes when starting/stopping the server3.4.21.10 supportJun 9, 2016 · updated ReflectionHelper for 1.10 support3.4.1FixMay 27, 2016 · fixed compatibility issues with 1.9.4 · added methods to get packet fields by their index3.4.0FixMay 10, 2016 · fixed download3.3.5ProtocolSupport fixApr 6, 2016 · fixed compatibility with ProtocolSupport3.3.4ReflectionHelper updateApr 6, 2016 · updated ReflectionHelper3.3.3Minor updateMar 17, 2016 · update for APIManager & ReflectionHelper3.3.2FixMar 10, 2016 · fixed some imports which depended on the deprecated API3.3.1FixMar 9, 2016 · fixed issues with APIManager3.3.0APIManager supportMar 9, 2016 · added support for APIManager3.2.0Minor API updateMar 5, 2016 · #setPacketValue & #getPacketValue now throw the exception instead of printing it · added #setPacketValueSilent & #getPacketValueSilent which ignore the exceptions completely3.1.0Server-Packet updateMar 5, 2016 · added methods to access the Channel of server-packets · Javadocs for Packet#getChannel3.0.1FixMar 4, 2016 · fixed PacketOptions for onReceive3.0.0FixMar 2, 2016 · ReflectionHelper fix for versions < 1.92.5.2Compatibility updateJun 1, 2015 · fixed compatibility issues · now (hopefully) supports ProtocolSupport2.5.1Minor fixMay 6, 2015 · fixed player disconnects when reloading the server · Don't use /reload anyways.2.5Fixed @PacketOptions | FixesApr 17, 2015 · fixed @PacketOptions annotation functionality · fixed missing player objects for incoming packets2.4.1Minor code updateMar 28, 2015 · proper toString method for Packets · added method PacketHandler.sendPacket(Player, Object) to send packets · added method PacketHandler.cloneObject(Object) to clone an Object (e.g. Packet)2.4Minor updateMar 28, 2015 · PacketHandler constructor with plugin instance2.3Added @PacketOptions annotationMar 23, 2015 · Code (Java): PacketHandler. addHandler ( new PacketHandler ( ) { @Override @PacketOptions (forcePlayer = true ) public void onSend (SentPacket packet ) { } @Override @PacketOptions (forceServer = true, forcePlayer = false ) public void onReceive (ReceivedPacket packet ) { } } ) ; added @PacketOptions annotation · allows you to limit processed packets to either player or server packets2.2.1Fixed players in packets being overridden by the server listenerMar 23, 2015 · fixed players in packets being overridden by the server listener, which meant you could not get the packet receiver from player packets2.2Fixed packet replacementMar 23, 2015 · fixed packet replacement (packet.setPacket)2.1.1Removed exceptions for server-packetsMar 22, 2015 · removed exception messages for server-packets2.1Support for non-player packetsMar 21, 2015 · added support for non-player packets · will still be handled through the 'onSend' & 'onReceive' methods without a player · added 'hasPlayer' method to packets2.0Version independentMar 19, 2015 · update by @Dablakbandit to make the API version independent1.9Switched to PacketHandlersMar 16, 2015 · switched to PacketHandlers instead of events · events are still available for compatibility Code (Java): PacketListenerAPI. addPacketHandler ( new PacketHandler ( ) { @Override public void onSend (SentPacket packet ) { } @Override public void onReceive (ReceivedPacket packet ) { } } ) ; .SpoilerTarget">Spoiler: Why no longer Events? Events might be convenient to use, but they are not very efficient. For example, calling the send or receive event takes 30 milliseconds on average. That may not sound much, but compared to the new method, events are way slower. The PacketHandlers never took over 1 millisecond to call while testing, so scaled to bigger servers it is a lot more efficient.1.8minor updateMar 15, 2015 · removed unnecessary exception1.7Update to Spigot 1.8.3Mar 12, 2015 · updated to Spigot 1.8.31.6fixed EventsMar 6, 2015 · fixed problems with the (asynchronous) packet events1.5removed unnecessary exceptionMar 5, 2015 · removed unnecessary exception on player disconnect1.4Updated downloadFeb 17, 2015 Updated download URL1.3.1Exception fixJan 7, 2015 Fixed the java.util.NoSuchElementException Exception on Player disconnect.1.3Update to all 1.7 and 1.8 VersionsJan 7, 2015 Updated to all Versions of 1.7 and 1.81.2Update to 1.8Jan 6, 2015 Updated to 1.8. (Automatically injects the Events for the correct Server version.)1.0Jan 5, 2015
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta