/transferserver does that, https://github.com/pmmp/PocketMine-...ne/command/defaults/TransferServerCommand.php
Try this: PHP: /** * @param Player $player */ public function changeDimension(Player $player){ $pk = new ChangeDimensionPacket(); $pk->position = $player->asVector3(); $pk->dimension = DimensionIds::OVERWORLD; $pk->respawn = true; $player->dataPacket($pk); } //Exemple on the event. public function Interact(PlayerInteractEvent $ev){ $this->changeDimension($ev->getPlayer()); } Do not forget to register class. PS: You have many dimension like End, Nether.
https://forums.pmmp.io/threads/how-to-unshow-loading-screen-in-1-2.3982/#post-37735 P.S. If you set the dimension to the dimension the player is currently in, the player will be stuck on that screen.