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

L3ice picture L3ice  路  21Comments

Frago9876543210 picture Frago9876543210  路  50Comments

markkrueg picture markkrueg  路  18Comments

zKoz210 picture zKoz210  路  27Comments

Muqsit picture Muqsit  路  23Comments