mirror of
https://github.com/Auxilor/EcoQuests.git
synced 2025-12-31 12:56:41 +00:00
Examples
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
4
eco-core/core-plugin/src/main/resources/tasks/move.yml
Normal file
4
eco-core/core-plugin/src/main/resources/tasks/move.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
description: "&fMove distance (&a%xp%&8/&a%required-xp%&f)"
|
||||
|
||||
xp-gain-methods:
|
||||
- trigger: move
|
||||
Reference in New Issue
Block a user