Hello, I’m making an old Roblox game and it uses a custom player list where I want to display the type of builders club that the player had if they ever had it. I’ve seen RetroStudio do this, and I’m curious to how they did it. Thanks.
You cannot detect that. About retrostudio? Well, they have builders club gamepass.
No, there’s a setting in the game where you can display your builders club and I used to have turbo builders club. It displays turbo builders club on the playerlist for me.
Tho, you can make so each premium member gets builders club icon instead of premium, because premium works kinda the same as builders club.
Idk what your talking about actually. I cannot help you
Here’s what it shows in the playerlist
And here’s proof of me having it
I just told the dev about what I was asking for, and I discovered that it uses some sort of API that checks 1 item. If this could go to any use, it’s my pleasure.
Just check for specific builders club hat then. About player list, it’s actually simple to make icons, if know how to correctly do custom player list.
So it’s not that special. I seen other games to show that kind of icons of builders club with retro styled player list.
I assume they used the following endpoint to fetch the user Roblox badges:
https://accountinformation.roblox.com/v1/users/{userId}/roblox-badges --GET
Then they check specifically for the builders-club badge named “Welcome To The Club Badge”, however, if they use this method they will be unable to show different tiers of builder-club subscription, and only show the general icon for all cases. Also this method always works because setting an account inventory to hidden will still show those badges.
Here’s the implementation:
--Http service must be enabled, you can enable it from game settings or by running game.HttpService.HttpEnabled = true in the command bar
local HttpService = game:GetService("HttpService")
local userId = 1 --Roblox
local url = "https://accountinformation.roproxy.com/v1/users/"..userId.."/roblox-badges"
local response = HttpService:GetAsync(url)
local badges = HttpService:JSONDecode(response)
local hadBuildersclub = false
for _, badge in pairs(badges) do
if badge.name == "Welcome To The Club" then
hadBuildersclub = true
break
end
end
print(hadBuildersclub) --For Roblox, true
I believe RetroStudio uses the Player.MembershipType
property.
If it only shows one specific builders club, how would it show both TBC and BC in this case?
That doesn’t work because attempting to print it on this account just returns Player.MembershipType.None
Do you have RetroStudio’s “Retro Builder’s Club?” If so, that’s probably why. I don’t think RetroStudio does anything outside of that.
I mean on Roblox studio, look at the examples I’ve shown above where I both have builders club and turbo builders club. It works in-game, and it works the way that it should. I’ll try to turn my inventory off and see if that does anything.
I tried turning my inventory off and it displays this still.
It could perhaps be using a DataStore, but I think that’d be too much work just to display one simple icon.
We check owned hats using PlayerOwnsAsset
The TBC & OBC items were given out to users who had TBC & OBC at the time, as the hard hats are now limited & available to anyone.
1080951 for bc
11895536 for TBC
17407931 for OBC
That’s smart. I always wondered how I had bloxlicious gum in my inventory for no reason at all. Thank’s for clearing this up