Three ways groups do it
A server that’s always on. Works for Terraria and Valheim, but someone has to run it and keep it updated, and Stardew has none without mods. See Sleepingbag vs a dedicated server.
A shared folder. Dropbox or Syncthing copies the files, but can’t tell who played last or swap the Stardew host. See Sleepingbag vs a shared folder.
Sleepingbag. Whoever plays hosts the newest copy on their own computer, and it goes back to the group when they’re done.
How it works in each game
Stardew Valley: whoever plays becomes the host, as their own farmer, and the farm saves each night.
Terraria: anyone hosts the world with their own character, and bosses beaten show at a glance.
Valheim: one world keeps going between friends, without a server.
Keeping the group in the loop
Taking turns works best when everyone can see what happened. Sleepingbag keeps a feed of who played and what changed, lets friends leave notes on a farm or world, and can post sessions to your Discord.