diff --git a/eco-core/core-plugin/src/main/resources/quests/_example.yml b/eco-core/core-plugin/src/main/resources/quests/_example.yml index c89618f..dadd713 100644 --- a/eco-core/core-plugin/src/main/resources/quests/_example.yml +++ b/eco-core/core-plugin/src/main/resources/quests/_example.yml @@ -1,26 +1,26 @@ -name: "Resettable Quest" +name: "Traveller" -description: "&fThis quest will reset in &a%time_until_reset%" +description: "&7Stretch your legs! Walk around Lumoria and find new places to explore." # Options for the /quests GUI gui: enabled: true # If the quest should be shown in the GUI always: false # If the quest should always be in the GUI, even if it's not started # The item to show in the GUI, read https://plugins.auxilor.io/all-plugins/the-item-lookup-system - item: paper name:"&eExample Quest" + item: paper # How many minutes between this quest being reset (set to -1 to disable) # 1 Day: 1440 # 1 Week: 10080 # 1 Month: 43200 -reset-time: 10 +reset-time: -1 # A list of tasks and their XP requirements to complete this quest. # If the task is one action, set XP to 1. # XP requirements can use placeholder math, for example %ecoskills_combat% * 100 tasks: - - task: break_stone - xp: 100 + - task: move + xp: 1000 # (For resettable tasks) The amount of tasks to select from the list above. # Set to -1 to use all tasks. diff --git a/eco-core/core-plugin/src/main/resources/quests/daily_quest_example.yml b/eco-core/core-plugin/src/main/resources/quests/daily_quest_example.yml index dba7726..c7a7871 100644 --- a/eco-core/core-plugin/src/main/resources/quests/daily_quest_example.yml +++ b/eco-core/core-plugin/src/main/resources/quests/daily_quest_example.yml @@ -7,13 +7,13 @@ gui: enabled: true # If the quest should be shown in the GUI always: false # If the quest should always be in the GUI, even if it's not started # The item to show in the GUI, read https://plugins.auxilor.io/all-plugins/the-item-lookup-system - item: paper name:"&eExample Quest" + item: paper # How many minutes between this quest being reset (set to -1 to disable) # 1 Day: 1440 # 1 Week: 10080 # 1 Month: 43200 -reset-time: 10 +reset-time: 1440 # A list of tasks and their XP requirements to complete this quest. # If the task is one action, set XP to 1. @@ -24,7 +24,7 @@ tasks: # (For resettable tasks) The amount of tasks to select from the list above. # Set to -1 to use all tasks. -task-amount: -1 +task-amount: 1 # The messages for the %rewards% placeholder in icons, messages, etc. reward-messages: @@ -45,3 +45,7 @@ start-effects: [ ] # The quest will be automatically started when these conditions are met. # Read https://plugins.auxilor.io/conditions/configuring-a-condition start-conditions: [ ] + +# If the quest should auto start when all conditions are met +# If this is set to false, the quest can only be started with /ecoquests start +auto-start: true diff --git a/eco-core/core-plugin/src/main/resources/tasks/move.yml b/eco-core/core-plugin/src/main/resources/tasks/move.yml new file mode 100644 index 0000000..42d7b5e --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/tasks/move.yml @@ -0,0 +1,4 @@ +description: "&fMove distance (&a%xp%&8/&a%required-xp%&f)" + +xp-gain-methods: + - trigger: move