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

Entity quest

PreviousItem questNextGlobal quest

Last updated 9 months ago

For this type of quest you must specify an entity, with the line : required_entity: <TYPE>

It is not mandatory to specify an entity. Simply remove this line from your quest to take into account all entities involved in the quest type. For example, a KILL quest will include all killed entities if none are specified. All types of entities are listed on .

Coloured sheep

For SHEAR quests, if the player has to shear sheep, you can specify a wool colour. To specify a colour, you simply add the line sheep_color: <COLOR> below entity_type.

The available colours are listed on , in the Enum Constant section.

Examples

Basic quest :
1:
    name: "Too many zombies"
    menu_item: ZOMBIE_HEAD
    description:
      - "&cKill &65 &czombies."
      - "&aWin &b500 &aTokens."
    quest_type: KILL
    required_entity: ZOMBIE
    required_amount: 5
    reward:
      reward_type: POINTS
      amount: 500
Quest with coloured sheep :
1:
    name: "&2Shear 3 purple sheeps."
    menu_item: PURPLE_WOOL
    description:
      - "&6Reward:"
      - "&7A \"hello\" message from the server :)"
    quest_type: SHEAR
    required_entity: SHEEP
    sheep_color: PURPLE
    required_amount: 3
    reward:
      reward_type: COMMAND
      commands:
        - "say Hello"
this page
this page