Star Wars: Jedi Knights 3: The Last Stand

Star Wars: Jedi Knights 3: The Last Stand is a 2020 Star Wars role-playing game for the PS3, PS4, Xbox 360, and Xbox One.
Plot:
The game is set during Return of the Jedi. The player can create their own avatar or import them. The player goes on missions with the Rebels, and eventually ends with another 1 do-over survive or die mission where you are defending your home planet from Imperial forces. If you die both times then that is the end of your story and a funeral is held for you. If you survive, then you go back to live with your family and your story has a happy ending.