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

# Queue Management Features

> Interactive queue controls, fairplay mode for democratic rotation, and real-time queue viewer with per-track actions.

## Queue Command

The `/queue` command displays a fully interactive interface:

### Queue Display

**Current Track Section**

* Now-playing track with progress
* Title, artist, and duration
* Current position in track (for non-livestreams)

**Upcoming Tracks List**

* Position number (1-indexed)
* Track title and artist (clickable link)
* Duration or "Live" indicator
* Requester mention
* Time added to queue
* 4 tracks per page with pagination

### Per-Track Controls

Click the expand button (More) on any track to reveal:

**Play Button**

* Jump to that track immediately
* Removes track from queue and starts playing
* Under Fairplay: only works for your own tracks (or any if you're a mod)

**Up Button**

* Move track up one position
* Under Fairplay: mod-only
* Disabled for first track in queue

**Down Button**

* Move track down one position
* Under Fairplay: mod-only
* Disabled for last track in queue

**Remove Button**

* Remove track from queue entirely
* Under Fairplay: only works for your own tracks (or any if you're a mod)

### Global Queue Actions

**Navigation Buttons**

* Previous page
* Go to Page (modal with text input)
* Next page
* All disabled appropriately when at boundaries

**Queue Modification**

* **Reverse** - Reverse entire queue order (blocked in Fairplay)
* **Shuffle** - Randomize queue order (blocked in Fairplay, requires 4+ tracks)
* **Clear** - Remove all tracks (Fairplay mod only when active)

## Fairplay Mode

Democratic queue management system ensuring fair turns for all members.

### How Fairplay Works

**Automatic Rotation**

* Queue automatically rotates between different requesters
* Ensures everyone gets fair playback time
* No single user can monopolize the queue
* Rotation visible in queue display

**Restriction System**

* **Skip/Seek/Remove**: Track owner or mod only
* **Pause/Resume/Stop/Clear**: Mod only
* **Shuffle/Reverse/Loop**: Fully disabled
* **Playtop/Reordering**: Mod only
* **Previous**: Fully disabled

### Fairplay Mod Definition

A user is considered a "Fairplay mod" if they have either:

1. **Mute Members permission** in the server
2. **Custom Fairplay mod role** (set via `/fairplayrole <role>`)

<Note>
  The custom role can be any role in the server. This allows servers to designate DJ or moderator roles without granting Discord's Mute Members permission.
</Note>

### Fairplay Commands

**Enable Fairplay**

```
/fairplay on
```

* Requires vote or premium
* Requires Fairplay mod permissions
* 15-second cooldown (8.25s for voters/premium)

**Disable Fairplay**

```
/fairplay off
```

* Same requirements as enabling
* Instantly removes all restrictions

**Set Custom Mod Role**

```
/fairplayrole <role>
```

* Server administrator only
* Designates which role can bypass Fairplay restrictions
* Persists across player sessions

### Fairplay Indicators

**In Now-Playing Messages**

* "Fairplay enabled" text in status line
* Changes button behavior descriptions
* Modal shows Fairplay toggle for mods

**In Queue Display**

* Footer message explaining Fairplay restrictions
* Disabled buttons for non-permitted actions
* Note about track ownership for skip/remove

## Queue Commands

### Viewing Commands

`/queue`

* Display interactive queue viewer
* 20-second cooldown (11s for voters/premium)
* No special permissions required
* Stays active for 5 minutes

### Modification Commands

`/remove <positions>`

* Remove tracks by position, range, or multiple
* Syntax: "1", "1-5", "2,4,7", "1-3,5,8-10"
* Under Fairplay: only your own tracks (or any if mod)
* 10-second cooldown (5.5s for voters/premium)
* Validates all positions before removing

`/shuffle`

* Randomize queue order
* Fully blocked when Fairplay is active
* Requires minimum 4 tracks in queue
* 10-second cooldown (5.5s for voters/premium)

`/clearqueue`

* Remove all tracks from queue
* Under Fairplay: mod-only
* Does not stop current track
* 15-second cooldown (8.25s for voters/premium)

### Skip Behavior

**Standard Skip**

```
/skip
```

* Skip current track only
* Moves to next in queue
* Under Fairplay: track owner or mod only

**Skip Multiple**

```
/skip count:5
```

* Skip forward by specified number
* Under Fairplay: limited by ownership
* Non-mods can only skip their own consecutive tracks

**Skip to Song**

```
/skip name:Bohemian Rhapsody
```

* Fuzzy matching against track titles
* Finds closest match using Levenshtein distance
* Skips all tracks up to and including match
* Under Fairplay: same ownership rules apply

### Loop Modes

**None**

* Standard queue progression
* Queue ends when last track finishes
* Autoplay may activate if enabled

**Track**

* Repeats current track indefinitely
* Skip command blocked while active
* Must disable loop to progress queue

**Queue**

* Repeats entire queue when finished
* Tracks play in order repeatedly
* Can be combined with shuffle for variety

### Autoplay

**Activation Conditions**

* Enabled via `/autoplay on` or settings modal
* Triggers when queue drops below 2 tracks
* Also triggers on queue finish


## Related topics

- [Eleven Features: Complete Overview](/features/overview.md)
- [Eleven: Feature-Rich Music Streaming for Discord](/introduction.md)
- [Library and Playlists](/features/playlists.md)
- [Get Started with Eleven in 3 Easy Steps](/getting-started.md)
- [Music Playback Features](/features/music-playback.md)
