question

Ilse Mul avatar image
Ilse Mul asked

Can I set custom fields in a player profile

Hi all,

I can't seem to find the answer to this question. I'm probably overlooking it. Any help would be highly appreciated.

For our game we'd like to include extra information about our players. Information that is also called in the website. Information like:
- Player's own website
- Portfolio link (we want to encourage modders/devs in and with our game)
- Dev skills
- Etc.

Is there a way to send to and store this information in the database with the player information?

Thank you for your help!

For the mods: suggested additional topic: Custom fields

Player 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

·
Seth Du avatar image
Seth Du answered

“Player Data” will simply do the job. Please refer to the documentation on : https://docs.microsoft.com/en-us/gaming/playfab/features/data/playerdata/quickstart.

Entity Objects have similar functionality, you may check: https://docs.microsoft.com/en-us/gaming/playfab/features/data/entities/quickstart#entity-objects. Meanwhile, the read/write permissions can be changed by Entity Policy.

According to your description, I will suggest you to use Entity Objects because we can get objects with GetProfile method while using Player Data, we need additional API calls.

1 comment
10 |1200

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

Ilse Mul avatar image Ilse Mul commented ·

Thank you @SethDu

Partially we'll have to use Player Data, probably, because we'll be using our website for people to register and maintain their player accounts as well. :)


0 Likes 0 ·

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.