#########################################################################################################################################
#
#
#   Sponsor: https://serveur-minecraft-vote.fr/
#   Sponsor 2 : https://minecraft-inventory-builder.com/
#   5€ gift code on Minecraft Vote Server : ZVOTEPARTY (https://serveur-minecraft-vote.fr/utiliser/un/code/cadeau?code=ZVOTEPARTY)
#   
#   Documentation: https://groupez.dev/resources/zvoteparty.124/wiki
#   Discord: https://discord.groupez.dev/
# 
# 
# ███████╗██╗░░░██╗░█████╗░████████╗███████╗██████╗░░█████╗░██████╗░████████╗██╗░░░██╗
# ╚════██║██║░░░██║██╔══██╗╚══██╔══╝██╔════╝██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝╚██╗░██╔╝
# ░░███╔═╝╚██╗░██╔╝██║░░██║░░░██║░░░█████╗░░██████╔╝███████║██████╔╝░░░██║░░░░╚████╔╝░
# ██╔══╝░░░╚████╔╝░██║░░██║░░░██║░░░██╔══╝░░██╔═══╝░██╔══██║██╔══██╗░░░██║░░░░░╚██╔╝░░
# ███████╗░░╚██╔╝░░╚█████╔╝░░░██║░░░███████╗██║░░░░░██║░░██║██║░░██║░░░██║░░░░░░██║░░░
# ╚══════╝░░░╚═╝░░░░╚════╝░░░░╚═╝░░░╚══════╝╚═╝░░░░░╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░░░░╚═╝░░░
#
#
#   Commands and permissions:
#   - /vote » Open vote invenroy - zvoteparty.vote
#   - /zvoteparty » Show needed votes for vote party (aliases: /vp, /voteparty) - zvoteparty.use
#   - /zvoteparty reload » Reload configuration - zvoteparty.reload
#   - /zvoteparty config » Open ingame configuration - zvoteparty.config
#   - /zvoteparty version » Show plugin version
#   - /zvoteparty help » Send commands description and syntax - zvoteparty.help
#   - /zvoteparty add » Add vote to player - zvoteparty.add
#   - /zvoteparty startparty » Force launch a Vote Party - zvoteparty.startparty
#   
#   Placeholders:
#   - %zvoteparty_votes_recorded% » Returns the current amount of votes in the Vote Party.   
#   - %zvoteparty_votes_required_party% » Returns the amount of votes left that are needed for a Vote Party to happen.
#   - %zvoteparty_votes_required_total% » Returns the total amount of votes needed for a Vote Party to happen.
#   - %zvoteparty_player_votes% » Returns the total amount of votes a player has.
#   - %zvoteparty_votes_progressbar% » Return a progress bar for the vote party
#   
#   
#########################################################################################################################################

# Rewards when a player goes to vote
rewards:
  1:
    percent: 0
    needToBeOnline: true # Player must not be online to receive the reward
    commands:
      - ""
      
party:
  # The amount of votes needed
  votes_needed: 75
  
  # The command that will be executed when the number of votes is reached for each online players
  global_commands:
    - "eco give %player% 1000"
    - "credits give %player% 10"
    - "crates key give %player% relic 1"
    - "candy give %player% 5"
    
  commands:
    - "pinataparty spawn spawn"
        
#Database informations
sql:
  user: "homestead"
  password: "secret"
  port: 3306
  host: "192.168.10.10"
  database: "zvoteparty"         