# Playlists System

### What is the difference between playlists and server playlists?

The `playlist` command allows premium users to save playlists and load them in any server.\
The `serverplaylist` command allows server DJs to save playlists for that specific server, and they can be managed by any other DJ.

{% hint style="info" %}
On this page, we're using `serverplaylist`, but you can use `playlist` too!
{% endhint %}

### How can I create a server playlist?

First, make sure the tracks that you want to save are in the current queue.\
Then, use this command:

{% hint style="success" %}
`serverplaylist create [name]`
{% endhint %}

Remember to replace "\[name]" with the name you want to save the queue with!\
[Premium](https://stormbeatz.org/premium) servers can create up to 10 server playlists. Non-Premium servers can create 1.

### How can I delete a server playlist?

Just run this command:

{% hint style="success" %}
`serverplaylist delete [name]`
{% endhint %}

Make sure the name is correct; it's case-sensitive!

### How can I see all server playlists?

Just run this command:

{% hint style="success" %}
`serverplaylist list`
{% endhint %}

### How can I view the tracks in a playlist?

Just run this command:

{% hint style="success" %}
`serverplaylist view [playlist name]`
{% endhint %}

Make sure the name is correct; it's case-sensitive!

### How can I load and play a server playlist?

Just run this command:

{% hint style="success" %}
`serverplaylist load [name]`
{% endhint %}

Make sure the name is correct; it's case-sensitive!

### How can I edit a server playlist?

First load the current save and add all the tracks you want to save to the current queue, and then run this command:

{% hint style="success" %}
`serverplaylist edit [name]`
{% endhint %}

To add just a single track to a playlist, use this command:

{% hint style="success" %}
`serverplaylist add [playlist name], [track name/link]`
{% endhint %}

To remove a single track from a playlist, use this command:

{% hint style="success" %}
`serverplaylist remove [playlist name] [track position]`
{% endhint %}

**Tip:** You can get the track position from the [view](#how-can-i-view-the-tracks-in-a-playlist) subcommand!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stormbeatz.org/guides/saved-queues-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
