try this but it doesn´t work for me :/ https://forums.pocketmine.net/threads/opening-inventory.8955/