aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2019-07-06 21:03:42 +0100
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2019-07-06 21:03:42 +0100
commit3b2af19f80906c45d30c8eac5ba4961a90d6f458 (patch)
tree526dff3eebfacf62760e8d4dc0b9a2bdb762adf0
parent6ca4c664c293613b8ef2d6228a2829c855b93490 (diff)
Activate new task types
- Modified config for new task types
-rw-r--r--src/main/java/com/leonardobishop/quests/Quests.java4
-rw-r--r--src/main/resources/config.yml116
2 files changed, 120 insertions, 0 deletions
diff --git a/src/main/java/com/leonardobishop/quests/Quests.java b/src/main/java/com/leonardobishop/quests/Quests.java
index 79724c66..6c198ade 100644
--- a/src/main/java/com/leonardobishop/quests/Quests.java
+++ b/src/main/java/com/leonardobishop/quests/Quests.java
@@ -156,6 +156,10 @@ public class Quests extends JavaPlugin {
taskTypeManager.registerTaskType(new PositionTaskType());
taskTypeManager.registerTaskType(new PlaytimeTaskType());
taskTypeManager.registerTaskType(new BrewingTaskType());
+ taskTypeManager.registerTaskType(new ExpEarnTaskType());
+ taskTypeManager.registerTaskType(new BreedingTaskType());
+ taskTypeManager.registerTaskType(new EnchantingTaskType());
+ taskTypeManager.registerTaskType(new DealDamageTaskType());
// TODO: FIX
// taskTypeManager.registerTaskType(new BrewingCertainTaskType());
if (Bukkit.getPluginManager().isPluginEnabled("ASkyBlock")) {
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index 5e4dbd5a..ab931615 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -575,6 +575,122 @@ quests:
enabled: true
time: 1440
+ breeding1:
+ tasks:
+ breeding:
+ type: "breeding"
+ amount: 5
+ display:
+ name: "&cBreeder"
+ lore-normal:
+ - "&7This quest requires you to:"
+ - "&7 - Breed 5 animals"
+ - ""
+ - "&7Rewards:"
+ - "&7 - $30 added to your in-game balance."
+ lore-started:
+ - ""
+ - "&7Your current progression:"
+ - "&7 - Animals bred: {breeding:progress}"
+ type: "WHEAT"
+ rewards:
+ - "eco give {player} 30"
+ options:
+ category: "medium"
+ requires:
+ - ""
+ repeatable: true
+ cooldown:
+ enabled: true
+ time: 1440
+
+ expearn1:
+ tasks:
+ expearn:
+ type: "expearn"
+ amount: 10
+ display:
+ name: "&cExperience Earner"
+ lore-normal:
+ - "&7This quest requires you to:"
+ - "&7 - Gain 10 XP"
+ - ""
+ - "&7Rewards:"
+ - "&7 - $30 added to your in-game balance."
+ lore-started:
+ - ""
+ - "&7Your current progression:"
+ - "&7 - XP earned: {expearn:progress}"
+ type: "EXP_BOTTLE"
+ rewards:
+ - "eco give {player} 30"
+ options:
+ category: "medium"
+ requires:
+ - ""
+ repeatable: true
+ cooldown:
+ enabled: true
+ time: 1440
+
+ dealdamage1:
+ tasks:
+ dealdamage:
+ type: "dealdamage"
+ amount: 100
+ display:
+ name: "&cPain Giver"
+ lore-normal:
+ - "&7This quest requires you to:"
+ - "&7 - Deal 100 HP damage"
+ - ""
+ - "&7Rewards:"
+ - "&7 - $100 added to your in-game balance."
+ lore-started:
+ - ""
+ - "&7Your current progression:"
+ - "&7 - Damage dealt: {dealdamage:progress} HP"
+ type: "REDSTONE"
+ rewards:
+ - "eco give {player} 100"
+ options:
+ category: "medium"
+ requires:
+ - ""
+ repeatable: true
+ cooldown:
+ enabled: true
+ time: 1440
+
+ enchanting1:
+ tasks:
+ enchanting:
+ type: "enchanting"
+ amount: 5
+ display:
+ name: "&cEnchanter"
+ lore-normal:
+ - "&7This quest requires you to:"
+ - "&7 - Enchant 5 items"
+ - ""
+ - "&7Rewards:"
+ - "&7 - $100 added to your in-game balance."
+ lore-started:
+ - ""
+ - "&7Your current progression:"
+ - "&7 - Items enchanted: {enchanting:progress}"
+ type: "REDSTONE"
+ rewards:
+ - "eco give {player} 100"
+ options:
+ category: "medium"
+ requires:
+ - ""
+ repeatable: true
+ cooldown:
+ enabled: true
+ time: 1440
+
animals1:
tasks:
milking: