Assuming you already know how to register a command, the code for teleportation to another level is an one-liner: PHP: $player->teleport($targetLevel->getSpawnLocation()); If you have problems with getting the $targetLevel, here's how you can get a level by name: PHP: $targetLevel = Server::getInstance()->getLevelByName("LevelName"); It is suggested to have your own instance of Server instead of calling the static function to acquire the singleton instance, but as long as you are doing all this on main thread, there shouldn't be a problem.