Part Oe of Five: An Online Dsitance calculator.
Here is a link to an online calculator that calculates the distance between two stars.
I think it only works for the stars that are in it's data base.
Part Two: A Problem With Aliens From Delta Pavonis.
Here is a frame challenge.
Delta Pavonis might be too close to Earth to be the center of a realm colonizing other stars, if Earth is not already colonized at the beginning of the story. Because only a minority of stars would be expected to have (naturally) habitable planets, Earth might be one of a very few habitable planets closest to Data Pavonis, or even the closest habitable planet to Delta Pavonis.
Here is a link to Habitable Planets for Man, Stephen Dole, 1964.
There are many places within the biosphere of planet Earth which are filled with lifeforms, but where unwarned and unprotected humans would swiftly die. For example, a few kilometers high the atmosphere, or a few kilometers beneath the surface of the Sea, or a few kilometers deep in rock where microorganisms live. And even on the surface of the Earth, the majority of the surface is water too far from the nearest land for a human to swim.
So most parts of Earth's biosphere are habitable for liquid water using lifeforms, but not habitable for humans. So it is easy to imagine that there could be planets which are habitable for some liquid water using lifeforms, but don't have any places that are habitable for humans.
So planets habitable for humans in particular should be a smaller subset of planets habitable for liquid water using life in general.
And most discussions of planetary habitability discuss habitability for liquid water using life in general. The only discussion of planetary habitability for humans in particular (and thus for aliens who also need an oxygen rich atmosphere) is Habitable Planets for Man.
Dole calculates the probability that an individual star will have a human habitable planet, a figure which many science fiction fans will consider to be "Dole-fully" small.
Table 19 on page 105 lists the expected (by Dole) number of human habitable planets within spheres around Earth with different radii.
Within a radius of 27.2 light years there should be one habitable planet (beside Earth).
Within a radius of 34.3 light years there should be 2 habitable planets (beside Earth).
Within a radius of 46.5 light years there should be 5 habitable planets (beside Earth).
Within a radius of 25.5 light years there should be 10 habitable planets (beside Earth).
Within a radius of 100 light years there should be 50 habitable planets (beside Earth).
So if the Delta Pavonians made the same sort of calculations and got the same figures as Dole, they would be pleasantly surprised to find their first habitable planet as close to Delta Pavonis as Earth is. And Earth would be the first planet they conquered and colonized.
So every writer of a story where aliens colonize planets of other stars beside their home star has to decide on how many planets they have already colonized, and thus the radius of their sphere of colonization. And if Earth is not already colonized by them at the beginning of the story, their home planet must be at least a little bit, and possibly thousands of light years, farther from Earth than the radius of their sphere of colonization.
So if the Delta Pavonians have already colonized a bunch of different star systems at the star of the story, Earth will be within their sphere of colonization. And maybe the Delta Pavonians decided not to colonize Earth or interfere with humans, but only colonized planets with no native intelligent life. So stars colonized by the Delta Pavonians should be all around Earth in every direction. And the home star of the aliens who fight the Delta Pavonians could be in any direction as seen from Earth, since the Delta Pavonian border which those aliens come from beyond is in every direction as seen from Earth.
Part Three: A Solution.
Or the aliens could come from a star tens or hundreds of light years from Earth. At that distance a star capable of having a naturally human habitable planet would probably not be visible to the naked eye from Earth and would be known by its catalog numbers in various star catalogs.
Part Four: Another Solution.
Or you could say in your story that many more planets in the star systems around Earth are habitable than should naturally be habitable. The cause is that sometime in the past an advanced society terraformed the planets of many stars, including many stars which couldn't have naturally habitable planets, and so habitable planets are much more common than they would naturally be.
Thus the Delta Pavonians could have colonized at least a few planets around nearby stars without having discovered Earth yet.
Part Five: The Worldbuilding Stack Exchange.
You can also ask questions about creating fictional worlds and societies at the Worldbuilding Stack Exchange.