$level !== $name; To teleport Player TO X Y Z $level PHP: $player->teleport(new Position($x,$y,$z,$level));
You should explain in more detail. Maybe he doesn't use an event? @JUZEXMOD You can teleport players by Player::teleport($pos) while $pos is your position. Could be the spawnpoint a world ($this->getServer()->getLevelByName("WORLDNAME")->getSafeSpawn()) or any position of your choice. (Vector3 or Position)