PublicAPI icon indicating copy to clipboard operation
PublicAPI copied to clipboard

[SkyBlock] Kicked members still showing in profile

Open mat-1 opened this issue 4 years ago • 5 comments

When viewing someone's profile if they have a member that was kicked, they'll still show up in the list. Example: https://api.hypixel.net/skyblock/profile?key=&profile=54ecc1f81d3c42c49f67f6e2c802d180 image (3dffd... was kicked)

However, if you go to their player data https://api.hypixel.net/player?key=&uuid=3dffdff959bd4cfb837585329ddee18d (player.stats.SkyBlock.profiles), you'll see that there's only a single profile that's not in the co-op image

mat-1 avatar Dec 31 '19 01:12 mat-1

This is because the data still exists for the coop member, notice how in your collections, the name of the left player still remains. You likely need the value to correctly get the true collection value.

puppy0cam avatar Jan 01 '20 12:01 puppy0cam

I think there should be a field that is present that tells us whether or not they are still present. Rather than having to request the players profiles.

oldaccount123434 avatar Jan 03 '20 01:01 oldaccount123434

I think there should be a field that is present that tells us whether or not they are still present. Rather than having to request the players profiles.

Agreed, make a boolean value called inProfile, true for current member, false for kicked or left

skyblockz avatar Jan 04 '20 10:01 skyblockz

I think there should be a field that is present that tells us whether or not they are still present. Rather than having to request the players profiles.

Agreed, make a boolean value called inProfile, true for current member, false for kicked or left

It should actually have a field for when that user left the coop since that information is displayed server-sided. If the field isn't present then that would mean the user didn't leave.

brunopCunha avatar Jan 08 '20 11:01 brunopCunha

true

TBlazeWarriorT avatar Feb 28 '20 03:02 TBlazeWarriorT

I know this already has labels and a field to detect this is (hopefully) going to be added, but I just wanted to chime in that this would still be appreciated. I don't want to have broken links to removed profile members, but the only way around that is to also request that data, which takes more API requests.

ptlthg avatar Jul 07 '23 19:07 ptlthg

We've added the field deletion_notice to the profile members when a member is marked as deleted, so as long as this field exists, the member profile is deleted and can be displayed/ignored accordingly. At this time this also includes a timestamp of when the member was deleted, either due to leaving, being kicked, or any other reason.

Some very old deleted members (we're talking from the first couple of months of SkyBlock) won't have this field when deleted due to a legacy field being used, we'll be converting these over as soon as possible so they will also have this field in the near future.

ConnorLinfoot avatar Jul 10 '23 11:07 ConnorLinfoot