question

Deekshith avatar image
Deekshith asked

Difference between player_added_title and player_created event type

I am using Rules for my game to run a cloudscript function.

For example : Consider adding a friend everytime a new player is created.

There are multiple projects in the game under same title. So in every project when a player is created I want a friend to get added(this is done in cloudscript) even if it is under same title.

I want to know the difference between the two event types(

player_added_title and player_created event type

) . When are these 2 events used? Also what event type would be suitable for my scenario.?

CloudScriptFriends
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

https://docs.microsoft.com/en-us/gaming/playfab/api-references/events/player-created

https://docs.microsoft.com/en-us/gaming/playfab/api-references/events/player-added-title

So, player_created is when the Master Player Record is created, the first time a player signs into any game in that studio. And player_added_title is when a player logs into a specific title for the first time (which would be when the Title Player Record is created for the player, for that title).

However, can you describe what you're trying to do in more detail? The implication is that you're trying to add all players as friends to the same player account, which isn't really going to work. In general, any action that would result in all players in the game trying to use a single player account for anything isn't supported.

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.