What is this rank id , its not 0-255

Hey, I tried to make an ranking bot using this api
https://groups.roblox.com/docs#!/Revenue/post_v1_groups_groupId_payouts

But however

I entered all the data,the rank the player has to get number is 235
image

So I entered role id 235, and it says:

Roleset is invalid

What is roleset? and how do I get it? How do I make this ranking bot with it?

There is no API Documentation in the DevHub about this

1 Like

https://groups.roblox.com/docs#!/Membership/get_v1_groups_groupId_roles

This will show you the rank and Id of the rank.

RoleId is different from RankId. The RoleId is a unique number that will never change. RankId can be changed at free will of someone with permissions.

To find a RoleId, you can use /v1/groups/{groupId}/roles to get the RoleIds.

Thank you @alphadoggy111 and @Enomphia , both of them helped

But can you tell me, how to rank the players from the game, I tried to run the api by myself manually, and it works, but the thing is I want to make an automated application, so I have to make this do it itself

You won’t be able to make calls directly from Roblox to Roblox. This is a security measure and there isn’t anyway to do so for good reason!

It might be better to set up a server of some sort which handles ranking (outside of Roblox). Then, make a request to that server which will handle the ranking for you.

1 Like

Oh ok

Also is there any tutorial for it? I never made one like this

Yeah, there are a few on Youtube videos that work out good but they are somewhat out of date. Try searching up “group ranking bot roblox” or something along those lines, there should be something relevant that pops up.

Once you get further into one of the tutorials I’m sure they’ll mention something about cookies. I do want to warn you though, Roblox has been invalidating bot cookies (region locking them, to my knowledge) meaning wherever you’re running your server must be running in the same generalized region or country where you got your bot cookie from. If you have any questions about it once you understand the concept or at all, let me know. I’ll try my best to help.

2 Likes