# Example-config

## Tutorial

{% embed url="<https://www.youtube.com/watch?v=UoaXnyiRAE4>" %}

## Example checkpoints.yml

{% hint style="info" %}
Use permission "maskycheckpoints.tp.\<checkpoints>"\
\
Use permission "menu.\<subcheckpoint>" for subcheckpoints
{% endhint %}

```yaml
checkpoints:
  checkpoints_west:
    displayname: "<red>West" #TITLE DISPLAY IF CHECKPOINT HAVE SUBCHECKPOINTS
    hasGUI: true #if you want subcheckpoint GUI
    coordinates: #checkpoint base location
      world: world
      x: -25
      y: 80
      z: 25
      yaw: 90
      pitch: 0
    # OPTIONAL CONFIGS
    options:
      area: 
      #This option means that if the player dies within that area he will
      #appear at that checkpoint, otherwise he will only appear at his last checkpoint.
        maxpoint:
          x: -500
          y: 256
          z: 500
        minpoint:
          x: 0.500
          y: -64
          z: 0.500
    subcheckpoints:
    #The subcheckpoints are extra options that serve to give more options of locations,
    #if the player dies and this has subcheckpoint will open this menu 
    #with the available subcheckpoints, not to exceed 54.
      checkpoint1:
        displayname: "<red>West subCheckpoint 1" #Item Name in GUI
        Material: PAPER
        CustomModelData: 20 #If you dont want it put it in 0
        Lore: #Use MiniMessage Format
          - "<gray>TEST checkpoint1"
        coordinates:
          world: world
          x: -51.500
          y: 80
          z: 45.500
          yaw: -13.2
          pitch: 12
      checkpoint2:
        displayname: "<red>West subCheckpoint 2"
        Material: DIAMOND
        Lore:
          - "<gray>TEST checkpoint2"
          - "<rainbow>TEST checkpoint2"
        coordinates:
          world: world
          x: -51.500
          y: 80
          z: 49.500
          yaw: -171
          pitch: 6
```


---

# Agent Instructions: 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:

```
GET https://plugins.elitefantasy.net/masky-plugins/maskycheckpoints/example-config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
