Introducing the Ban API and Alt Account Detection

Thanks for the response!
It turns out I was just misusing GetBanHistoryAsync haha. I was assuming the table returned by the GetCurrentPage method of the BanHistoryPages object was the actual dictionary for the ban action, when it was a table that contained the dictionary. I suppose it’s only like that because of how Pages work. So there wasn’t any bug after all, I was just mistaken.

Using the feature, it seems it’s rather easy to get the most recent ban action anyways, I just wasn’t sure whether it’d be the first page or the last page, and it’s the first page so it makes it easy to retrieve the ban status:

local banStatus = Players:GetBanHistoryAsync(game.CreatorId):GetCurrentPage()[1]

It looks weird though so I’ll still post that feature request anyways.

Thanks very much though. Appreciate you guys going through this post and responding to people.

Would you guys ever make an endpoint which returns an array of all currently banned users?

When I want to do unban waves on my game, previously I would just change the field name for the ban data and everyone would be unbanned, however with this new system it’s a bit tricky - our system is having to fetch everything from user-restrictions:listLogs and loop through it, check their ban status, and then unban which is obviously not ideal for dealing with hundreds if not thousands of bans (loads of HTTP requests and potential rate limitting!)

I’m avoiding doing unban waves for now until I come up with another solution (i’ll probably go with in-house ban tracking) or if this ever gets added

Thanks :smiley:
(ps. thanks for prioritising open cloud as much as the roblox engine with this update!)

1 Like

Games whose main mechanics are based on player AFK time, wait time, or grinding will all benefit from this, not just stopping botted accounts. Now let’s hope that this stops alt hackers.

2 Likes

Hi, I’m attempting to use the OpenCloud API but I’m getting status 200 back but players are not banned?


image

The API key is valid and has correct permissions. Not sure what I’m doing wrong…

In-game there is nothing inside the ban history.
image

1 Like

Can Roblox please revert the new text filtering they put on the ban async? I am not able to ban people from my games now because the reason always filters out, and others in the thread are also having this issue:

5 Likes

I’ve tried this and it seems to work half the time. I tested it on myself and I was able to unban myself. However, when I tried it on one of my players, it did not unban them. The response was OK as well (200). Is this a bug?

I’m having a similar issue but with unbanning. The response is 200 and OK, but it doesn’t actually unban.

Can you please create a bug report so we can follow up with you with more details about your exact implementation?

This API still seems to fail at picking up blatant alt-hoppers in a live game. I hope this gets resolved soon as this was the number one usecase I had for this system. Being able to alt hop from the same PC within a span of 10 seconds and somehow not get picked up by the ‘alt detection system’ but perfectly picked up by a shoddy lua alt-tracker is wild. Please address this

3 Likes

Please read what Metallochrome has said, it really is bugging us.

I am happy to announce that these proposed changes are now live! We will be updating the documentation shortly to reflect that we will no longer fail ban requests that have a DisplayReason that gets text filtered. The exact format of the text filtered message that users see may be subject to change.

5 Likes

Funnily enough, it doesnt ban alts, i tested it with my main and an alt

Good luck finding their “hashing algorithm” and they most likely salt their hash as well. But there’s no point in arguing since you aren’t going to get your hands on those hashes anyways.

My bad, didn’t know much about hashes at that time :pray:

This new Ban API is amazing. However, it annoys me and maybe other developers that the filter system is way to aggressive and if any moderators within a game issues a ban and the reason gets filtered you can start to see the amount of players that will complain because they won’t know why they were banned due to the reason being filtered.

1 Like

Hi Creators,

We’re excited to announce that we’ve integrated Ban API management into CreatorHub. With this integration, creators will be able to:

  • Ban or Unban a list of user(s) via userIDs (maximum 50 bans at a time)
  • Configure alt account bans, ban duration, and private and public reasons for each ban
  • See a list of banned users and details related to each ban, including ban status
  • Search for banned users and see ban history

If you’ve previously banned users using the Ban API, they will automatically show up in the Ban Management Dashboard. You’ll still be able to configure bans directly via the APIs, but this is an additional way to apply bans.

Here’s a quick overview of some of the main features:

Accessing the Ban Management Dashboard

The Ban API Management Dashboard will be available in the Bans section of CreatorHub, under “Moderation”.

To find this page, follow these steps:

  • Open CreatorHub and navigate to your experience
  • Expand the left hand column
  • Scroll down to the new “Moderation” section
  • Select “Bans” to open the Ban Management Dashboard

Banning Users

Once you’re on the Ban homepage, you can click “Add users” to initiate a ban.

When adding users to a ban, you’ll be able to add a list of userIDs and choose whether you want alt account bans included. Then, you can set the ban duration (permanent or custom time), and add public and private ban reasons. The public ban reason will be shown to the banned user(s) when they attempt to join your experience.

After you’ve filled out the ban information, click “Apply ban”.

Viewing User Ban List

After applying bans, all users will show up in a list where you can see additional details related to the bans. You can also look up banned users via the search bar.

Viewing User Ban History

You can review a chronological history of bans applied to a user by clicking on the three dots under “More”, then selecting “See ban history”.

Unbanning Users

To Unban a user, click the checkbox next to their userID, then click “Unban user” at the top of the page.

After selecting “Unban user”, you’ll be asked to confirm the Unban. After unbanning, the user will be able to access your experience like normal. However, this action will show up in the moderation history for that user.

70 Likes

How does Roblox detect alternative accounts if the option is marked?

3 Likes

this is nice but can you make the alt detection actually work please?

8 Likes

This is very cool! I really love when Roblox make updates like this! :slightly_smiling_face:

3 Likes

I’m still looking forward to moderator user id property

1 Like