A simple tool for streamers. Writes the number of player deaths to a .txt file. Different file per savegame is possible
When adding the mod to a savegame or when creating a new map you can set the filename to use for that save.
It will be written to %Factorio%/script-output/stream_data/your-choosen-filename'
/deathCount_set_filename: usage: /deathCount_set_file name-of-file-txt"
/deathCount_set_counter: usage: /deathCount_set_counter 9001