Hello, I am looking for help developing a plugin that sees when you are in a certain world such as 'hi' and executes a certain command to a certain player. How can I do this? Thanks!
PHP: if($event->getPlayer()->getLevel()->getName() == "playerMap" and $event->getPlayer()->getName() == "certainPlayer"){#code}