Hi, and thanks Both through the code to send the command from the player? For example: a player hit the NPC and then click the name of the player
I think it's: PHP: $this->getServer()->dispatchCommand($player, $command); Where $player is an instance of Player, and $command is your command.