Account Manager

The PlayFab Account Manager Module is specifically designed to manage the accounts of the players.


This allows you to do lots of management tasks including an id system, adding, removing or setting an account's email address, password and username. And sending an account verification email with an optional design template customization. 

It also includes a Player Ban System, which allows players to report other players for misconduct, which is reviewed manually by the admin through the PlayFab Tools or automatically by the server.

Other auxiliary tools include, updating the account display status, including changing the Avatar Image and Display Name.

 
 

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 Account Manager addon into the project.

Features :

  • Account management tools.

  • Account profile editing.

  • Email Recovery system.

  • Banning System

  • Organized request and receive feature.

Network Services :

  • Facebook

  • Google Plus

  • Game Center

  • Google Play

  • Facebook Instant Games

  • Steam

  • Xbox Live

  • Nintendo Switch

  • PS4

  • PlayFab

Actions, Conditions & Expressions

Actions

Actions.png

Account Profile:

  • Send Account Recovery Email - Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password.

    • Email - ​User email address attached to their account.

    • Set Template - ​If Set to "True", input the Email "Template ID". Otherwise if "False", the "Template ID" input does nothing.

      • True

      • False

    • Template ID​​​ - The email template id of the account recovery email template to send.

Account Profile:

  • Add Username Password - Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.

    • Email - ​Unique identifier for the Application Title.

    • Password - Password for the PlayFab account (6-100 characters).

    • Username​​ - PlayFab username for the account (3-20 characters).

  • Add Or Update Contact Email - Adds or updates a contact email to the player's profile.

    • Email - ​User email address attached to their account.

  • Remove Contact Email - Removes a contact email from the player's profile.

  • Add Generic ID - Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add.

    • Service Name - Name of the service for which the player has a unique identifier.

    • UserID - Unique identifier of the player in that service.

  • Remove Generic ID - Removes the specified generic service identifier from the player's PlayFab account.

    • Service Name - Name of the service for which the player has a unique identifier.

    • UserID - Unique identifier of the player in that service.

Auxiliary Tools:

  • Update Avatar URL - Update the avatar URL of the player. Let's the Account have a Profile Picture from a URL.

    • Image URL - ​URL of the avatar image. If empty, it removes the existing avatar URL.

  • Update Display Name - New title display name for the user - must be between 3 and 25 characters.

    • Display Name - ​URL of the avatar image. If empty, it removes the existing avatar URL.

  • Report Player - Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players.

    • Comment - ​Comment for reporting the player.

    • PlayFabID - ​The "PlayFabID" of the Player to report.

Conditions

Send Account Recovery Email:

  • On Send Account Recovery Email - Triggers when the Send Account Recovery Email Succeeded.

  • On Account Not Found - Triggers when the Send Account Recovery Email responded that the Account Not Found.

  • On No Contact Email Address Found - Triggers when the Send Account Recovery Email responded that the No Contact Email Address Found.

  • On Error - Triggers when the Send Account Recovery Email failed with an error.

Add Username Password:

  • On Add Username Password - Triggers when the Add Username Password Succeeded.

  • On Account Already Linked - Triggers when the Add Username Password responded that the Account is already linked.

  • On Email Address Not Available - Triggers when the Add Username Password responded that the Email Address is not available.

  • On Invalid Email Address - Triggers when the Add Username Password responded that the Email Address is invalid.

  • On Invalid Password - Triggers when the Add Username Password responded that the Password is invalid.

  • On Invalid Username - Triggers when the Add Username Password responded that the Username is invalid.

  • On Username Not Available - Triggers when the Add Username Password responded that the Username is not available.

  • On Error - Triggers when the Add Username Password failed with an error.

Add Or Update Contact Email:

  • On Add Or Update Contact Email - Triggers when the Add Or Update Contact Email Succeeded.

  • On Error - Triggers when the Add Or Update Contact Email failed with an error.

Remove Contact Email:

  • On Remove Contact Email - Triggers when the Remove Contact Email Succeeded.

  • On Error - Triggers when the Remove Contact Email failed with an error.

Add Generic ID:

  • On Add Generic ID - Triggers when the Add Generic ID Succeeded.

  • On Identifier Already Claimed - Triggers when the Add Generic ID responded that the Identifier is already claimed.

  • On Error - Triggers when the Add Generic ID failed with an error.

Remove Generic ID:

  • On Remove Generic ID - Triggers when the Remove Generic ID Succeeded.

  • On Account Not Linked - Triggers when the Remove Generic ID responded that the Account is not linked.

  • On Identifier Not Linked - Triggers when the Remove Generic ID responded that the Identifier is not linked.

  • On Error - Triggers when the Remove Generic ID failed with an error.

Update Avatar URL:

  • On Update Avatar - Triggers when the Update Avatar URL Succeeded.

  • On Update Avatar Error - Triggers when the Update Avatar URL failed with an error.

Update Display Name:

  • On Update Display Name - Triggers when the Update Display Name Succeeded.

  • On Profane Display Name - Triggers when the Update Display Name responded that the Display Name is profane.

  • On Name Not Available - Triggers when the Update Display Name responded that the Display Name is not available.

  • On Update DisplayName Error - Triggers when the Update Display Name failed with an error.

Report Player:

  • On Report Player - Triggers when the Report Player Succeeded.

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

Expressions

Add Username Password:

  • getAddUsername - Return the "Username" from the "Add Username Password".

Update Display Name:

  • getUpdateDisplayName - Return the current title "Display Name" for the user (this will be the original display name if the rename attempt failed), from the "Update Display Name".

Report Player:

  • getReportRemaining - Return the number of remaining reports which may be filed today, from the "Report Player".

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".

 

Account Management Features

The Account Manager has lots of useful features for your games, with the PlayFab service, and easy to integrate, to wit:

  • Generic Labeling

  • Account Configuration, email addresses, username, password, display name, avatar image.

  • Account Recovery Email

  • Report and Banning system

The first two are more focused on the client-side. Although the 3rd and 4th have server configurations that can improve your player's experience. Specifically, 

  • Email Templates - The configuration for designing your emails for either account recovery, email verification or just a custom email. There are lots features to take advantage here!

  • Email Preferences - The configuration to set the email addresses in which to send and receive emails. Sample scenarios include, sending alert notifications, subscription for email reportsreceiving master player account deletion emails, receiving master player data export emails and reply-to-addresses.

The last two handles the sending and receiving of emails and support to your clients or players. The setting for configuration will be explained below:

Email Templates.png

Step 1 : Login to PlayFab with your account.

Step 2 : From the PlayFab Console's Dashboard, press the  Content tab.

Step 3 : Press the New Email Template button.

Email Preferences - 1.png

Step 4 : Check the email address features you want to support.

Step 5 : Then add the email address you want to use for that feature.

Step 6 : The following options are Sending alert notifications and Subscription to email reports.

Email Preferences - 2.png

Step 7 : The next following options are the Receiving master player account deletion emails and Receiving master player data export emails.

Step 8 : Lastly, assign an email address for account password reset.

 

Account Info

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

 

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:

Conditions - 2