question

Joe Hopkins avatar image
Joe Hopkins asked

How to flag account if reported 20x

We are using the ReportPlayer() player feature. How do we then flag the user's account after an X number of reports? We are not expected to manually look at the reports tab every day correct?

Player DataAccount Management
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

·
Seth Du avatar image
Seth Du answered

You can make use automation features of PlayFab to handle this. There are plenty of workarounds, but here is my solution. Create a Rule that triggered by "player_reported_as_abusive" to run a Cloud Script/Azure Function. The function will check a specific Player Internal Data key of reportee, which is a counter of being reported. If it is greater than x, this player will be marked with a special tag. Otherwise, simply add 1 to the value.

Meanwhile you can also define a segment and all players will be in this segment with that tag.

2 comments
10 |1200

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

Joe Hopkins avatar image Joe Hopkins commented ·

Okay thank you.

0 Likes 0 ·
Joe Hopkins avatar image Joe Hopkins commented ·

Is there an example anywhere of how to do 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.