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.

3 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

Hello, could I check if this is still a problem for you? If it is, could you private message:

  1. Date you tried this
  2. an example universe or place id you tried this on
  3. The corresponding code you tried (similar to what you have)

Closing this out, if you continue to see this issue, please open a new report. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.