public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
		config = plugin.getConfig();
		if (args.length == 1 ){
			if (sender instanceof Player) {
				if (sender.hasPermission("darkcommand.hug")){
					if (commandLabel.equalsIgnoreCase("hug")){
						Player player = (Player) sender;
						Player target = Bukkit.getServer().getPlayer(args[0]);
						if (target != null){
							Bukkit.getServer().broadcastMessage(ChatColor.LIGHT_PURPLE + player.getName() + " has given " + args[0] + " a hug!");
							if(!(config.getBoolean("logcommands") == false)){
								int current = config.getInt("Times.Done.Hug");
								int newint = current + 1;
								config.set("Times.Done.Hug", newint);
								plugin.saveConfig();
							}
						}else{
							sender.sendMessage("This player either doesn't exist or isn't online!");
						}
					}
				}else{
					sender.sendMessage("You don't have permission to use this command!");
				}
			}else{
				sender.sendMessage("You must be a player to use this command!");
			}
		}else{
			sender.sendMessage("Usage: /hug <Player_Name>");
		}
		return true;
	}