PHP: case 9: if($sender->hasPermission("coreui.pl")) { $command = "pl" ; $this->getServer()->getCommandMap()->dispatch($sender, $command); return true; }else{ $sender->sendMessage("§cУ вас недостаточно прав для использования этой команды"); return true; } break; how to make the team run to get a list of plugins /pl for the player, and issue a /setgroup {player} vip ? above is my code that executes commands within the game... $server->dispatchCommand(new ConsoleCommandSender(), 'say abc Hello'); <<no work