> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.eraus.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Join logs

> Joins and leaves.

> [!NOTE]
>
> Works while the server is offline. Events are kept for 7 days, up to the newest 5,000.

**limit** `integer` (default: 50)

1 to 100.

**after** `integer`

Only events with a higher `id`, oldest first. Use this to follow new events.

**before** `integer`

Only events with a lower `id`, newest first. Use this to page back.

**data** `object[]`

**event**

**id** `integer`

Goes up by one per event on this server.

**type** `string`

`player.join` or `player.leave`.

**timestamp** `integer`

Unix seconds.

**data** `object`

`player`: `{ id, name }`.

**nextCursor** `integer | null`

Pass as `before` to get older events. `null` when there are no more.

```json 200 theme={null}
{ "data": [{ "id": 4184, "type": "player.join", "timestamp": 1793875470, "data": { "player": { "id": 77123, "name": "sam_rp" } } }], "nextCursor": null }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.