# Options

## Economy

Plugin supports multiple providers, which are integrated into system. Mainly used in Rewarding system instead of invoking commands.

```yaml
Options:
  Economy:
    Activity:
      VaultWrapper: false
      Experience: false
```

{% hint style="warning" %}
There is required that enabled providers are also installed on the server!
{% endhint %}

{% hint style="info" %}
**Experiences** do not require any additional plugin!

Player's current experiences are used here.
{% endhint %}

## Sound

Sounds make the game more attractive. Currently available only at Advent Calendar module.

#### Actions, when the Sounds are played.

* **OpeningWindow** - Sound played when the new window has been opened.
* **ClaimingReward** - Sound played to player at claiming reward.
* **Spin Button** - Sound played at LuckyWheel at interacting with Spin button.
* **Spin Animation** - Sound played at LuckyWheel at spinning with rewards.
* **Closing Animation** - Sound played at LuckyWheel at closing spining field.

List of latest sounds are available at <https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html>

```yaml
Options:
  Sound: #Sounds valid for 1.12.X.
    AdventCalendar:
      OpeningWindow: "UI_TOAST_CHALLENGE_COMPLETE"
      ClaimingReward: "ENTITY_FIREWORK_TWINKLE"
      LuckyWheel:
        Spin:
          Button: "UI_BUTTON_CLICK"
          Animation: "ITEM_FLINTANDSTEEL_USE"
        Closing:
          Animation: "ENTITY_CHICKEN_STEP"
```

## Visual

Section represents components displayed at chat, boss bars and titles.

### Extensive logger

Claiming messages are sent to console log

```yaml
Options:
  Visual:
    ExtensiveLogging:
      Active: true
```

### Boss Bar

Players are able to see current information about upcoming event. Here, especially about opening window and St. Nicholas.

```yaml
Options:
  Visual:
    BossBar:
      Active: true
      Color: "PURPLE"
      Style: "SEGMENTED_20"
```

#### Available colors

`PINK`, `BLUE`, `RED`, `GREEN`, `YELLOW`, `PURPLE`, `WHITE`

#### Available styles

`SOLID`, `SEGMENTED_6`, `SEGMENTED_10`, `SEGMENTED_12`, `SEGMENTED_20`

### Information intervals

Information can be displayed in specified **intervals** and these itervals are mainly associtated with **BossBar**.

Imagine interval in math, but reversed because of countdown which is decresing.

\
If we want to display BossBar since **30** seconds to **10** seconds, we use interval `30:11`(`FROM:TO+1`). Plus **1** because of we want to hide BossBar in 10 seconds. (If we keep 10 seconds in the interval, BossBar will be hidden in 9 seconds.)

```yaml
Options:
  Visual:
    Info:
      Active: true
      Interval:
        AdventCalendar:
          - "60:56"
          - "10:1"
        SaintNicholas:
          - "60:56"
          - "10:1"
```

## Restrictions

You can disable performing some actions while using the resource.

Operate with modules such as AdventCalendar or ChristmasMail can be restricted in specified worlds. Each world name on the new line.

```yaml
Options:
  Restriction:
    World:
      - world_the_end
      - world_nether
      - SomeAnotherRestrictedWrold
```

If you want to allow all worlds, you need to set **Empty Collections(`[]`)** here!

```yaml
Options:
  Restriction:
    World: []
```
