# Music

{% hint style="warning" %}
Since 1.1.0
{% endhint %}

{% hint style="info" %}
This feature not incompatible with other music plugins, but using multiple music plugins is not recommended
{% endhint %}

### Dependencies

**NoteBlockAPI** 1.6.2+

### Configuration

```yaml
music:
  enabled: false

  # For player/block mode only
  default-loop: true
```

**default-loop** Enable loop when playing for player/block

### Usage

Put \*.nbs files in `plugins/General/customization/music` , the file names cannot contain spaces

## Commands

### gc-music play \<music>

Play a music for player

**\<music>** The .nbs file name

### gc-music block \<music>

Play a music with the block under the player

**\<music>** The .nbs file name


---

# 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://afternode.gitbook.io/general/customization/music.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.
