# Supported Plugins

## Vault

Night Market depends on [Vault](https://www.spigotmc.org/resources/34315/), so you can use any of your favorite economy/permissions plugins that will be used in Night Market by hooking into Vault.

## PlaceholderAPI

Night Market hooks into [PlaceholderAPI,](https://www.spigotmc.org/resources/placeholderapi.6245/) so you can use the Night Market placeholders everywhere that supports PlaceholderAPI, here is a list of the current placeholders.

| Placeholder               | Description                                                            |
| ------------------------- | ---------------------------------------------------------------------- |
| %nightmarket\_time\_left% | Displays the time left or the time until the next Night Market starts. |
| %nightmarket\_is\_open%   | Displays true/false if the current night market is active.             |

These are the current market expansions, that hook into other plugins to change on how the plugin works. You can configure all these expansions and change how they work in the expansions.yml. Every expansion is configurable.

## TokenManager

Night Market hooks into [TokenManager](https://www.spigotmc.org/resources/8610/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  tokenmanager:
    # Do you want to enable the TokenManager currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The prefix of the price variable, this is how you want the variable to show when using the token manager currency.
    prefix: "%price% tokens"
```

## PlayerPoints

Night Market hooks into [PlayerPoints](https://www.spigotmc.org/resources/80745/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  playerpoints:
    # Do you want to enable the PlayerPoints currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The prefix of the price variable, this is how you want the variable to show when using the player points currency.
    prefix: "%price% points"
```

## BeastToken

Night Market hooks into [BeastToken](https://www.spigotmc.org/resources/20806/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  beasttoken:
    # Do you want to enable the BeastToken currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The prefix of the price variable, this is how you want the variable to show when using the beast token currency.
    prefix: "%price% tokens"
```

## GemsEconomy

Night Market hooks into [GemsEconomy](https://www.spigotmc.org/resources/95658/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  gemseconomy:
    # Do you want to enable the GemsEconomy currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The prefix of the price variable, this is how you want the variable to show when using the gemseconomy currency.
    prefixes:
      currency_name: "%price% gems"
```

## UltraEconomy

Night Market hooks into [UltraEconomy](https://www.spigotmc.org/resources/83374/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  ultraeconomy:
    # Do you want to enable the UltraEconomy currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The name that is used in-game to decide what currency to use.
    name: "gems"
    # The prefix of the price variable, this is how you want the variable to show when using the ultraeconomy currency.
    prefixes:
      currency_name: "%price% coins"
```

## EcoBits

Night Market hooks into [EcoBits](https://www.spigotmc.org/resources/109967/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  ecobits:
    # Do you want to enable the EcoBits currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The prefix of the price variable, this is how you want the variable to show when using the eco bits currency.
    prefixes:
      currency_name: "%price% bits"
```

## ExcellentEconomy

Night Market hooks into [ExcellentEconomy](https://www.spigotmc.org/resources/84121/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  excellenteconomy:
    # Do you want to enable the ExcellentEconomy currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The prefix of the price variable, this is how you want the variable to show when using the excellent economy currency.
    prefixes:
      currency_name: "%price% coins"
```

## RivalCredits

Night Market hooks into [RivalCredits](https://builtbybit.com/resources/31250/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  rivalcredits:
    # Do you want to enable the RivalCredits currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The prefix of the price variable, this is how you want the variable to show when using the rival credits currency.
    prefix: "%price% credits"
```

## RivalHarvesterHoes

Night Market hooks into [RivalHarvesterHoes](https://builtbybit.com/resources/21424/) as a currency so you can purchase items on the market using this currency. Here is the default configuration for this addon.

```yaml
  rivalharvesterhoes:
    # Do you want to enable the RivalHarvesterHoes currency?
    enabled: false
    # What version of this expansion do you want to download/use?
    version: latest
    # The prefix of the price variable, this is how you want the variable to show when using the rival harvester hoes currency.
    prefix: "%price% credits"
```
