Introducing the Ban API and Alt Account Detection

I get your point and this isn’t a clear cut idea, but I’m also not talking about automatically giving out site-wide bans to players that got kicked in some simulator for being a nuisance in chat or for getting vote-kicked by other players in some competitive game.

If someone is constantly getting banned from various experiences it makes sense to flag that account for a manual review or a stricter moderation AI pass. Keeping platform of this size clean is an insane task and any additional data helps, so Roblox would be silly not to use this in one way or another.

2 Likes

This is really neat! Does it work for JavaScript? My bot is in JavaScript and I’ve had some issues in the past using package that are in TypeScript.

it should work in javascript but if you run into any issues feel free to message me. :smile:

I hope the “by the creator” part is removed from the ban message, as it might result in anyone appealing blaming the creator for their ban unless specified within the display reason. Also, for some reason, if you’re banned while in-game, it displays the regular kick dialogue. In some circumstances, I’ve seen it show the ban dialogue but then switch to the kick dialogue a few frames later. Otherwise, this is a great API that I’ve been waiting on for months and I hope it gets more support down the line.

1 Like

How do I get a players ban history?

1 Like

Is there a reason why we aren’t allowed view users ban history in studio or is this a bug (Enable Studio Access to API Services and HTTP Service is enabled)?

game.Players:GetBanHistoryAsync(userId)

5 Likes

This is the best update Roblox has released so far

This is going to be incredibly useful for everyone. (aside from exploiters, obviously)

Thank you so much for this, Roblox! By far the best update all year.

I think it’s because it needs access to API services, since this should also count as an API service.
image

1 Like

Thanks, I was too lazy to do this myself

1 Like

roblox finally making a good update, W

Oops, forgot to mention I did have this enabled and it still returned 403 forbidden, I will edit my original reply to include that.

4 Likes

Yippee!

Small issue: It appears it’s possible to ban yourself without any way to revoke that ban from Roblox Studio. The only recourse is to script an :Unban() call, publish the game with that code, then join on an unbanned account to execute that code.

Once this has been implemented in the Creator dashboard this won’t be as much of an issue, but it’s something to look out for if you’re toying around like I was.

It’s most likely gonna be, IP and/or HWID related.

1 Like

Thanks this should be easier now.

It should be better to have a few more options to play with and a few more APIs, included but not limited to:

  • Modify a ban (reason, duration, …)
  • Own way of handling bans (teleporting to another place to handle appeals for instance)

So this would translate via:

  • A new method! Players:ModifyBan(), to modify a punishment log. I have no idea how you would be able to achieve that with the current configuration.

  • A new optional field in BanAsync (Kick, default is true): allows customized handle.

  • A new event Players.PlayerPunished or PlayerBanned, or PlayerBanStatusChanged, made to allow users to implement their own logic (as mentioned, teleporting to another server, …)

4 Likes

Small question.
Would appreciate if a Roblox Staff can clarify this.
Will it kick users if they have a active ban even if they got banned from
A: Another Server.
B: The API itself.
Would be awesome if it did!

1 Like

We don’t have any in-experience specific rules as we just enforce Roblox Terms of Service as the automated system fails to ban them. We deal with multiple instances of this per day and I won’t divulge what goes on exactly as it is awful. But are we actually able to do this? Majority of our bans are of an extremely inappropriate nature so we will continue to ban where we see fit, but this API should make it much easier. Cool.

image-1

I dislike the wording “by the creator” and “message from the creator:” as they are toxic parasocial relationship inducers.

While that sort of wording is benign to an adult, a child will take it literally as “the owner of this group has PERSONALLY banned you, they hate you, they are now your sworn enemy”.

It is essential for digital civility and developer safety that internet anger does not get directed toward specific individuals, it instead should be redirected towards a company, entity or object.

I will not be using this API until the wording on the ban message is amended.

34 Likes

we got banservice before gta VI
on a serious note, this is genuinely great

1 Like