private boolean execRegQuery(String user, String pass, String email, boolean admin) {
		try {
			int accId = plugin.getPlyrMngr().createAccount(user, pass, email, player.getIPAddress());
			if (accId > 0) {
				player.setAccountId(accId);
				player.setStatus(Status.Registered);
				response = admin ? "admin.register.success" : "register.success";
				return true;
			} else
				throw new SQLException();
		} catch (SQLException e) {
			xAuthLog.severe("Something went wrong while creating account for player: " + user, e);
			response = admin ? "admin.register.error.general" : "register.error.general";
			return false;
		}
	}