Player Manager

The PlayFab Player Manager Module is specifically designed to manage and retrieve essential player information.


Information from player profile, player contact email addresses, linked accounts from services like Facebook and Google Play, tracked locations, leaderboard statistics,player tags and player value in real currency based on real currency purchases.

There are also essential profile tools like checking if a sync method is already linked and determining the account origin of creation of the player's account, the authentication method in which the player originally registered the device.

These features are most especially useful in making profile pages of players in your application.

 

Intstructions

1. The first step is to add the PlayFab API addon into the project.

2. Then, add the Authentication addon into the project.

3. Finally, add the Player Manager addon into the project.

Features :

  • Complete Player Profiling.

  • Email Addresses, Linked Accounts,

  • Locations, Statistics, Player Tags, 

  • Player Real Currency Value,

  • Connected Account Links, Account Origin

  • Organized Request and Utilization

Network Services :

  • Facebook

  • Google Plus

  • Game Center

  • Google Play

  • Facebook Instant Games

  • Steam

  • Xbox Live

  • Nintendo Switch

  • PS4

  • PlayFab

 

Actions, Conditions & Expressions

Actions

Player Profile:

  • Get Player Profile - The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. Only the allowed client profile properties for the title may be requested.

    • PlayFab ID - ​Unique PlayFab assigned ID of the user on whom the operation will be performed.

Conditions

Player Profile:

  • On Get Player Profile - Triggers when the Get Player Profile Succeeded.

  • On Player Not In-Game - Triggers when the Get Player Profile responded that the Player is not In-Game.

  • On Profile Does Not Exist - Triggers when the Get Player Profile responded that the Profile Does Not Exist.

  • On Error - Triggers when the Get Player Profile failed with an error.

  • Is Getting Profile - Condition to check if the Get Player Profile is still loading.

Player Profile : Contact Emails:

  • For Each Email - Loops through the list of Email Addresses.

Player Profile : Linked Accounts:

  • For Each Account - Loops through the list of Linked Accounts.

Player Profile : Locations:

  • For Each Locations - Loops through the list of Locations.

Player Profile : Statistics:

  • For Each Statistics - Loops through the list of Statistics.

Player Profile : Tags:

  • For Each Tags - Loops through the list of Tags.

Player Profile : ValuesToDate:

  • For Each Values - Loops through the list of Values To Date.

Player Account:

  • Is Account Linked - Condition to check if the "Player Account" is linked to a Sync Method.

    • Sync Method​ - The Sync Method to check if is linked to the account.

      • Company​

      • CustomID

      • GameCenter

      • GooglePlay

      • Steam

      • Xbox Live

      • Facebook

      • iOS Device

      • Android Device

      • Windows Hello

      • Facebook Instant Games

Check Account Origin:

  • Is Account Origin - Condition to check if where the "Player Account" is originally created.

    • Sync Method​ - The Sync Method to check if is linked to the account.

      • Company​

      • CustomID

      • GameCenter

      • GooglePlay

      • Steam

      • Xbox Live

      • Facebook

      • iOS Device

      • Android Device

      • Windows Hello

      • Facebook Instant Games

Expressions

Player Profile:

  • getAvatarURL - Return the URL of the player's avatar image.

  • getBannedUntil - Return the Banned Until Date Time. If the player is currently banned, the UTC Date when the ban expires.

  • getCreatedDateTime - Return the Player record created Date Time.

  • getDisplayName - Return the Player display name.

  • getLastLogin - Return the UTC time when the player most recently logged in to the title.

  • getOrigin - Return the Player account origination. Either "Unknown", "PlayFab" and "Custom", "GameCenter", "GooglePlay", "Steam", "XBoxLive", "Kongregate", "Facebook", "IOSDevice", "AndroidDevice", "WindowsHello", "FacebookInstantGames".

  • getPlayerID - Return the PlayFab player account unique identifier.

  • getPublisherID - Return the Publisher this player belongs to.

  • getTitleID - Return the Title ID this player profile applies to.

  • getUSDValue - Return the Sum of the player's purchases made with real-money currencies, converted to US dollars.

