Skip to content

Manage Players In-Game

This how-to searches for a player in the Web Console and changes a player's public/private profile status in your game.

Prerequisites

Search for Players

In the Player Manager in the Web Console, enter a player's Platform ID into the search bar and press Enter. If one or more players are found, LootLocker displays their profiles below the search bar. Click View to load the player's profile.

Search results for a player by Platform ID in the Player Manager, with a View button to load the player's profile

Retrieving Player Information

From the Web Console, use the View button on a player to view their profile — from there you can give players assets and change player storage items.

Player profile view in the Web Console showing assets and player storage items

Retrieving player info from your game returns information about level and account balance. See the Progressions documentation for how to use this in the SDK.

Public/Private Profile

Setting a player's profile to private disables any inventory integration with Steam, and hides their Steam items attached to your game from their Steam profile.

Switch between public and private profile

Change a player's profile between public and private:

// Set to private
LootLockerSDKManager.SetProfilePrivate((response) =>
{
if (response.success)
{
Debug.Log("profile successfully to private");
}
else
{
Debug.Log("failed setting profile to private");
}
});
// Set to public
LootLockerSDKManager.SetProfilePublic((response) =>
{
if (response.success)
{
Debug.Log("profile successfully to public");
}
else
{
Debug.Log("failed setting profile to public");
}
});

Conclusion

You've searched for players in the Web Console and can now change a player's public/private profile status from your game.