O'DailyQuests
  • 💻O'DailyQuests
  • Installation
  • Configuration
    • Configuration file
    • Messages file
    • Player Interface
  • Quests
    • Create a quest
    • Standard types
      • Item quest
      • Entity quest
      • Global quest
      • Location quest
      • Villager quest
      • Placeholder quest
    • External types
      • PyroFishingPro
      • Custom Mobs
    • Rewards types
  • Commands
    • Player commands
    • Admin commands
  • INTEGRATIONS
    • WildStacker
    • NPCs
    • Placeholders
    • Holograms
  • HELP
    • Contact us
    • Common errors
  • API
    • Initialisation
    • ODailyQuestsAPI class
    • Create a new quest
    • Events
Powered by GitBook
On this page
  1. Quests
  2. Standard types

Villager quest

PreviousLocation questNextPlaceholder quest

Last updated 9 months ago

For this type, you can specify a required occupation or level for the exchange to be validated. You can specify both, only one of them, or neither: the choice is yours.

Example : quest_type: VILLAGER_TRADE villager_profession: FARMER villager_level: 3 required_item: EMERALD required_amount: 6 you can see all the existing professions. And , more information, especially on the levels.

Examples

Basic trade quest :
1:
    name: "Cookieeeeees"
    menu_item: COOKIE
    description:
      - "&eGet 32 cookies from"
      - "&ea &afarmer &evillager level &b3&e."
      - "&aWin &b5 000$&a."
    quest_type: VILLAGER_TRADE
    required_item: COOKIE
    required_amount: 32
    reward:
      reward_type: MONEY
      amount: 5000
With profession and level :
1:
    name: "Cookieeeeees"
    menu_item: COOKIE
    description:
      - "&eGet 32 cookies from"
      - "&ea &afarmer &evillager level &b3&e."
      - "&aWin &b5 000$&a."
    quest_type: VILLAGER_TRADE
    villager_profession: FARMER
    villager_level: 3
    required_item: COOKIE
    required_amount: 32
    reward:
      reward_type: MONEY
      amount: 5000
Here
here