When I transfer player with $player->transfer it all times say 'Unable to connect the world' How to fix?
No, my target server is online, I tried joining it without transfering and it worked and also tried transfering to other servers like lbsg, but still unable to connect the world
Use the TransferPacket, the Player-> transfer () method closes the player immediately after the packet is executed, and the player will not be able to transfer to the second server. PHP: $pk = new TransferPacket();$pk->address = "0.0.0.0"; // adress$pk->port = 19132; // port$player->dataPacket($pk);