# Carols

## Module

If you are using this resource because of other features and Carols are not used, you can to disable this module and increase performance of the server.

```yaml
Options:
  Carol:
    Active: true #false, if module is not used
```

## Season duration

Range of days, while module is active.

```yaml
Options:
  Carol:
    Season:
      DateFormat: "dd.MM.yyyy HH:mm"
      StartDateTime: "27.11.2022 00:00" #The datetime when the season starts.
      EndDateTime: "31.12.2022 23:59" #The datetime when the season ends.
```

## NoteBlockAPI

By integration of [`NoteBlockAPI`](https://www.spigotmc.org/resources/noteblockapi.19287/) allows to play much more Christmas carols as before.

### How to use?

Simply, put **.nbs** file into `Carol` folder.

{% hint style="info" %}
To make own order of carols, rename them in format `XX-<NameOfCarol>.nbs`. E.g. `01-JingleBells.nbs`, `02-HolyNight.nbs`.
{% endhint %}

### [List of carols](https://drive.google.com/drive/u/1/folders/1hW2lUFu2Dw35V-yR7VLkOkymjCnkhXGk)

### Without NoteBlockAPI

By not using `NoteBlockAPI`, only **JingleBells** carol is played to players during the advent season.

## Range

Specifies how far is able to hear carol from selected point.

{% hint style="info" %}
Distance is **count** of blocks from point.
{% endhint %}

```yaml
Options:
  Carol:
    Range: 5
```

## Mode

List of modes mentioned above:

* `AROUND_POINT` - Carol is played around one location. Suitable for SpawnPoint.

{% hint style="warning" %}
There is required to set location using command `/Carol Spawner Location Set`
{% endhint %}

* `AROUND_SANTA` - Carol is played around Santa's Figure.
* `AROUND_ELF` - Carol is played around Elf's Figure.
* `AROUND_ASSISTANT` - Carol is played around Assistant's Figure.
* `AROUND_GRINCH` - Carol is played around Grinch's Figure.
* `WHOLE_WORLD` - Carol is played in the whole world. (Variable `World` at Options file.)

```yaml
Options:
  Carol:
    World: "world_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://wiki.innouniq.com/plugins/archieve/advent-season-2022-edition/configuration/options/carols.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.
