question

Brent Batas (Lisk) avatar image
Brent Batas (Lisk) asked

Get number of times a player has been reported?

I'm looking into having some automatic suspensions for when a player is reported extremely often (say, like 20+ times in a week).

Is there an API call for getting how many times a player has been reported?

If not, I suppose another way to track it is just by updating user data.

apisPlayer Data
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

·
brendan avatar image
brendan answered

No, the way to do this would be to use the https://api.playfab.com/playstream/events/player_reported_as_abusive to trigger an action - incrementing a statistic, for instance. You could then have an action that triggers if the statistic reaches a certain value, which auto-bans the player, or you could just use a Cloud Script for the whole process.

10 |1200

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

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.