On Netty Packet (Event) — skPackets
Addon: skPackets · Category: Event · Since: 1.0.0
Syntax
[on] netty packet [with packet[events] priority ((lowest|low|normal|high|highest|monitor))]Description
Listens to any incoming or outgoing packet on the packet's processing thread. Equivalent to 'on any packet netty processed'. Packets can be changed or cancelled except at monitor priority. Bukkit operations requiring the server thread must not be used here.
Event Values
- event-packet
- event-player
Examples
on netty packet:
set {_type} to packet type of event-packet