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

		if (sender instanceof Player) {
			try {
				if (!DBManager.idExist(titleId)) {
					sender.sendMessage("No titles exist with this id.");
					return false;
				}
				if (DBManager.hasTitle(sender.getName(), titleId)) {
					DonorTitles.chat.setPlayerPrefix(player,
							DBManager.getTitleFromId(titleId));
					sender.sendMessage(FontFormat
							.translateString("Your title has been set to "
									+ DBManager.getTitleFromId(titleId) + "&r."));
					return true;
				} else {
					sender.sendMessage("You do not have this title.");
				}
			} catch (Exception ex) {
				plugin.getLogger().log(Level.SEVERE,
						"Error executing Title Set command.", ex);
				return false;
			}
			return false;
		}
		sender.sendMessage("Only players can use this command");
		return false;
	}