#         Developed by Ruben_Artz and Artz Studio
#
#   ▄▄▄▄▄▄     ▄▄▄▄▄▄▄   ▄▄▄     ▄▄▄  ▄▄   ▄▄▄   ▄▄▄   ▄▄▄▄▄▄▄
#  █▀██▀▀██   █▀██▀▀▀   ▀██▀    █▀██  ██  █▀▀██ ██▀   █▀██▀▀▀
#    ██   ██    ██       ██       ██  ██     ▀█▄█▀      ██
#    ██   ██    ████     ██       ██  ██      ███       ████
#  ▄ ██   ██    ██       ██       ██  ██    ▄█▀██▄      ██
#  ▀██▀███▀     ▀█████  ████████  ▀█████▄ ▀██▀  ▀██▄    ▀█████
#
# For more information click here https://announce.artzstudio.dev/en/Giveaway

ANNOUNCEMENT:
  COOLDOWN:
    # This is scheduled to be in hours.
    # This is a one hour, one hour long giveaway.
    TIME_NUMBER: 1
    # This will be sent for example 10 times must be in the range of the hour.
    TIMES_TO_BE_REPEATED: 10
    # This message will be sent 10, 5, 4, 3, 2, 1 minutes before the end of the giveaway to remind you that the giveaway will end.
    SCHEDULE_REMINDERS:
    - 10
    - 5
    - 4
    - 3
    - 2
    - 1
    # How many players will be the winners?
    NUMBER_OF_WINNERS: 1

  AUTOMATIC:
    # If this option below is true every 1 hour or depending on the time you set
    # a giveaway will automatically run infinitely until you deactivate it.
    ENABLED: true
    # Here you determine how often a new Giveaway will start.
    AUTOMATIC:
      # MINUTES, HOURS, DAYS
      TIME_UNIT: HOURS
      SEND_EACH: 12
    # Here you determine how long the Giveaway will be active.
    DURATION_OF_THE_GIVEAWAY:
      TIME_UNIT: MINUTES
      DURATION_IN_NUMBER: 15

WORD_TO_ENTER_ANY_GIVEAWAY:
- 'NEMESYS'
- 'Giveaway'
- 'Network'
- 'Rank'
- 'giveaway'
- 'nemesys'

RUN_INTERACTIONS_WITH_THE_GIVEAWAY_WINNER:
- 'message: <gold><bold>NEMESYS NETWORK</bold></gold> <gray>»</gray> <yellow>Congratulations, you have won the giveaway!</yellow>'
- 'console_command: crates key give {Player} rare 1'
- 'console_command: eco give {Player} 5000'
- 'console_command: credits give {Player} 50'
- 'send_actionbar: {actionbar:none:<gold><bold>NEMESYS</bold></gold> <gray>»</gray> <yellow>You are the winner!</yellow>}'
- 'send_sound: ENTITY_PLAYER_LEVELUP'
- 'send_bossbar: <gold><bold>NEMESYS</bold></gold> <gray>•</gray> <yellow>You have won the giveaway!</yellow>'
- 'send_title: 10;50;10;{title:none:<gold><bold>NEMESYS NETWORK</bold></gold>};{title:none:<yellow>You won the giveaway!</yellow>}'

# These messages only work if you have the automated Giveaway above.
#
#   █████  ██    ██ ████████  ██████  ███    ███  █████  ████████ ██  ██████
#  ██   ██ ██    ██    ██    ██    ██ ████  ████ ██   ██    ██    ██ ██
#  ███████ ██    ██    ██    ██    ██ ██ ████ ██ ███████    ██    ██ ██
#  ██   ██ ██    ██    ██    ██    ██ ██  ██  ██ ██   ██    ██    ██ ██
#  ██   ██  ██████     ██     ██████  ██      ██ ██   ██    ██    ██  ██████
#

AUTOMATIC_GIVEAWAY_STARTED:
  TOAST:
    ENABLED: true
    MATERIAL: DIAMOND
    TOAST_TYPE: CHALLENGE
    TEXT: '<#ff8c00>Ne<#ff9833>me<#ffa347>sy<#ffaf5c>s <#ffbb70>Ne<#ffc784>tw<#ffd398>or<#ffdfad>k;;A new giveaway has started!'
  SOUND:
    ENABLED: true
    SOUND: LEVEL_UP, 1.0f, 0.1f
  BOSSBAR:
    ENABLED: true
    MESSAGE: '<gold><bold>NEMESYS</bold></gold> <gray>•</gray> <yellow>This giveaway lasts 15 minutes</yellow>'
  TYPE: AVATAR
  MESSAGE:
  - '&8&m----------------------------------------'
  - '<center><gradient:#ff8c00:#ffb347><b>NEMESYS NETWORK</b></gradient></center>'
  - ''
  - '<center>&fA new giveaway has started!</center>'
  - '<center>&7It will be active for &615 minutes&7.</center>'
  - '<center>&7Stay online for a chance to win.</center>'
  - '<center>&eType one of the entry words in chat to join.</center>'
  - '&8&m----------------------------------------'

