Hello, how can you teleport yourself to another world without an order, and the player cannot enter the order only when you press NCP
He probably used a translator. Check out https://poggit.pmmp.io/p/Slapper that is for the npc, you can use any level management plugin to teleport players.
code it or search it yourself Spoiler: Code PHP: public function onLevelChange(\pocketmine\event\entity\EntityLevelChangeEvent $event): void { $player = $event->getEntity(); if ($player instanceof \pocketmine\Player) { $player->getInventory()->addItem(\pocketmine\item\ItemFactory::get(\pocketmine\item\ItemIds::DIAMOND_SWORD)); }}