Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

track number of connected users and number of total users #4

Merged
merged 2 commits into from Jan 3, 2021

Conversation

swantzter
Copy link
Contributor

adds a gauge for total players registered in the save and one for number of current connected players.
To account for the fact that factorio headless auto-pauses the game and stops increasing the tick count when the last player disconnects I've also made the collection run on_player_left_game

resolves #3

events.lua Outdated Show resolved Hide resolved
control.lua Outdated Show resolved Hide resolved
@remijouannet remijouannet merged commit c78b566 into remijouannet:master Jan 3, 2021
@swantzter swantzter deleted the player-stats branch January 3, 2021 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

enhancment: player count
2 participants