Skip to main content
Read and write a player’s custom data, either for the title or shared across the publisher’s titles. player-data commands don’t accept --output table.

Options

Every player-data command takes these:

PlayFab API paths

--visibility and --publisher select the API:

Permission

A client or read-only key is either Private, readable only by the player, or Public, readable by other players too. PlayFab gives every key that set writes the permission you pass, replacing the one it had, so set requires --permission for those tiers. The permission applies to every key in --data; to give keys different permissions, set them in separate commands.

Examples

Print the value of a player’s level key:
Set level in the player’s read-only data, so other players can read it too:
Set rating in the player’s internal data:
Remove the player’s level and legacyFlag keys:
Last modified on November 18, 2026