[1.0] PacketListenAPI - Easily use packets on your plugin! icon

[1.0] PacketListenAPI - Easily use packets on your plugin! -----

A little API that makes packet interception and listening too easy!



PacketListenAPI

PacketListenAPI is a little API that makes packet interception and listening too easy, look this example:

Code (Java):
        PacketAPI. packetListen (player, PacketType. OUT, new PacketBack ( ) {
            @Override
            public boolean onPacketReceived (Player player, PacketType packetType, Packet packet ) {
                Bukkit. getConsoleSender ( ). sendMessage (packet. toString ( ) ) ;
                return false /* False = don't block, and True block the packet*/ ;
            }
        } ) ;
Where PacketType is the read/write packet, IN = Read (Client to Server), OUT = Write (Server to Clients).
Resource Information
Author:
----------
Total Downloads: 75
First Release: Jan 6, 2021
Last Update: Jan 6, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings