Hello, tell me what behaviorPackEntries means, and resourcePackEntries in https://github.com/pmmp/PocketMine-.../network/protocol/ResourcePacksInfoPacket.php. And in general how to send a package? Does the ResourcePackClientResponsePacket work?
But is it not easier? I wanted to see something like this: Code: $pk = new ResourcePackClientResponsePacket(); $pk->mustAccept(true);
DO NOT send packets directly. That is bad practice that's come about from lack of suitable API. Resource packs are currently a work in progress on a development branch not intended for production use. Currently only base functionality is present, plugins do not have any power over them currently. If you insist on using packets, note that the Resource Pack Client Response is sent by the client only.