This mod is almost exactly what I was looking for as I usually get Du led in for hours into Factorio.
Would it be possible to have a feature that always starts the timer when starting up the game? It seems it does not reset when starting new. My use case is to restrict my gaming time to e.g. 1 hour and the force me to take a long break