Here is the code I would like to use: PHP: $level = $this->getServer()->getLevelByName("Hub"); Now I want to be able to replace "Hub" with the world the player is currently in. How do I do this?