Best method to detect if a player is a Roblox admin?

I’m working on a custom player list and want to add a Roblox logo next to administrators’ names (like in the builtin player list).
Screenshot 2024-12-09 at 6.26.31 AM

My preliminary idea was to check membership in the Official Group of Roblox but the roles are confusing me. I have no clue if “Town Hall Collaborators” and “Group Leads” usually have the logo by their name, plus some of the “Team Members” don’t have the Administrator badge which I assume means they don’t get the logo either?

Ideally the behaviour is as close to the builtin list as possible. Does anyone happen to know how it handles this, or at least know of a more reliable way to check? Thanks.

1 Like

The most reliable way is to check if the player has the Administrator Badge

You’ll need to use HttpService to do so, using this API (replace {UserId} with the player’s user ID):

https://accountinformation.roblox.com/v1/users/{UserId}/roblox-badges

Although you’ll need to access this API through a proxy, since HttpService isn’t able to access Roblox resources directly

1 Like

Wow I had no idea this endpoint existed, thank you. Needing a proxy isn’t ideal but it shouldn’t be a big problem for a usecase this minor.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.