# Player Lookup

> Find any player by username, display name or user ID, see their status and history, and act on them from one profile.

**Player Lookup** finds a player — whether or not they've played your game — and opens their player profile: analytics, DataStore entry, economy, moderation, commands and a full activity timeline, with the actions your role and the game allow.

Open it from **Player Lookup** in the project sidebar. It needs the `players.view` permission, which every default role has.

## Finding a player

Type into the search box (**Roblox username, display name or user ID**). Results update as you type. The search runs in two stages:

1. **Players recorded in this game.** Bloxlytics searches the players the SDK has seen join your servers. A number matches that exact user ID; text matches anywhere in the username or display name, ignoring case. Up to 20 matches are shown.
2. **Roblox, if nothing matched.** When no recorded player matches, Bloxlytics asks Roblox's public user APIs instead: a number is looked up as a user ID, and text that could be a username (3 to 20 letters, digits or underscores) is looked up as an **exact** username.

So you can find a player who has never joined — for example to ban them pre-emptively, or to check an account someone reported — as long as you have their exact username or ID. Roblox display names aren't searchable this way, because Roblox has no lookup by display name.

> **Note:** Recorded players come from the [Luau SDK](https://docs.bloxlytics.app/projects/install-the-sdk). Without the SDK, every search goes to Roblox, and profiles show only Roblox's public details. See [Data sources](https://docs.bloxlytics.app/data-sources).

### Results

| Column | Shows |
| --- | --- |
| **Player** | Avatar, display name and username, an online dot, and any [banners](#banners) |
| **Status** | **Online** with the server ID, **Offline · last seen …**, or **No activity recorded in this game** for accounts found on Roblox |
| **First joined** | First time the SDK saw the player |
| **Playtime** | Total recorded playtime |

Select a row to open the profile. Each row also has an actions menu; see [Actions](#actions).

### Moderation log and bans

If you have `moderation.view`, Player Lookup also has **Moderation log** and **Bans** tabs: the project-wide record of kicks, warnings, bans and unbans, and the list of bans mirrored from Roblox. Both are covered in [Moderation](https://docs.bloxlytics.app/operations/moderation).

## Player profile

The profile lives at `/projects/<project id>/players/<user id>`. It opens from Player Lookup, from the **Players** list, from player links across the app (including user IDs in DataStore entries), or by pasting the address. The selected tab is part of the address (`?tab=economy`), so links can point at a tab.

If neither the SDK nor Roblox knows the user ID, you'll see **Player not found** with a link to **Search players**.

### Header

The header shows:

- The display name, any [banners](#banners), and **Roblox account banned** if Roblox reports the account as banned platform-wide (this is Roblox's own ban, not one from your game).
- `@username` and the user ID, with **Copy user ID**.
- **Online · server …** if the player is in one of your live servers, otherwise **Last seen …**.
- **Roblox account since** — the account's creation date from Roblox.
- **No activity recorded in this game. Details come from Roblox's public profile.** for players the SDK has never seen.

The profile refreshes every 30 seconds while open. Roblox profile details are cached for an hour.

### Banners

Banners are badges next to a player's name, in the header and in player lists. They only come from verified sources, and hovering one says which:

| Banner | Source | Hover text |
| --- | --- | --- |
| **Banned** | An active ban in the project's ban records, which mirror Roblox's user restrictions for your experience. The hover text says when it ends, or **Permanent**. | Verified with Roblox |
| **Flagged**, **Under investigation** | Flags set by a team member on the **Moderation** tab | Set by a team member in Bloxlytics |
| Your own labels | Rules you define under **Player banners** on the project's **SDK** page: when a player property reported by your game equals a value (for example `Role` = `Moderator`), show a label in a chosen tone. Matching ignores case. Up to 20 rules; labels up to 24 characters. | Reported by the game |

Banners never come from anything a player could set themselves; game banners use only properties your servers reported with `Analytics:SetPlayerProperty`.

### Actions

**Actions** opens a menu containing only what both your role and the game currently support:

| Action | Shown when |
| --- | --- |
| **Open profile** | In result lists only |
| **Join server** | The player is in a live server. Opens Roblox's join link for that server. |
| **Execute command** | You have `commands.execute`. Opens the command form with the player filled in. |
| **Run macro** | You have `macros.execute`. Lists the project's macros, favourites first; picking one opens the Macro Runner with this player filled in so you can review it before running. |
| **Warn player**, **Kick player** | You have `moderation.act`, and the player's current server has a connected Cmdr bridge that advertised warn or kick support. |
| **Ban player** or **Unban player** | You have `moderation.act`, and the Open Cloud key has `universe.user-restriction:write`. Which one appears depends on whether the player has an active ban. |
| **Moderation history** | On the profile, if you have `moderation.view`. Jumps to the **Moderation** tab. |
| **Open Roblox profile** | Always |
| **Copy user ID** | Always |

How bans are verified with Roblox and how kicks and warnings are confirmed by the game is covered in [Moderation](https://docs.bloxlytics.app/operations/moderation). Commands and macros are covered in [Commands](https://docs.bloxlytics.app/operations/commands) and [Macros](https://docs.bloxlytics.app/operations/macros).

## Profile tabs

Tabs you don't have permission for are hidden.

| Tab | Needs | Data comes from |
| --- | --- | --- |
| [Overview](#overview) | `players.view` | SDK events and server heartbeats |
| [Analytics](#analytics) | `players.view` | SDK events |
| [DataStore](#datastore) | `datastore.read`, plus Open Cloud | Open Cloud DataStores |
| [Economy](#economy) | `players.view` | SDK economy and purchase events |
| [Moderation](#moderation) | `moderation.view` | Bloxlytics records and Roblox user restrictions |
| [Commands](#commands) | `commands.execute` | Cmdr bridge |
| [Activity](#activity) | `players.view` | SDK events |

### Overview

- **Activity** — **First joined**, **Last joined** (**Playing now** if online), **Total playtime**, **Sessions**, **Purchases**, **Robux spent** (completed purchases recorded by the SDK), **Events recorded** and **Active days**. For players the SDK hasn't seen, this says **No activity recorded in this game**.
- **Current server** — when the player is online: the server ID (with **Copy server ID**), its player count, whether a command bridge is connected on that server, and **Join server**. Presence comes from server heartbeats; a server counts as live until 90 seconds pass without one.
- **Progression** — player properties whose names look like progression: `Level`, `Rebirths`, `Island`, `World`, `Stage`, `Prestige`, `Progression`, `PlayerType`, `VIP` or `Role` (case and punctuation are ignored, so `rebirth` and `player_type` match too).
- **Currency balances** — the latest balance reported for each currency.
- **Player properties** — the latest value of every property your game set with `Analytics:SetPlayerProperty`, and when it changed.

### Analytics

- **Retention** — whether the player came back on day 1, day 7 and day 30 after their first day: **Returned**, **Didn't return**, or **Not yet measurable** if that day hasn't happened yet.
- **Active days** — a grid of the last 12 weeks, one square per day the player was active.
- **Session history** — the 100 most recent sessions with start, end, duration and server. A session still running shows **In progress**.
- **Funnel participation** — funnels the player entered with `Analytics:TrackFunnel`, with the steps they reached.
- **Progression** — the latest status (**Started**, **Completed**, **Failed**) and score for each path tracked with `Analytics:TrackProgression`.
- **Events in the last 30 days** — the player's 30 most frequent events; each event (other than funnel steps) links to its event page.

For what these measure across all players, see [Retention](https://docs.bloxlytics.app/analytics/retention), [Funnels](https://docs.bloxlytics.app/analytics/funnels) and [Events](https://docs.bloxlytics.app/analytics/events).

### DataStore

Opens the player's own DataStore entry in the full [DataStore editor](https://docs.bloxlytics.app/operations/datastores): structured and raw views, search, editing with review, conflict handling, version history and the audit log all work exactly as they do in the DataStore Explorer.

Tell it where player data lives with three fields, then select **Open**:

| Field | Default |
| --- | --- |
| **Data store** | `PlayerData` |
| **Scope** | `global` |
| **Key template** | `Player_{userId}` |

The key template can use `{userId}` and `{username}`. For example, a game that saves with `DataStore:GetAsync("user_" .. player.UserId)` uses `user_{userId}`. Below the fields you'll see the exact DataStore, scope and key being shown, and **Open in DataStore Explorer** to open the same entry there.

> **Info:** These settings are remembered per project **in your browser**, not shared with your team. Each teammate sets them once on their own device.

This tab needs `datastore.read` to see the entry and `datastore.write` to change it, as well as the Open Cloud scopes listed in [DataStore Explorer](https://docs.bloxlytics.app/operations/datastores#open-cloud-scopes). If the entry doesn't exist at that key you'll see **Entry not found** — check the key template.

> **Warning:** Edits here write to the player's live save. If the player is online, their server may save over your change, or your save may be rejected as a conflict when their server saves first. For player data held in a session-locked profile, make changes while the player is offline.

### Economy

- **Currencies** — each currency's **Balance**, plus total **Earned** and **Spent**.
- **Transaction history** — the 200 most recent currency changes reported by the game server: **Earned**, **Spent**, or a transfer (**Received** or **Transfer**, with the other player), with the source or sink, item, amount and **Balance after**.
- **Purchases** — the 200 most recent developer product, game pass and Premium purchases recorded by the SDK, with status **Completed**, **Failed** or **Prompted** (the prompt opened but no purchase was recorded) and the Robux amount.
- **Items owned** — player properties whose names start with `Items`, `Inventory`, `Pets` or `Owned` (ignoring case).

These come from the SDK's [economy](https://docs.bloxlytics.app/sdk/economy) and [purchase](https://docs.bloxlytics.app/sdk/purchases) tracking.

### Moderation

Shows the player's live ban status read from Roblox, team flags, the moderation history, private notes and Roblox's restriction log for the player. It needs `moderation.view`; changing anything needs `moderation.act`. Everything on this tab is documented in [Moderation](https://docs.bloxlytics.app/operations/moderation).

### Commands

Appears if you have `commands.execute`. It has two parts:

- **Execute a command** — the command form, with suggestions and validation from the commands your live servers registered. If a command's first argument is a player, this player is filled in.
- **Commands targeting this player** — the 100 most recent commands sent to this player from Bloxlytics, including kicks and warnings, with who sent them, the result and the status (**Queued**, **Running**, **Succeeded**, **Timed out**, **Rejected**, **Failed**).

Commands need the [Cmdr bridge](https://docs.bloxlytics.app/sdk/cmdr-bridge) in your game; see [Commands](https://docs.bloxlytics.app/operations/commands) for routing, validation and who a command runs as.

### Activity

A timeline of every event recorded for the player, newest first and grouped by day, written as plain sentences — "Joined the game", "Spent 50 Coins on Shop", "Purchased VIP for R$ 199".

Filter by category with the chips at the top: **Sessions**, **Economy**, **Purchases**, **Funnels**, **Progression**, **Properties**, **Experiments** and **Custom events**. Select several to combine them, or **Clear** to show everything. The timeline loads 100 events at a time; **Load older activity** fetches more until you reach the start of recorded activity. Events are kept for 25 months.

## Troubleshooting

**A player I know has played doesn't appear in search**

Recorded players come from the SDK. If the SDK wasn't running in the server they played on, Bloxlytics has no record of them. Search by exact username or user ID to find them on Roblox instead. See [Install the SDK](https://docs.bloxlytics.app/projects/install-the-sdk).

**Kick and warn aren't in the actions menu**

They're offered only when the player is in a live server running the Cmdr bridge, and that server advertised kick and warn support when it connected. See [Moderation](https://docs.bloxlytics.app/operations/moderation) and [Cmdr bridge](https://docs.bloxlytics.app/sdk/cmdr-bridge).

**The DataStore tab says the entry isn't found**

The default template, `PlayerData` / `global` / `Player_{userId}`, is only a guess. Find one of your players' keys in the [DataStore Explorer](https://docs.bloxlytics.app/operations/datastores) and set the same DataStore, scope and key pattern on the tab.

**Online status is slow to change**

Presence comes from server heartbeats. A player who leaves disappears with the next heartbeat from their server; a server that stops sending heartbeats is treated as offline after 90 seconds.
