If I change the dimension of a player onPreLogin, the player ant move. The change of the dimension works. PHP: $pk = new ChangeDimensionPacket();$pk->dimension = $dimension;$player->dataPacket($pk);
I've encountered more issues on PreLoginEvent. I had to create a workaround with EssentialsPE too, because changing the name of a player with nicks in PlayerPreLoginEvent resulted in the player getting disconnected from the server. Could you try reproducing this with something like PlayerJoinEvent?
The player doesn't inherit the full Player class during pre login event ($event->getPlayer() might still be just a \pocketmine\entity\Human). Why not use PlayerLoginEvent with a delay, or PlayerJoinEvent?
I already said something to PlayerJoin and PlayerLogin... And I found something new. If I join the server normally, it works. It if I transfer to the server, I can't move
Just send them to the actual dimension nether (world) and then to the target level. The simple way! The only con that I noticed was that the sky in normal (target) dimensions becomes red like the nether.