BanAsync no longer applies a ban.

I’ve tried sending the request both in an active server and in studio and both point to it supposedly going through just fine, but checking the Bans tab on dashboard reveals that nothing has been applied.

“BanningEnabled” property is set to true.
There are no errors.
Just no ban applied.

Applying a ban on dashboard still works, its this in game function that has broken for me.

2 Likes

Repro code? Affected place IDs?? Please follow bug reporting guidelines and attach proper information.

There is no specific affected place IDs as it happens to any place that I own.

Reproduction code is using BanAsync exactly as described in documentation.

game.Players:BanAsync({
	UserIds = {2,3},
	ApplyToUniverse = true,
	Duration = 86400,
	DisplayReason = "DisplayReason",
	PrivateReason = "PrivateReason",
	ExcludeAltAccounts = false,
})

Show a video of you attempting to enforce a ban on an alt through the console command line. Check if studio tries to execute it by checking the output; studio doesnt actually enforce bans.

1 Like