Economy

zShop allows you to create very large economies.

Here are the available economies:

How to add a economy

Pour ajouter une Γ©conomie dans le fichier de configuration il suffit de suivre l'exemple si dessous:

# A value that identifies your economy in the file is not used.
economyName:
    # Name of the economy, the name can be specified in the items
    name: vault 
    # Economy type, 
    type: VAULT 
    # Placeholder to display the price
    currency: "%price%$" 
    # Activate or not the economy
    isEnable: true 
    # Message if the player does not have the money for a purchase.
    denyMessage: "&cYou don’t have enough money to buy this." 

Attention, for some economy you need to add more information. As for example for the econometric ITEM and COINSENGINE. To know what you need to add please look at the file if below.

economies.yml

#########################################################################################################################################
#
#  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–‘β–‘β–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘
#  β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—
#  β–‘β–‘β–ˆβ–ˆβ–ˆβ•”β•β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•
#  β–ˆβ–ˆβ•”β•β•β•β–‘β–‘β–‘β•šβ•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β–‘
#  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–‘β–‘
#  β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β–‘β•šβ•β•β–‘β–‘β•šβ•β•β–‘β•šβ•β•β•β•β•β–‘β•šβ•β•β–‘β–‘β–‘β–‘β–‘
#
# 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/)
# - VOTINGPLUGIN (requires https://www.spigotmc.org/resources/votingplugin.15358/)
# - TOKENMANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
# - COINSENGINE (requires https://www.spigotmc.org/resources/84121/)
#
#########################################################################################################################################

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
    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
    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.
    item: # Configure the item : https://docs.zmenu.dev/configurations/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
    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.
    item: # Configure the item : https://docs.zmenu.dev/configurations/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" # Placeholder to display the price
    isEnable: true # Activate or not the economy
    denyMessage: "&cYou don’t 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" # Placeholder to display the price
    isEnable: true # 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
    isEnable: true # 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" # 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.

Last updated