So, to charge my battery I set my power supply to 25.2V which is the charged voltage of my 6S battery pack. But what about if you don't have a variable power supply. You could make your own charger with a transformer a rectifier and a boost/buck converter. Make sure your sistem could deliver more than 2.5A to charge the batery. SO make sure you use a good transformer and a converter that could deliver more than that amount of current.
So all you need is a transformer, a rectifier with a huge capacitor and a boost/buck converter. If your transformer has an output below 25V, all you need is a boost converter instead of a buck/boost converter. You have a part list below for this charger if you want to make it. Remember to connect the jack connector at the end and make sure which one is positive and negative. Or maybe just buy a 25V charger directly. And that's it for this tutorial.