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

Map repeat detection #66

Open
Zyfarok opened this issue May 2, 2022 · 2 comments
Open

Map repeat detection #66

Zyfarok opened this issue May 2, 2022 · 2 comments

Comments

@Zyfarok
Copy link

Zyfarok commented May 2, 2022

Detect if a map is picked twice in the same hour or so (configurable ?) and forbid it

@Meowhal
Copy link
Owner

Meowhal commented May 28, 2022

I considered this feature once, but rejected it because of the potential inconvenience it would cause to players.
Simply dividing by time would result in this warning even if all players are replaced.

@Zyfarok
Copy link
Author

Zyfarok commented May 28, 2022

You can keep track of the joining time of the players, and check how much players where there when the map was last picked.

Then you could either condition on a player percentage threshold AND/OR time, or on a combination of both like time * player percentage.

If you don't want to enforce it you could at least warn the user.

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

2 participants