question

Swifter avatar image
Swifter asked

How to make a delayed banning system

So basically I'm trying to make a delayed banning system to basically stop cheaters from figuring out what's detecting the bans because without delayed bans it's pretty easy to figure out what is detected and what is not I'm trying to just make it so it waits 2 - 5 hours before banning them so it will make it hard for them to figure out why they are getting banned.

Account ManagementCloudScript
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

PlayFab does not offer a delayed banning system. As a workaround, instead of immediately banning a player when you detect cheating, you can choose to add a tag for them which indicates that they should be banned and create a segment for these players with ban tags. Then you can create a Scheduled Task which set it to execute every few hours. The Scheduled Task will execute an Azure Function on each player in the ban segment, and the Azure Function will ban this segment’s player and remove their tag. In this way, all players who are detected to cheat will be banned at the same time after a certain period of time, which prevents players from easily figuring out what is detected and what is not.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Swifter avatar image Swifter commented ·

This is actually a very great answer thanks. Will add this.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.