Team-Silver-Sphere / Squad-Community-Ban-List

Protecting the Squad community's integrity through collaboration and information sharing.
MIT License
18 stars 12 forks source link

Ban De-duplication #22

Open Thomas-Smyth opened 3 years ago

Thomas-Smyth commented 3 years ago

I've noticed that some players have multiple bans from the same ban list in a short period of time. I do not believe that this is an abuse of the system, but I believe it could be:

For example: https://squad-community-ban-list.com/search/76561198124379883

Though I believe it not to be, others without full context may believe this is an abuse of the system so we should definitely look to fix this.

Idea:

Though I said the performance gain for queue saving did not improve runtime, it would be good to find a way to prevent the saving of bans in a ban list from blocking the other ban lists from being fetched, so we are limited less by BM's API rate limit.

basiloriginaluk commented 3 years ago

I may be wrong, but this approach will not filter out all duplicate bans from the same org for a player?

How about the following: Fetch all bans, identify dupes, deselect the entries within dupes leaving only the longest ban duration, and import that. This approach would address your concern, plus would stop any potential deliberate double entry of bans?