CHOOSE_THE_AUTOMATIC_WINNER:
  TOAST:
    ENABLED: true
    MATERIAL: DIAMOND
    TOAST_TYPE: CHALLENGE
    TEXT: '<#ff8c00>Ne<#ff9833>me<#ffa347>sy<#ffaf5c>s <#ffbb70>Ne<#ffc784>tw<#ffd398>or<#ffdfad>k;;The giveaway winner has been chosen!'
  SOUND:
    ENABLED: true
    SOUND: LEVEL_UP, 1.0f, 0.1f
  BOSSBAR:
    ENABLED: true
    MESSAGE: '<gold><bold>NEMESYS</bold></gold> <gray>•</gray> <yellow>The giveaway winner has been selected!</yellow>'
  TYPE: AVATAR
  MESSAGE:
  - '&8&m----------------------------------------'
  - '<center><gradient:#ff8c00:#ffb347><b>NEMESYS NETWORK</b></gradient></center>'
  - ''
  - '<center>&fThe giveaway has ended.</center>'
  - '<center>&7The winner is being announced now.</center>'
  - '<center>&eWinner: &6{Winner}</center>'
  - '<center>&7The next giveaway starts in about 1 hour.</center>'
  - '&8&m----------------------------------------'

# These messages only work if you run the command /acs giveaway start/forceend
#
#   ██████  ██████  ███    ███ ███    ███  █████  ███    ██ ██████
#  ██      ██    ██ ████  ████ ████  ████ ██   ██ ████   ██ ██   ██
#  ██      ██    ██ ██ ████ ██ ██ ████ ██ ███████ ██ ██  ██ ██   ██
#  ██      ██    ██ ██  ██  ██ ██  ██  ██ ██   ██ ██  ██ ██ ██   ██
#   ██████  ██████  ██      ██ ██      ██ ██   ██ ██   ████ ██████
#

GIVEAWAY_STARTED:
  TOAST:
    ENABLED: true
    MATERIAL: DIAMOND
    TOAST_TYPE: CHALLENGE
    TEXT: '<#ff8c00>Ne<#ff9833>me<#ffa347>sy<#ffaf5c>s <#ffbb70>Ne<#ffc784>tw<#ffd398>or<#ffdfad>k;;A new giveaway has started!'
  SOUND:
    ENABLED: true
    SOUND: LEVEL_UP, 1.0f, 0.1f
  BOSSBAR:
    ENABLED: true
    MESSAGE: '<gold><bold>NEMESYS</bold></gold> <gray>•</gray> <yellow>Giveaway duration: {For so long}</yellow>'
  TYPE: AVATAR
  MESSAGE:
  - '&8&m----------------------------------------'
  - '<center><gradient:#ff8c00:#ffb347><b>NEMESYS NETWORK</b></gradient></center>'
  - ''
  - '<center>&fA new giveaway is now live!</center>'
  - '<center>&7Duration: &6{For so long}</center>'
  - '<center>&7Enter now for a chance to win.</center>'
  - '<center>&eType one of the giveaway words in chat.</center>'
  - '&8&m----------------------------------------'

GIVEAWAY_TASK_STARTED:
  ENABLED: true
  MATERIAL: DIAMOND
  TOAST_TYPE: GOAL
  TEXT: '<#ff8c00>Ne<#ff9833>me<#ffa347>sy<#ffaf5c>s <#ffbb70>Ne<#ffc784>tw<#ffd398>or<#ffdfad>k;;Enter the giveaway now!'
  SOUND:
    ENABLED: true
    SOUND: LEVEL_UP, 1.0f, 0.1f
  BOSSBAR:
    ENABLED: true
    MESSAGE: '<gold><bold>NEMESYS</bold></gold> <gray>•</gray> <yellow>Type a giveaway word in chat to enter</yellow>'
  TYPE: AVATAR
  MESSAGE:
  - '&8&m----------------------------------------'
  - '<center><gradient:#ff8c00:#ffb347><b>NEMESYS NETWORK</b></gradient></center>'
  - ''
  - '<center>&fGiveaway entry is now open.</center>'
  - '<center>&7Type: &6NEMESYS &7• &6Giveaway</center>'
  - '<center>&7Also: &6Network &7• &6Rank</center>'
  - '<center>&eStay online to remain eligible.</center>'
  - '&8&m----------------------------------------'

