Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by Cedric Neukirchen · Apr 11, 2019 at 07:38 PM · Player DataPlayStream

Can't find PlayStream | Difference between UserAccount and PlayerProfile?

Hello everyone,

I'm currently trying to setup our game with PlayFab and I'm running into a few problems as well as confusing events.

First off, in our Dashboard, the only thing I can find is "PlayStream Monitor". However not a single clue where I can actually setup PlayStream events. As far as I understood, they are the only way to react to ServerCode such as "Player Registered for the first time". Can anyone give me a hint as to where I can actually create and linkup a PlayStream event?

And second, I'm currently trying something very simple: Get all relative player data after they logged in via Steam (in UE4). Now that data would entail UserName, Currency, Inventory, etc.
I found "GetUserAccountInfo" as well as "GetPlayerProfile". Which of the two is correct and what is the difference between a User and a Player?

Cheers,
Cedric

Comment

People who like this

0 Show 4
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cedric Neukirchen · Apr 11, 2019 at 07:35 PM 0
Share

Also, I can't access the Client API in your Documentation. It always leads to an internal Server Error. Not very nice :P

avatar image v_humcin ♦ Cedric Neukirchen · Apr 11, 2019 at 08:26 PM 1
Share

Hello, a full answer is on the way but I wanted to go ahead and get you a link that will hopefully help your documentation problems. Can you tell me if this link works? Client API should show on a list to the left. https://docs.microsoft.com/en-us/gaming/playfab/api-references/

avatar image Cedric Neukirchen v_humcin ♦ · Apr 11, 2019 at 08:28 PM 0
Share

Yes, the link works for me. This seems to look a lot better than the API I tried to access.
Thanks a lot! Any comments on the PlayStream issue? (:

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by v_humcin · Apr 11, 2019 at 09:10 PM

PlayStream events are triggered automatically by a number of situations and you can "react" to them using "Rules" which are found in the automation tab. You can trigger various actions when an event happens and even have those actions happen only when other conditions are met. If you haven't seen it, you can learn a lot more about them from this guide:

https://docs.microsoft.com/en-us/gaming/playfab/features/automation/playstream-events/

For your second question, GetUserCombinedInfo will soon be deprecated, so I would advise you to use GetPlayerCombinedInfo for retrieving that data. You can learn more about it here:

https://docs.microsoft.com/en-us/rest/api/playfab/client/account-management/getplayercombinedinfo?view=playfab-rest


rules.png (43.3 kB)
Comment
Cedric Neukirchen

People who like this

1 Show 5 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cedric Neukirchen · Apr 11, 2019 at 09:18 PM 0
Share

Right, so the PlayStream stuff is basically under the"Rules" stuff. I couldn't find any hint to this in your (old?) Documentation. Most of the time it said to find it in the Dashboard

Your original blog post has no working images either.

Thanks for letting me know though, this makes things a lot easier. (:

About the "GetPlayerCombinesInfo", this wasn't my question. I wanted to know what the difference is between UserAccountInfo and PlayerProfile

However I think I found some information via looking into what the requests return.

UserAccount seems to be an overall bucket for information about underlying subsystems, like Steam, Nintendo etc.
While PlayerProfile is more directed at visible information about the player.

Still seems strange to me as to why this is split. When a player starts our game via Steam and then as well via Xbox and links these together, aren't "User" and "Player" the same?

And if not, what exactly is a User compared to a Player?

avatar image v_humcin ♦ · Apr 11, 2019 at 09:21 PM 1
Share

Also I forgot to mention, specifically for your case of doing something when a player first registers, you might be interested in Segments, these are found in the players tab of the manager and allow for you to trigger actions based on certain events as well. For instance, there is an "All Players" segment and you can set a specific action to trigger when any player enters this segment. You can learn more about them here: https://docs.microsoft.com/en-us/gaming/playfab/features/data/playerdata/player-segment-configuration

avatar image Cedric Neukirchen v_humcin ♦ · Apr 11, 2019 at 09:28 PM 0
Share

Alright, I will go ahead and use the PlayerCombinedInfo for now and just ignore the other calls. :P Maybe it will start making more sense after a while. For now I assume a Player is per platform and a User combines them all. Something like that.

avatar image v_humcin ♦ Cedric Neukirchen · Apr 11, 2019 at 09:43 PM 1
Share

Sorry, posted that last comment before refreshing to see you posted a comment. UserAccountInfo is a server API call that requires the title secret key and holds some info about linked accounts and origination of the account mainly used for administrative purposes. PlayerProfile holds data that is more relevant in-game data such as memberships and display name. Then PlayerCombinedInfo just bundles a lot of the relevant data used in-game such as inventory and currencies. Hope this helps!

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Recommended Method for Cost-Based Player Display Name Changes? 1 Answer

    Performance PlayStream, CloudScript in Professional plan 1 Answer

    Analytics dashboards in PlayFab 1 Answer

    Can i get event_log into game ? 1 Answer

    Is there a real-time tutorial for Corona SDK/Lua? 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges