diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2019-07-11 22:46:01 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2019-07-11 22:48:03 +0100 |
| commit | 71f118f233bdd24b4fdadfa6f2f38ff2e6d6b246 (patch) | |
| tree | 3241b6e119b892825effbdb6479b507bfbbdc296 /src/main/resources/quests/example5.yml | |
| parent | 14d76fa399a45387c8fd9755d69cb2045b5e78b2 (diff) | |
Config split up
- Quests will now be in their own files
- New 'QuestsConfigLoader' class to handle this with error messages
- General refactorings
Diffstat (limited to 'src/main/resources/quests/example5.yml')
| -rw-r--r-- | src/main/resources/quests/example5.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/resources/quests/example5.yml b/src/main/resources/quests/example5.yml new file mode 100644 index 00000000..38e9e601 --- /dev/null +++ b/src/main/resources/quests/example5.yml @@ -0,0 +1,34 @@ +tasks: + building: + type: "blockplace" + amount: 10 +display: + name: "&cExample V (Permission)" + lore-normal: + - "&cThis category is designed to show you the different" + - "&cattributes a quest can have. This quest requires" + - "&ccertain permissions." + - "" + - "&7This quest requires you to:" + - "&7 - Place 10 blocks." + - "" + - "&7Rewards:" + - "&7 - $10 added to your in-game balance." + lore-started: + - "" + - "&7Your current progression:" + - "&7 - {building:progress}/10 blocks placed." + type: "GRASS" +rewards: + - "eco give {player} 10" +options: + category: "examples" + requires: + - "example4" + # Unlike the previous quests, this one requires you to have the permission "quests.quest.example5" to start. + # The permission for other quests is: "quests.quest.<id>". + permission-required: true + repeatable: false + cooldown: + enabled: true + time: 1440
\ No newline at end of file |
