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"
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