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

# Playlist limits and cleanup

> Understand playlist capacity, resolution limits, and automatic departed-user cleanup.

| Limit | Default | Scope |
| - | -: | - |
| Tracks per playlist | 100 | Playlist |
| User playlists | 5 | User per bot |
| Server playlists | 5 | Bot |
| Add resolutions | 20 per minute | User across bots |
| Add cooldown | 5 seconds | User across bots |
| Text attachment | 256 KB | Import |
| Failed imports | 5 in 10 minutes | User across bots |

Lowering playlist limits blocks new additions but does not delete existing data. Names are 1–100 characters. `all`, `new`, `server`, `users`, `user`, and `admin` are reserved names.

## Departed-user cleanup

Each bot checks every 15 minutes, with the first check 10 minutes after startup and a per-bot stagger. A user absent from a successful member check is marked departed. After the configured grace period (24 hours by default), their data moves to trash and is purged after seven days.

Cleanup stops without changes if the member list is empty, the bot itself is absent, or more than half of at least ten user files would be marked absent. Returning members have their public listings rebuilt.

Playlist files are stored in `database/playlists/`. Back up the complete `database/` directory while the bot is stopped; do not run two copies against the same directory.

> [!WARNING]
>
> Public playlists are not moderated. The controls are visibility settings, code-only access, administrator delete scopes, and the autoplay source selector.


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