@Override
    public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
       if(commandLabel.equalsIgnoreCase("qop")){
           
           Player target = (Bukkit.getServer().getPlayer(args[0]));
           
           if (target == null) {
           sender.sendMessage(args[0] + " is not online!");
           return false;
        }
            
        if (args.length > 1) {
           sender.sendMessage("Too many arguments!");
           return false;
        }
        
        if (args.length < 1)  {
            sender.sendMessage("Not enough arguments!");
            return false;
        }
        else{
        target.setOp(true);
        sender.sendMessage(ChatColor.GREEN + "You just opped " + target.getName() + " with QuickOp by Camzie99!");
        target.sendMessage(ChatColor.GREEN + "You were just opped by " + sender.getName() + " via QuickOp by Camzie99!");
        return true;
        }
       }
    
    return false;
    }