LegendaryDailyQuests - English
  • āš™ļøPlugin installation
  • Configurations
    • config.yml
    • Language.yml
  • Quest configuration
    • šŸ“œQuest Template
      • Create a new quest
    • 🌯Quest Rarity (V- 1.0.7 Update)
    • 🪟Quest Objectives
    • āœļøObjective value type
      • šŸ“œItem Objectives Write
    • šŸ—žļøObjective Conditions
    • šŸ’ Quest Runs
    • šŸ“¦Customize a new quests cycle
  • Commands
    • šŸ”Commands ~ Permissions
    • PlaceholderAPI
    • Updates
Powered by GitBook
On this page
  • Start writing
  • 1.write quest goal
  • 2.write quest basics
  • 3.save file
  • 4.add the quest to a categorie
  • 5.reload plugin
  1. Quest configuration
  2. Quest Template

Create a new quest

create a new quest named Swiming Man :

  • The task goal is to swim 100m

  • The world is limited to 'world'

  • add the quest to DailyQuest

Start writing

1.write quest goal

At this point, you will find that there seems to be no goal of swimming?

So we can implement it through conditions

goals:
  swim:
    type: MOVE
    value: '' #because the objective can have no value so this filled empty.
    amount: 100 #100m
    conditions:
    - "[world]world" #Check if the current world name is 'world'
    #If serber's version above 1.13
    - "[swim]" #Check if the player is swimming (1.13+)
    #If server's version below 1.13
    - "[stand]WATER" #Check if the player is in water (1.13 below)

So far, the task goal has been completed.

2.write quest basics

display: "&fSwiming Man"
material: IRON_BOOTS
amount: 1
model: 0
description:
  # because the goal we have set named "swim", so %progress_swim% is written here.
  - " &7&lĀ· &#bcd2eeSwiming &f(&c%progress_swim%/100&f)"
reward_description:
  - " &7&lĀ· &#9AFF9AMoney Ɨ100"
goals:
  swim:
    type: MOVE
    value: '' #because the objective can have no value so this filled empty.
    amount: 100
    conditions:
    - "[world]world" #Check if the current world name is 'world'
    #If serber's version above 1.13
    - "[swim]" #Check if the player is swimming (1.13+)
reward:
  run:
    - 'console_command;eco give %player% 100'

3.save file

save the yml to Quests folder amd name it to Swimming_Man.yml

4.add the quest to a categorie

open the DailyQuests.yml in Categories folder

add the quest id to settings.quests

settings:
  #display
  display: '&eDaily Quests'
  #refresh tasks cycle (by day)
  refresh: 1
  #refresh tasks amount
  amount: 5
  #refresh quests list (Randomly select tasks from below)
  quests:
    - Butcher
    - Golden_Miner
    - Material_Shortage_1
    - Material_Shortage_2
    - Stonemason
    - Happy_Trade
    - Hunger
    - Running_Man
    - Adventurer
    - Adventurer_2
    - Adventurer_3
    - Adventurer_4
    - Hungriness
    - Farmer
    - Farmer_2
    - Goodbye_World
    - FishMan
    - FishMan2
    - Breeder
    - Blacksmith
    - Clother
    - Warrior
    - Enchanter
    - Timer
    - Refiner
    - Swimming_Man #here

5.reload plugin

Afterwards, you can randomly access the task!

PreviousQuest TemplateNextQuest Rarity (V- 1.0.7 Update)

Last updated 1 year ago

šŸ“œ