I replaced my valve cover a couple of months ago. Found a brand new genuine cover with all gaskets and bolts for £170 on ebay.de.
Tightening torque is stated on a sticker on the plastic cover itself as 8.6Nm +\- 0.6. Remember it's steel bolts, but into an aluminium head.
Be careful removing the cover once you have the bolts out, it's dowled at the corner nearest to the oil filter and the opposite corner nearest the brake resevoir. Lever too hard in the wrong place and you can brake the plastic cover around the dowels. Its made from quite brittle stuff.
Other than that it's fairly straight forward, but you might need a second pair of hands to hold the wiring harness out of the way, depending on how many connectors you undo.
Good guide here;
https://www.pelicanparts.com/BMW/techarticles/BMW-3-Series-E90/ENGINE-Valve_Cover_Replacement/ENGINE-Valve_Cover_Replacement.htm
Matt