aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/quests/example4.yml
blob: 4e9c27a8abfbd91daf4e95c12787566b9bb3e866 (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
47
48
49
50
# This is a quest which requires the previous quest to be complete to start.
# Unlike the previous quests, this quest has a reward string and a start string.

tasks:
  mobkilling:
    type: "mobkilling"
    amount: 3
display:
  name: "&cExample IV (Reward String)"
  lore-normal:
    - "&cThis category is designed to show you the different"
    - "&cattributes a quest can have. This quest has a 'reward string'"
    - "&c(a series of messages sent when a quest is complete),"
    - "&cunlike the previous one."
    - ""
    - "&7This quest requires you to:"
    - "&7 - Kill &f3 &7mobs."
    - ""
    - "&7Rewards:"
    - "&7 - &f$50 &7added to your in-game balance."
    - "&7 - &f1 diamond&7."
  lore-started:
    - ""
    - "&7Your current progression:"
    - "&7 - &f{mobkilling:progress}&7/3 mobs killed."
  type: "STRING"
# Here you can list messages which will be sent to the player (if they are online) upon the quest starting.
startstring:
  - "&7Upon completion of this quest, you will be rewarded with"
  - " &8* &c$50"
  - " &8* &c1 diamonds"
rewards:
  - "eco give {player} 50"
  - "give {player} diamond 1"
placeholders:
  description: "&7Kill &f3 &7mobs."
  progress: " &8- &f{mobkilling:progress}&7/3 mobs"
# Here you can list messages which will be sent to the player (if they are online) upon completion.
rewardstring:
  - " &8* &c$1000 &7was added to your in-game balance."
  - " &8* &c1 diamond &7was added to your inventory."
options:
  category: "examples"
  requires:
    - "example3"
  repeatable: true
  cooldown:
    enabled: true
    time: 10
  sort-order: 4