Server::batchPackets and therefore Server::broadcastPacket etc do not fire corresponding event 芦DataPacketSendEvent禄. I've dealed with this while catching core's settime packets sending to players by Level. I think, it should be better API.
Batching & broadcasting in general is very messy right now. This is one problem I did notice. It will be dealt with in due course.
This will be resolved in my upcoming network rewrite.
Most helpful comment
Batching & broadcasting in general is very messy right now. This is one problem I did notice. It will be dealt with in due course.