Mg and Ca are the main elements composing GH. When you do the water change, you adjust your GH to the desired levels, by adding Epsom Salts, CaCl2, or Seachem Equilibrium, which among another things, like Potassium, will add Mg and Ca.
This is your basic water parameters, plants will not...