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

Location quest

PreviousGlobal questNextVillager quest

Last updated 9 months ago

For this type of quest, you must specify a world and X, Y and Z coordinates. For example, if I want the player to go in this location, which is in the world Spawn : The coordinates will be like that : location: world: Spawn x: -3 y: 110 z: 26

You can also specify a radius, to create a detection zone. location: world: Spawn x: -3 y: 110 z: 26 radius: 5 Here, the quest will be validated if the player is within 5 blocks of each side of the destination coordinate.

Examples

Location quest :
1:
    name: "&aExplorer"
    menu_item: SKELETON_SKULL
    description:
        - "&cGo to the following coordinates:"
        - "&cWorld: &bSpawn"
        - "&cX: &b-4"
        - "&cY: &b103"
        - "&cZ: &b45"
        - ""
        - "&6Reward:"
        - "&7A \"hello\" message from the server :)"
      quest_type: LOCATION
      location:
        world: world
        x: -4
        y: 103
        z: 7
        radius: 3
      reward:
        reward_type: COMMAND
        commands:
          - "say Hello"