question

Kim Strasser avatar image
Kim Strasser asked

Is it possible to trigger a rule after the player used Client/AddUsernamePassword?

Is it possible to trigger a rule after the player used Client/AddUsernamePassword?

I only want to trigger the rule if Client/AddUsernamePassword didn't fail. Because when it failed, the players account isn't complete and it should not be possible to play my game without a complete account.

CloudScript
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

Currently AddUsernamePassword won’t generate PlayStream Event, you may call WritePlayerEvent API on your client as a custom event to trigger your Rule.

Please also feel free to send a Feature Request in the forum: https://community.playfab.com/spaces/24/index.html

All the available events are in the drop list of Event Type on Rule configuration page. As this is a player-specific event, you may locate this event by the prefix of “player_”.

In addition, when you don’t know which event should be used, you may directly call the API or do the required action and manually monitor the generated events on Event History, Explorer or PlayStream Monitor: https://developer.playfab.com/en-US/[your_title_ID]/dashboard/monitoring/playstream

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.