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

Add 'recent players' info message #100

Open
Kaffeine opened this issue Mar 23, 2024 · 0 comments
Open

Add 'recent players' info message #100

Kaffeine opened this issue Mar 23, 2024 · 0 comments
Labels
Feature new feature (or feature request)

Comments

@Kaffeine
Copy link
Contributor

On a player joined an empty server print a message: "Players left the server N minutes/hours ago".
If a last player left the server less than 2 minutes ago print "... left the server a minute ago".
If minutes >= 60 then print a rounded number of hours.
E.g. for 60 and 89 minutes say "an hour ago", for 90 to 149 minutes say "2 hours ago", for 150 to 209 say "3 hours ago", etc.

Track the last TWO players to still inform the last joined/rejoined player about the other player time. Probably use the player name to distinguish players.

@Kaffeine Kaffeine added the Feature new feature (or feature request) label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new feature (or feature request)
Projects
None yet
Development

No branches or pull requests

1 participant