# Manage Players In-Game

### Search for Players

To search for a player, simply enter their Platform ID into the search bar and press Enter. If the player, or multiple players are found, LootLocker will display their profiles below the search bar. Click `View` to load the player's profile.

![](/files/-Mk1cbGcAr3aNphva33a)

### Retrieving player information

From the web console you can use the view button on players to view a specific player.

![](/files/-Mk2b2dSVinCQysU82wu)

From here it's possible to give players assets and change player storage items.

#### Retrieve Player Information in Game

Retrieving player info from your game returns information about level and account balance. See our [progression how-to](https://github.com/lootlocker/gitbook-sync/blob/main/game-systems/progressions/set-up-progressions/use-a-progression-system-in-game.md) for how to use this in the SDK

### Public/Private Profile

This is currently used to disable any inventory integration with Steam.

Setting a players profile to private also hides their Steam items attached to your game from their Steam profile.

![Switch between public and private profile](/files/-Mk1bxgSgPgCiGnjatDJ)

#### Change Public/Private Profile in Game

See the following examples for how to change from/to public and profile for a player.

{% tabs %}
{% tab title="Unity" %}

```csharp
// 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");
    }
});
```

{% endtab %}

{% tab title="Unreal" %}

<figure><img src="/files/HgYDw2DpDCq9detrCpl3" alt=""><figcaption><p><a href="https://blueprintue.com/blueprint/9j9gd_3t/">Blueprint example of setting profile to private</a></p></figcaption></figure>

<figure><img src="/files/h4fY3OFtZJzrd0T4qtTD" alt=""><figcaption><p><a href="https://blueprintue.com/blueprint/89hthn82/">Blueprint example of setting profile to public</a></p></figcaption></figure>
{% endtab %}

{% tab title="Godot" %}

```gdscript

# Set to private
var response = await LL_Players.SetPlayerProfilePublic.new().send()
if(!response.success) :
    # Request failed, handle errors
    pass
else:
    # Request succeeded, use response as applicable in your game logic
    pass

# Set to public
var response = await LL_Players.SetPlayerProfilePrivate.new().send()
if(!response.success) :
    # Request failed, handle errors
    pass
else:
    # Request succeeded, use response as applicable in your game logic
    pass
```

{% endtab %}

{% tab title="REST" %}
**Set to Public**

```bash
curl -X POST "https://api.lootlocker.io/game/v1/player/profile/public" \
  -H "x-session-token: your_token_here"
```

Example response:

```json
{
  "success": true
}
```

**Set to Private**

```bash
curl -X DELETE "https://api.lootlocker.io/game/v1/player/profile/public" \
  -H "x-session-token: your_token_here"
```

Example response:

```json
{
  "success": true
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lootlocker.com/players/managing-players/how-to/manage-players.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
