Page 1 of 1

Play time per player on a MP map

Posted: Sun Jul 21, 2019 10:28 am
by Stlyau
Is there a way to see how much time each individual person has spent on a map? I know /players shows all the people that have logged into that map, but I was curious if you can see each of their amount of time spent in said map.

For example, I have a map that started out as a MP with family but has become solo. I was just curious how much of the "saved" time I've been on the map. Said map is nearing the 50 day save mark, and I would really like to know how much of that I was actually on the map. I know it's got to be close to 90% or more, as I know there were some points early in the MP stage that it was played without me.

Re: Play time per player on a MP map

Posted: Sun Jul 21, 2019 2:54 pm
by DaveMcW

Code: Select all

/c for _,player in pairs(game.players) do
  game.print(player.name .. " " .. player.online_time/216000 .. " hours")
end

Re: Play time per player on a MP map

Posted: Sun Jul 21, 2019 6:22 pm
by Stlyau
Thank you. At least I now know of the 1179hrs the map has been played, I've been on it for all but 33hrs roughly. :)

Re: Play time per player on a MP map

Posted: Sun Jul 21, 2019 7:52 pm
by Koub
[Koub] Moving this to Technical Help, I feel it might interest people in there.

Re: Play time per player on a MP map

Posted: Sun Jul 21, 2019 8:03 pm
by FuryoftheStars
I don’t do multiplayer, but wonder if this may help? Give you play time as well as other info.

https://mods.factorio.com/mod/EvoGUI