Pocketmine-mp: Server does not fire event when broadcasting packets

Created on 5 Nov 2017  路  2Comments  路  Source: pmmp/PocketMine-MP

Issue description

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.

API Network Implemented

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.

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheDiamondYT1 picture TheDiamondYT1  路  3Comments

sergeysova picture sergeysova  路  3Comments

dktapps picture dktapps  路  3Comments

Muqsit picture Muqsit  路  3Comments

XDqrkneZ picture XDqrkneZ  路  3Comments