@Override
	public boolean execute(CommandSender sender, String identifier,
			String[] args) {
		String playerName = args[0];
		String titleId = args[1];

		if (sender instanceof Player) {
			try {
				if (!DBManager.idExist(titleId)) {
					sender.sendMessage("This id does not exist.");
					return false;
				}
				if (DBManager.hasTitle(playerName, titleId)) {
					sender.sendMessage("Player already has this title.");
					return false;
				}
				if (DBManager.getTitleFromId(titleId) != null) {
					DBManager.grantTitle(playerName, titleId);
					sender.sendMessage(FontFormat.translateString("Player "
							+ playerName + " has been granted the title: "
							+ DBManager.getTitleFromId(titleId) + "&r."));
					return true;
				} else {
					sender.sendMessage("There was an error granting a player a title");
				}
			} catch (Exception ex) {
				plugin.getLogger().log(Level.SEVERE,
						"Error executing Title Grant command.", ex);
				return false;
			}

			return false;
		}
		sender.sendMessage("Only players can use this command");
		return false;
	}