> ## 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.

# Autoplay

> Configure automatic continuation from eligible public playlists and understand stop conditions.

Autoplay is off by default. When enabled, it adds one unheard track when the queue ends and loop mode is off.

![Example slide showing autoplay candidate selection and stop conditions](https://mintcdn.com/arjex/cTgG-Lo_1BxmEdu7/images/music/slides/autoplay.png?fit=max\&auto=format\&n=cTgG-Lo_1BxmEdu7\&q=85\&s=8cb29deccfe31d4688067015426f21c5)

Example: autoplay selection

The pool contains public user playlists on the same bot and public, enabled, assigned server playlists. Private playlists are never read. Selection excludes the last 50 history entries, the current queue, the seed track, and failed URLs. The scan is capped at 20 playlists and 500 tracks, with three attempts per top-up.

Caps include 20 consecutive autoplay tracks, three consecutive failures, and a 10-second top-up deadline. An empty voice room stops autoplay. Track and queue loop take precedence. `.autoplay on|off|status` is administrator-only and changes one bot.

The card badge identifies autoplay and playlist type, displaying only the public playlist code.

> [!WARNING]
>
> Public playlists are not moderated. Use `autoplay.sources: ["server"]` to keep autoplay off user-created playlists.


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