aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2019-09-13 23:44:19 +0100
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2019-09-13 23:44:50 +0100
commit15abf83910fb0200080e5002caebd6de575b566d (patch)
treec0d2bb2c49db8004bdf0b92326e830720afdb48c /src/main/resources
parent861dbd278700f98244374c0f0f0ad417e46336a6 (diff)
Using api version 1.14
- Removed all references to numerical ids - Removed SimilarBlocks class - Updated examples to new material names
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/config.yml16
-rw-r--r--src/main/resources/plugin.yml1
-rw-r--r--src/main/resources/quests/example1.yml2
-rw-r--r--src/main/resources/quests/example2.yml2
-rw-r--r--src/main/resources/quests/example3.yml4
-rw-r--r--src/main/resources/quests/example5.yml2
-rw-r--r--src/main/resources/quests/example6.yml2
7 files changed, 15 insertions, 14 deletions
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index b5a5273e..83e9977c 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -36,7 +36,7 @@ categories:
- "&cIt is highly recommended you read this"
- "&csection and all the comments so you can"
- "&cmake the most of this plugin."
- type: "327"
+ type: "WATER_BUCKET"
permissionexample:
display:
name: "&cPermission Example"
@@ -47,7 +47,7 @@ categories:
- "&cIt is highly recommended you read this"
- "&csection and all the comments so you can"
- "&cmake the most of this plugin."
- type: "327"
+ type: "WATER_BUCKET"
# This category needs the permission "quests.category.permissionexample", because the category ID is 'permissionexample'.
# The permission for other categories is: "quests.category.<id>".
permission-required: true
@@ -82,39 +82,39 @@ gui:
- ""
- "&7Requires: &c{requirements}"
- "&7to be completed to unlock."
- type: "160:14"
+ type: "RED_STAINED_GLASS_PANE"
quest-permission-display:
name: "&6&lNo Permission"
lore:
- "&7You do not have permission for this"
- "&7quest (&6{quest}&7)."
- type: "160:12"
+ type: "BROWN_STAINED_GLASS_PANE"
quest-cooldown-display:
name: "&e&lQuest On Cooldown"
lore:
- "&7You have recently completed this quest"
- "&7(&e{quest}&7) and you must"
- "&7wait another &e{time} &7to unlock again."
- type: "160:1"
+ type: "ORANGE_STAINED_GLASS_PANE"
quest-completed-display:
name: "&a&lQuest Complete"
lore:
- "&7You have completed this quest"
- "&7(&a{quest}&7) and cannot."
- "&7repeat it."
- type: "160:5"
+ type: "GREEN_STAINED_GLASS_PANE"
quest-cancel-yes:
name: "&a&lConfirm Cancel"
lore:
- "&7Confirm you wish to cancel"
- "&7this quest and lose all"
- "&7progress."
- type: "160:5"
+ type: "GREEN_STAINED_GLASS_PANE"
quest-cancel-no:
name: "&c&lAbort Cancel"
lore:
- "&7Return to the quest menu."
- type: "160:14"
+ type: "RED_STAINED_GLASS_PANE"
options:
# If categories are disabled, quests will be put into one big gui.
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index fd126f77..5cbc933f 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -7,6 +7,7 @@ main: com.leonardobishop.quests.Quests
author: LMBishop
softdepend: [ASkyBlock, uSkyBlock, Citizens]
prefix: Quests
+api-version: 1.14
commands:
quests:
diff --git a/src/main/resources/quests/example1.yml b/src/main/resources/quests/example1.yml
index 82e6e810..eb6b865a 100644
--- a/src/main/resources/quests/example1.yml
+++ b/src/main/resources/quests/example1.yml
@@ -32,7 +32,7 @@ display:
- "&7Your current progression:"
- "&7 - {mining:progress}/30 blocks broken."
# This is the material of the item. It is recommended to stick to bukkit names.
- type: "WOOD_PICKAXE"
+ type: "WOODEN_PICKAXE"
# List all commands to be executed by the server when the player completes the quest. Use {player} to get the players name.
rewards:
diff --git a/src/main/resources/quests/example2.yml b/src/main/resources/quests/example2.yml
index 5b6d2c4e..1ed6c0e1 100644
--- a/src/main/resources/quests/example2.yml
+++ b/src/main/resources/quests/example2.yml
@@ -27,7 +27,7 @@ display:
- "&7Your current progression:"
- "&7 - {mining:progress}/100 blocks broken."
- "&7 - {building:progress}/100 blocks placed."
- type: "GRASS"
+ type: "GRASS_BLOCK"
rewards:
- "give {player} diamond 15"
- "eco give {player} 50"
diff --git a/src/main/resources/quests/example3.yml b/src/main/resources/quests/example3.yml
index 8254a257..29e4f91a 100644
--- a/src/main/resources/quests/example3.yml
+++ b/src/main/resources/quests/example3.yml
@@ -6,11 +6,11 @@ tasks:
mining:
type: "blockbreakcertain"
amount: 81
- block: 14 # (gold ore)
+ block: GOLD_ORE
building:
type: "blockplacecertain"
amount: 9
- block: 41 # (gold blocks)
+ block: GOLD_BLOCK
display:
name: "&cExample III (Repeatable, 10 minute cooldown)"
lore-normal:
diff --git a/src/main/resources/quests/example5.yml b/src/main/resources/quests/example5.yml
index a143d315..bfdc8d94 100644
--- a/src/main/resources/quests/example5.yml
+++ b/src/main/resources/quests/example5.yml
@@ -18,7 +18,7 @@ display:
- ""
- "&7Your current progression:"
- "&7 - {building:progress}/10 blocks placed."
- type: "GRASS"
+ type: "GRASS_BLOCK"
rewards:
- "eco give {player} 10"
options:
diff --git a/src/main/resources/quests/example6.yml b/src/main/resources/quests/example6.yml
index 8d5a8feb..abadba2a 100644
--- a/src/main/resources/quests/example6.yml
+++ b/src/main/resources/quests/example6.yml
@@ -18,7 +18,7 @@ display:
- ""
- "&7Your current progression:"
- "&7 - {building:progress}/10 blocks placed."
- type: "GRASS"
+ type: "GRASS_BLOCK"
rewards:
- "eco give {player} 10"
options: