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

Log the time periods each player was watched #8

Open
n-aspen opened this issue Mar 9, 2024 · 0 comments
Open

Log the time periods each player was watched #8

n-aspen opened this issue Mar 9, 2024 · 0 comments

Comments

@n-aspen
Copy link
Member

n-aspen commented Mar 9, 2024

Log the time periods in unix milliseconds each player was watched
Print the times to a file on command

Example scenario using 3 players

Player A logs in at 12:05
Player A logs out at 12:13
Player A logs in at 12:18
Player A logs out at 12:25
Player B logs in at 12:27
Player C logs in at 12:30
Player B log out at 12:52
Command is run at 1:00
Player C logs out at 1:07

The log would contain
Player A 12:05 -> 12:13
Player A 12:18 -> 12:25
Player B 12:27 -> 12:52
Player C 12:52 -> 1:00

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

No branches or pull requests

1 participant