its possible ^^ you must catch the PlayerActionPacket and it will call with action id 1 i think, you must experiment something ^^
Opening chat is purely client side. There is no packet for it. And even if there is, it is not `PlayerActionPacket`.
sure xD PHP: public function onDataPacketReceive(DataPacketReceiveEvent $event){ $packet = $event->getPacket(); if ($packet instanceof PlayerActionPacket) { //$this->plugin->getLogger()->warning("DataPacket: PlayerActionPacket was received with action id: " . $packet->action); }} go on server and if you opend the chat, then he send you PlayerActionPacket with action id 1 lol
That packet ID seems to be used for several things and would be very inconsistent to use. The simple act of joining the server sends a PlayerActionPacket with ID 1. It also sends an ID of 1 when you stop mining a block. This is not a solution to the problem.