Player Profile : Contact Emails:

  • getEmail - Return the email address.

    • Index - ​The index of the for each loop.

  • getEmailName - Return the name of the email info data.

    • Index - The index of the for each loop.​

  • getEmailStatus - Return the verification status of the email. Either "Unverified", "Pending" and "Confirmed".

    • Index - The index of the for each loop.​

  • loopEmailList - Return the current loop item index of the Email Addresses list.

  • countEmails - Return the item count on the Email Addresses list.

Player Profile : Linked Accounts:

  • getLinkedEmail - Return the Linked account email of the user on the platform, if available.

    • Index - The index of the for each loop.​​

  • getLinkedPlatform - Return the Authentication platform. Either "Unknown", "PlayFab" and "Custom", "GameCenter", "GooglePlay", "Steam", "XBoxLive", "Kongregate", "Facebook", "IOSDevice", "AndroidDevice", "WindowsHello", "FacebookInstantGames".

    • Index - The index of the for each loop.​​

  • getLinkedUserID - Return the Unique account identifier of the user on the platform.

    • Index - The index of the for each loop.​​

  • getLinkedUsername - Return the Linked account username of the user on the platform, if available.

    • Index - The index of the for each loop.​​

  • loopLinkedAccounts - Return the current loop item index of the Linked Accounts list.

  • countLinkedAccounts - Return the item count on the Linked Accounts list.

Player Profile : Locations:

  • getCity - Return the City name.

    • Index - The index of the for each loop.​​

  • getContinentCode - Return the The two-character continent code for this location. Possible Values : "AF", "AN", "AS", "EU", "NA", "OC", "SA".

    • Index - The index of the for each loop.​​

  • getCountryCode - Return the The two-character ISO 3166-1 country code for the country associated with the location. For Example "PH" for the Philippines.

    • Index - The index of the for each loop.​​

  • getLatitude - Return the Latitude coordinate of the geographic location.

    • Index - The index of the for each loop.​​

  • getLongitude - Return the Longitude coordinate of the geographic location.

    • Index - The index of the for each loop.​​​

  • loopLocations - Return the current loop item index of the Locations list.

  • countLocations - Return the item count on the Locations list.

Player Profile : Statistics:

  • getStatisticName - Return the Statistic name.

    • Index - The index of the for each loop.​​

  • getStatisticValue - Return the Statistic value.

    • Index - The index of the for each loop.​​

  • getStatisticVersion - Return the Statistic version (0 if not a versioned statistic).

    • Index - The index of the for each loop.​​

  • loopStatistics - Return the current loop item index of the Statistics list.

  • countStatistics - Return the item count on the Statistics list.

Player Profile : Tags:

  • getTag - Return the Full value of the tag, including namespace.

    • Index - The index of the for each loop.​​

  • loopTags - Return the current loop item index of the Tags list.

  • countTags - Return the item count on the Tags list.

Player Profile : ValuesToDate:

  • getValueCurrency - Return the ISO 4217 code of the currency used in the purchases.

    • Index - The index of the for each loop.​​

  • getTotalValue - Return the Total Value of the purchases.

    • Index - The index of the for each loop.​​

  • getTotalValueAsDec - Return the Total Value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'.

    • Index - The index of the for each loop.​​

  • loopValues - Return the current loop item index of the ValuesToDate list.

  • countValues - Return the item count on the ValuesToDate list.

Server Response:

  • ServerResponse - Return the "Server Response" from every request from the PlayFab Server. The server response can also be shown in the "Chrome Developer Tools : Console", if in "debug mode".

Request:

  • Tag - Return the "Tag" of the latest request.

Account Info

If the Player Manager retrieves the player information, the Account Info retrieves player account details. This plugin retrieves all essential account information both company data using the PlayFab server and other data from 3rd party services, like Facebook and Google.

Account Manager

If the Player Manager retrieves manages player information, the Account Manager manages the player accounts. This plugin has tools for the developer to make predefined request changes to target accounts or use the built-in command tools to interact with the account from the server.

 
 

Game Project

Sample Setup Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

Get the tools

for your pro games!

Constuct Master Collection - Itch.io
Constuct Master Collection - Discord
Constuct Master Collection - Construct 3

© Construct Master Collection 2020 • All rights reserved

Contact Information:

Expressions - 2