I was wondering how you get members from a group and get their rank into a table. Like this for example use for example.
This looks more to be a leaderboard of teams and the players in those teams rather than a group, its roles and the players in that role. The former can be done by using Teams API and various Gui elements while the latter would need a bit more effort since native APIs don’t provide that information.
Are you sure that the board in this picture is based off of group ranks and are you also sure that what you want specifically is group information or do you just want roughly what’s being done here? A link to this experience or picture of it in a live session would be helpful to see what it’s actually doing.
it’s a group role thing to display who is in the group is ranked which and that. But can you provide me an example of it being used?
I’m asking you to provide me an example of this board being used so I can try and understand specifically what this board is doing because I don’t have enough context to offer help. Either a picture of this in-experience or a link to the experience that’s using this board would help me.
I can’t provide you an example of anything if I don’t even know what’s being done here specifically.
This billboard is being used to display what people are in the ranks in the group, Instead of manually me putting it in I want the program to do it like do GetChildren() thing with the group rank and grab those members with the ranks and display it but you can do it with the print thing and put it in a Table. One rank works for it I just want some reference to know how it works.
Your explanation still evades me so I need you to clarify for me: is this board something that’s already in an experience and works and you’re wondering how you can do it for your own project, or is this your own board that doesn’t yet work and you’re looking for help on how to make it work in the way you specified? Your wording makes this unclear so I can’t figure out what you’re asking here.
This is a board for an experience used for displaying information to players part of the section I display is the high rank officials in the group page. I am trying to use it for displaying people who are in the group ranked at those ranks and display it as a list for example. “President” below it (Any person who is groupID 255 will be displayed on it), Sorry about the confusion.
Thanks for the explanation. Roblox APIs do not provide this information (specifically information about users in a specific role) so you need to use Roblox endpoints for this. You cannot query directly to Roblox endpoints so you need a proxy server that can redirect your request.
You’re looking specifically for /v1/groups/{groupId}/roles/{roleSetId}/users in the Groups API. Given a roleSetId (NOT a role set number that you set from the group configuration page) you can query a list of users that take up a specific rank. This endpoint returns a JSON formatted value that you can pass to JSONDecode in HttpService and get a table back from. This table can be parsed by hand to create labels in the appropriate sections of your board.
The above endpoint can be used in tandem with /v1/groups/{groupId}/roles to find the roleSetId of each role. It is in the id field of each rank.
Thank you for the help at least.