> For the complete documentation index, see [llms.txt](https://docs.quickclient.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quickclient.cc/en/extras/waypoints.md).

# Waypoints

Permanent and temporary Quick markers on the map.

`waypoints()` places Quick markers, for example on your base or a drop location. If you give a duration, the marker is temporary. Without a duration it is permanent and saved to the waypoints config.

```java
waypoints().add("Base", player().x(), player().y(), player().z());
waypoints().add("Drop", x, y, z, 20 * 60);
waypoints().remove("Drop");
```

`20 * 60` ticks is exactly one minute, after which the "Drop" marker disappears.

| Method                      | Type             | Description                                 |
| --------------------------- | ---------------- | ------------------------------------------- |
| `add(name, x, y, z)`        | `void`           | a permanent marker                          |
| `add(name, x, y, z, ticks)` | `void`           | a temporary marker that lasts `ticks` ticks |
| `remove(name)`              | `int`            | removes all markers with this name          |
| `all()`                     | `List<Waypoint>` | all markers at the moment of the call       |

`Waypoint` has `name()`, `position()`, `permanent()`.

A script does not remove its permanent markers, they stay after it is disabled. If a marker is only needed while the script runs, make it temporary and extend it on tick, or remove it in `deactivate()`.

An example of finding chests and marking them is on the [World and blocks](/en/game/world.md) page.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.quickclient.cc/en/extras/waypoints.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
