# Economy

## Economy available

* [BeastTokens](https://www.spigotmc.org/resources/13409/) - `BeastTokens`
* [CoinsEngine](https://www.spigotmc.org/resources/84121/) - `COINSENGINE`
* [EcoBits](https://www.spigotmc.org/resources/109967/) - `ECOBITS`
* [ElementalGems](https://builtbybit.com/resources/14920/) - `ELEMENTALGEMS`
* [ElementalTokens](https://builtbybit.com/resources/16707/) - `ELEMENTALTOKENS`
* [Experience](https://www.minecraft.net) - `EXPERIENCE`
* [Item](https://www.minecraft.net) - `ITEM`
* [Level](https://www.minecraft.net) - `LEVEL`
* [PlayerPoints](https://www.spigotmc.org/resources/80745/) - `PLAYERPOINTS`
* [RedisEconomy](https://www.spigotmc.org/105965/) - `REDISECONOMY`
* [Vault](https://www.spigotmc.org/resources/34315/) - `VAULT`
* [VotingPlugin](https://www.spigotmc.org/resources/15358/) - `VOTINGPLUGIN`
* [zEssentials](https://www.spigotmc.org/resources/118014/) - `ZESSENTIALS`
* [zMenu](https://www.spigotmc.org/resources/110402/) - `ZMENUITEMS`

zAuctionHouse integrates with the CurrenciesAPI, which you can find here: [CurrenciesAPI](https://github.com/Traqueur-dev/CurrenciesAPI).

You can configure multiple economies using the `economies.yml` file. For more advanced customization, you can also use the api: [Economy API](/development-portal/custom-economy.md)

```yaml
#########################################################################################################################################
#
# ███████╗░█████╗░██╗░░░██╗░█████╗░████████╗██╗░█████╗░███╗░░██╗██╗░░██╗░█████╗░██╗░░░██╗░██████╗███████╗██╗░░░██╗██████╗░
# ╚════██║██╔══██╗██║░░░██║██╔══██╗╚══██╔══╝██║██╔══██╗████╗░██║██║░░██║██╔══██╗██║░░░██║██╔════╝██╔════╝██║░░░██║╚════██╗
# ░░███╔═╝███████║██║░░░██║██║░░╚═╝░░░██║░░░██║██║░░██║██╔██╗██║███████║██║░░██║██║░░░██║╚█████╗░█████╗░░╚██╗░██╔╝░█████╔╝
# ██╔══╝░░██╔══██║██║░░░██║██║░░██╗░░░██║░░░██║██║░░██║██║╚████║██╔══██║██║░░██║██║░░░██║░╚═══██╗██╔══╝░░░╚████╔╝░░╚═══██╗
# ███████╗██║░░██║╚██████╔╝╚█████╔╝░░░██║░░░██║╚█████╔╝██║░╚███║██║░░██║╚█████╔╝╚██████╔╝██████╔╝███████╗░░╚██╔╝░░██████╔╝
# ╚══════╝╚═╝░░╚═╝░╚═════╝░░╚════╝░░░░╚═╝░░░╚═╝░╚════╝░╚═╝░░╚══╝╚═╝░░╚═╝░╚════╝░░╚═════╝░╚═════╝░╚══════╝░░░╚═╝░░░╚═════╝░
#
# Documentation : https://zshop.groupez.dev/
# Sponsor : https://serveur-minecraft-vote.fr/
#
# Economy available:
# - ITEM (Use items like economy, for example gold)
# - LEVEL (Minecraft player level)
# - EXPERIENCE (Minecraft player level experience point)
# - VAULT (requires https://www.spigotmc.org/resources/vault.34315/)
# - PLAYERPOINTS (requires https://www.spigotmc.org/resources/playerpoints.80745/)
# - TOKENMANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
# - COINSENGINE (requires https://www.spigotmc.org/resources/84121/)
# - OPTECO (requires https://www.spigotmc.org/resources/76179/)
# - MYSQLTOKEN (requires https://www.spigotmc.org/resources/7535/)
# - BEASTTOKEN (requires https://www.spigotmc.org/resources/20806/)
#
#########################################################################################################################################

economies: # Default Economy
  VAULT:
    name: vault # Name of the economy, the name can be specified in the items
    type: VAULT # Economy type
    currency: "%price%$" # Placeholder to display the price
    format: "v"
    isEnable: true # Activate or not the economy
    denyMessage: "&cYou don't have enough money to buy this." # Message if the player does not have the money for a purchase.
  # Economy with an item, here diamond
  ITEM1:
    name: item_diamond # Name of the economy, the name can be specified in the items
    type: ITEM # Economy type
    currency: "%price% diamond%s%" # Placeholder to display the price
    format: "id"
    isEnable: false # Activate or not the economy
    denyMessage: "&cYou don't have enough money to buy this." # Message if the player does not have the money for a purchase.
    permission: "zauctionhouse.item.diamond"
    item: # Configure the item : https://zauctionhouse.groupez.dev/inventories/items
      material: DIAMOND
  # Economy with an item, here emerald
  ITEM2:
    name: item_emerald # Name of the economy, the name can be specified in the items
    type: ITEM # Economy type
    currency: "%price% emerald%s%" # Placeholder to display the price
    format: "ie"
    isEnable: false # Activate or not the economy
    denyMessage: "&cYou d'ont have enough money to buy this." # Message if the player does not have the money for a purchase.
    permission: "zauctionhouse.item.emerald"
    item: # Configure the item : https://zauctionhouse.groupez.dev/inventories/items
      material: EMERALD
  # Minecraft player level experience point
  EXPERIENCE:
    name: experience # Name of the economy, the name can be specified in the items
    type: EXPERIENCE # Economy type
    currency: "%price% xp"
    format: "xp" # Placeholder to display the price
    isEnable: false # Activate or not the economy
    denyMessage: "&cYou dont' have enough experience to buy this." # Message if the player does not have the money for a purchase.
  # Minecraft player level
  LEVEL:
    name: level # Name of the economy, the name can be specified in the items
    type: LEVEL # Economy type
    currency: "%price% level"
    format: "level" # Placeholder to display the price
    isEnable: false # Activate or not the economy
    denyMessage: "&cYou don't have enough level to buy this." # Message if the player does not have the money for a purchase.
  playerpoints:
    name: playerpoints # Name of the economy, the name can be specified in the items
    type: playerpoints # Economy type
    currency: "%price% P" # Placeholder to display the price
    format: "P"
    isEnable: false # Activate or not the economy
    denyMessage: "&cYou don't have enough points to buy this." # Message if the player does not have the money for a purchase.
  # coinsEngine:
  #  name: coinsengine # Name of the economy, the name can be specified in the items
  #  type: coinsengine # Economy type
  #  currency: "%price% c"
  #  format: "C" # Placeholder to display the price
  #  isEnable: true # Activate or not the economy
  #  currencyName: "coins" # Coins engine currency name
  #  denyMessage: "&cYou don't have enough points to buy this." # Message if the player does not have the money for a purchase.
```


---

# 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://zauctionhouse.groupez.dev/configurations/economy.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.