GIVEAWAY_REMINDER:
  TOAST:
    ENABLED: true
    MATERIAL: DIAMOND
    TOAST_TYPE: GOAL
    TEXT: '<#ff8c00>Ne<#ff9833>me<#ffa347>sy<#ffaf5c>s <#ffbb70>Ne<#ffc784>tw<#ffd398>or<#ffdfad>k;;Last chance to enter the giveaway!'
  SOUND:
    ENABLED: true
    SOUND: GHAST_SCREAM, 1.0f, 0.1f
  BOSSBAR:
    ENABLED: true
    MESSAGE: '<gold><bold>NEMESYS</bold></gold> <gray>•</gray> <red>The giveaway is almost over!</red>'
  TYPE: AVATAR
  MESSAGE:
  - '&8&m----------------------------------------'
  - '<center><gradient:#ff8c00:#ffb347><b>NEMESYS NETWORK</b></gradient></center>'
  - ''
  - '<center>&cLast chance to enter the giveaway!</center>'
  - '<center>&7Time remaining: &6{Each time} minute(s)</center>'
  - '<center>&7Entry: &6NEMESYS &7• &6Giveaway</center>'
  - '<center>&7Also: &6Network &7• &6Rank</center>'
  - '&8&m----------------------------------------'

ENTRY_TO_THE_GIVEAWAY:
  TOAST:
    ENABLED: true
    MATERIAL: DIAMOND
    TOAST_TYPE: GOAL
    TEXT: '<#ff8c00>Ne<#ff9833>me<#ffa347>sy<#ffaf5c>s <#ffbb70>Ne<#ffc784>tw<#ffd398>or<#ffdfad>k;;You have joined the giveaway!'
  SOUND:
    ENABLED: true
    SOUND: LEVEL_UP, 1.0f, 0.1f
  BOSSBAR:
    ENABLED: true
    MESSAGE: '<gold><bold>NEMESYS</bold></gold> <gray>•</gray> <yellow>You successfully entered the giveaway!</yellow>'
  TYPE: AVATAR
  MESSAGE:
  - '&8&m----------------------------------------'
  - '<center><gradient:#ff8c00:#ffb347><b>NEMESYS NETWORK</b></gradient></center>'
  - ''
  - '<center>&fYou have successfully entered the giveaway.</center>'
  - '<center>&7Stay online so your reward can be delivered if you win.</center>'
  - '<center>&eGood luck!</center>'
  - ''
  - '&8&m----------------------------------------'

CHOOSE_THE_WINNER_OF_THE_GIVEAWAY:
  TOAST:
    ENABLED: true
    MATERIAL: DIAMOND
    TOAST_TYPE: CHALLENGE
    TEXT: '<#ff8c00>Ne<#ff9833>me<#ffa347>sy<#ffaf5c>s <#ffbb70>Ne<#ffc784>tw<#ffd398>or<#ffdfad>k;;The giveaway winner has been chosen!'
  SOUND:
    ENABLED: true
    SOUND: ENDERDRAGON_DEATH, 10.0f, 10.0f
  BOSSBAR:
    ENABLED: true
    MESSAGE: '<gold><bold>NEMESYS</bold></gold> <gray>•</gray> <yellow>The giveaway winner has been selected!</yellow>'
  TYPE: AVATAR
  MESSAGE:
  - '&8&m----------------------------------------'
  - '<center><gradient:#ff8c00:#ffb347><b>NEMESYS NETWORK</b></gradient></center>'
  - ''
  - '<center>&fThe giveaway has ended.</center>'
  - '<center>&7And we now have a winner.</center>'
  - '<center>&eWinner: &6{Winner}</center>'
  - ''
  - '&8&m----------------------------------------'

# DO NOT TOUCH!
version: 3

#
#   ▄▄▄▄▄▄▄   ▄▄     ▄▄▄   ▄▄▄▄▄▄
#  █▀██▀▀▀    ██▄   ██▀   █▀██▀▀██
#    ██       ███▄  ██      ██   ██
#    ████     ██ ▀█▄██      ██   ██
#    ██       ██   ▀██    ▄ ██   ██
#    ▀█████ ▀██▀    ██    ▀██▀███▀
#
# Developed by Ruben_Artz and Artz Studio