> For the complete documentation index, see [llms.txt](https://zumo.fusion.ac/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zumo.fusion.ac/api-reference/lobby-events/player-left.md).

# playerLeft

A player left the lobby (confirmed after 10s with no rejoin).

Plus [envelope](/api-reference/websocket/envelope.md) fields.

| Field               | Type           | Description                                   |
| ------------------- | -------------- | --------------------------------------------- |
| `username`          | string         | Minecraft username                            |
| `uuid`              | string \| null | Player UUID if tracked                        |
| `lastPosition`      | object \| null | `{ x, y, z, timestamp }`                      |
| `orientation`       | object \| null | `{ yaw, pitch }`                              |
| `lastMove`          | object \| null | `{ dX, dY, dZ, onGround }`                    |
| `heldItem`          | object \| null | `{ item, lore, displayName }`                 |
| `lastClick`         | number \| null | Unix seconds of last left-click               |
| `prefix` / `suffix` | string \| null | Rank / guild                                  |
| `queue`             | string \| null | Duels only — nearest mode NPC within 5 blocks |

## Example

```json
{
  "botId": "duels-1",
  "mode": "duels",
  "lobbyId": 1,
  "timestamp": 1781224133.287,
  "username": "Steve",
  "queue": "sumo",
  "prefix": "[MVP++]",
  "suffix": " [OASIS]"
}
```
