General - On Packet (Event) — skPackets

Addon: skPackets · Category: Event · Since: 1.0.0

Syntax

[on] ([any] packet|%*-packettype%) [((sync|async|netty)) processed] [with packet[events] priority ((lowest|low|normal|high|highest|monitor))]

Description

Listen to incoming/outgoing packets, more on [the wiki](https://github.com/3add/PacketEventsSK/wiki/Events)

Event Values

  • event-packet
  • event-player

Examples

on serverbound interact entity packet netty processed:
    cancel packet
on any packet:
    send packet type of event-packet to console

View source