aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/quests/example3.yml
blob: 29e4f91a5a6dcadb337cac8e5b261efb7a8c3372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This is a quest which requires the previous quest to be complete to start.
# Unlike the previous quest, this one can be re-done but it has a 10 minute cooldown.

tasks:
  # Unlike the previous two quests, this quest specifies a specific block to be broken.
  mining:
    type: "blockbreakcertain"
    amount: 81
    block: GOLD_ORE
  building:
    type: "blockplacecertain"
    amount: 9
    block: GOLD_BLOCK
display:
  name: "&cExample III (Repeatable, 10 minute cooldown)"
  lore-normal:
    - "&cThis category is designed to show you the different"
    - "&cattributes a quest can have. This quest can be replayed"
    - "&cafter a cooldown, unlike the previous one."
    - ""
    - "&7This quest requires you to:"
    - "&7 - Break 81 gold ore."
    - "&7 - Place 9 gold blocks."
    - ""
    - "&7Rewards:"
    - "&7 - 30 diamonds."
    - "&7 - $10 added to your in-game balance."
  lore-started:
    - ""
    - "&7Your current progression:"
    - "&7 - {mining:progress}/81 gold ore broken."
    - "&7 - {building:progress}/9 gold blocks placed."
  type: "GOLD_ORE"
rewards:
  - "give {player} diamond 30"
  - "eco give {player} 10"
options:
  category: "examples"
  requires:
    - "example2"
  # This quest is repeatable, it has cooldowns enabled (meaning the player must wait before repeating it) and the time set to 10 (minutes).
  repeatable: true
  cooldown:
    enabled: true
    time: 10
  sort-order: 3