I want to add the tag "banned" to banned players, but it should be removed after the ban revoke/expiration. How can I do it? Is there a PlayStream Event for player ban revoking?
I want to add the tag "banned" to banned players, but it should be removed after the ban revoke/expiration. How can I do it? Is there a PlayStream Event for player ban revoking?
No built-in Play Stream event will be generated when players’ ban is revoked or expired. You would need to check the player’s ban status on batches to determine if you need to remove the tag.
Since you have added the tag – “banned” for players, you can create a new Segment for the players who have the “banned” tag, then set up a Scheduled Task to check banned statuses for these players at regular intervals. You can call the API GetUserBans on Cloud Script to check the banned status. If the response shows the ban is unactive, you can call the API RemovePlayerTag to remove the “banned” tag for them.
2 People are following this question.