Episode VII: Set 20 years after Return of the Jedi. The New Republic is now the only government in the Galaxy and the Imperial Remnant has been completely defeated. Luke is the Grand Master of the New Jedi Order, which is different from the Prequel Jedi Order, since it allows attachments and marriage. Within the New Republic and the Senate, rumors are starting to circulate about an unknown enemy, who’s starting to conquer some planets that are located in the extreme edge of the Galaxy. The Senate is split in two: on one side there are those who think there’s nothing to worry about, as those planets are not part of the New Republic, but on the other side there are those who think that the threat is serious, and that the government should start taking precautions and arming itself, In case the invaders decide to invade the territory of the New Republic as well. Chancellor Leia Organa is among those who think the threat is serious, and will spend most of the movie trying to convince the skeptical Senators to take the issue seriously, and to vote in favour of the mobilization of the New Republic’s Army. Meanwhile, Leia orders Luke, her son Jacen, and Jedi master Mara Jade to go on a secret mission to reach those planets and determine the extent of the threat. During the course of this mission, Luke and Mara Jade fall in love and eventually return to the New Republic, to inform Leia and the Senate that the threat is indeed serious. Thus, all the Senators vote unanimously in favor of the mobilization of the Army. So Han - who’s now the Supreme General of the New Republic’s Army - starts mobilizing the troops. The Yuuzhan Vong war has begun, and Luke and Mara marry at the end of the movie.
Episode VIII: Set 3 years after Episode VII. The movie is basically a random adventure set during the war. Mara Jade risks her life in the initial battle, but Luke manages to save her in the end. In the movie, the personality of the main villain (that is, the chief of the Yuuzhan Vong) is explored in detail. Contrary to the Legends version, this version of the Yuuzhan Vong isn’t against the use of technology. In fact, the Yuuzhan Vong are a technologically advanced Alien Empire, who reached the Galaxy in the hope of conquering it. They believe in a supreme God, the God of War (the equivalent of Mars for the Romans). They also have a sacred book, in which it’s stated that their mission is to conquer the entire Universe in the name of their God, therefore they always conquer everything on their path. Their chief is a Force sensitive, and its believed to be a messianic figure by the Yuuzhan Vong people. In the meantime, Jacen Solo starts to become more and more Dark. Fighting constantly and seeing millions of people suffering 24/7 are all things that really affected him, and made him develop more and more Fascist ideals. He starts to think that the end justifies the means, and starts questioning the validity of the Jedi Code. He also starts to enjoy being more aggressive and to use power. His approach to the Dark Side is similar to Revan’s during the Mandalorian Wars.
Episode IX: Set 1 years after the previous movie. During the last year, the New Republic has done nothing but accumulate victories over victories against the invaders, and now it’s preparing to attack their last base, which is the planet Utapau. During the battle, Jacen acts in an extremely aggressive way towards his enemies. It’s clear that he’s on the verge of the Dark Side now. Luke finally realizes what’s going on with Jacen, and tries to bring him back. They have a duel and Jacen actually manages to defeat Luke. But just as he’s ready to kill him, Anakin’s spirit appears to him. Jacen and Anakin have a long conversation together. Anakin explains Jacen that the Dark Side is indeed tempting, but it’s an actual hell, and tells Jacen that he shouldn’t embrace the same wrong path he did, because it was the Dark Side who basically destroyed their family. So, Jacen manages to regain himself and not to fall to the Dark Side. With the help of Luke, they finally face the chief of the Yuuzhan Vong, and kill him. The fact that their Messiah was killed makes the Yuuzhan Vong totally lose their faith (which had already been put to the test during the war due to all their defeats), as they believed their chief to be invincible. In the end, the New Republic and the Jedi forces manage to win the Battle over Utapau, the Yuuzhan Vong are totally defeated, and everybody is happy.