Pendragon

The Merchant of Death by D.J. MacHale, 2002.
Bobby Pendragon is a normal fourteen-year-old boy, or at least he thought he was. One day, his mysterious Uncle Press shows up at his house right before he’s supposed to leave for an important basketball game at school and tells him that he needs his help and that Bobby must come with him right away.
Although Bobby doesn’t know what is going on, he goes with his uncle and begins a terrifying journey to another world. His uncle reveals to him that they are both Travelers, members of a select group of people who can use gateways called flumes to travel across time and space to other worlds. Worlds everywhere are in chaos, and an evil Traveler called Saint Dane is manipulating events to cause more chaos and destruction. On the world of Denduron, the decadent Bedoowan society is oppressing the Milago miners, and thanks to Saint Dane, their world is about to erupt in warfare unless Bobby and his uncle can stop it.
Bobby and his uncle are separated for a while when some Bedoowans capture Uncle Press, and Bobby meets up with fellow travelers Osa, Loor, and Alder. Osa, the most experienced Traveler, is killed trying to protect Bobby, and Bobby makes some mistakes that make the situation worse, including having his friends back home send him some items that are advanced technology to the people of Denduron.
The Milago have discovered an explosive mineral called Tak, and they are using it to build a super weapon to wipe out the Bedoowan. Saint Dane is trying to increase tensions between the two groups of people so that they will use this weapon, which will lead to the destruction of their world … unless Bobby and his friends can stop it.
This series reminds me a little of old movie serials, like Flash Gordon, where the good guys must defeat an evil overlord, free people from oppression, and bring peace to warring groups. However, like with Flash Gordon’s evil nemesis, Ming the Merciless, Saint Dane has a way of escaping even when our heroes have put a stop to his plans. By the time matters are straightened out with the Bedoowans and the Milago, Saint Dane has escaped to another world, and Bobby and his companions must find him and stop him from causing further destruction.
The book is available to borrow for free online through Internet Archive.