# streaks.yml
# Streak rewards: must play X minutes for Y days in a row.

# Reward items
streaks:
  example1:
    page: 0
    slot: 0
    material: TRIPWIRE_HOOK
    name: "&b%duration%/day &7for &b%days%d"
    lore:
      - "&7Come back every day and"
      - "&7play for at least &b%duration%"
      - "&7for &b%days%d &7in a row!"
      - ""
      - "&fProgress: &b%progress%"
      - ""
      - "&fReward: &a%reward%"
      - "&fType: &cStreak"

    achieved:
      material: LIME_WOOL
      name: "&aAchieved - &6%duration%/day &7x &6%days%d"
      lore:
        - "&7You've already completed this streak."
        - "&7Progress: &a%days_played%&7/&a%days%"
        - "&fReward: &a%reward%"

    # Required streak values
    Duration: 60     # minutes per day
    Days: 7          # consecutive days
    Reset-On-Claim: true

    reward-desc: "$1000 & 1x Diamond"
    commands:
      - "eco give %player% 1000"
      - "give %player% DIAMOND 1"
    message: "&bᴘʟᴀʏᴛɪᴍᴇ &e♦ &fStreak '&bexample1&f' completed! +$1000 & 1x Diamond"
    permissions-required:
      - PlayTime.streaks.example1

# If you have any questions about what does what within' the above section, please refer to the "constant.yml" file.

# Custom items
menu-items:

  info:
    slot: 53
    material: BOOK
    name: "&bStreak Rewards"
    lore:
      - "&7These are rewards that you must stay"
      - "&7online for X amount of minutes for"
      - "&7Y amount of days in a row."

  # Example item using a command:
  #help:
    #slot: 7
    #material: PAPER
    #name: "&bSpawn"
    #lore:
      #- "&7Click to teleport to Spawn."
    #player-commands:
      #- "spawn"
    #console-commands:
      #- "heal %player%"