> For the complete documentation index, see [llms.txt](https://plugins.elitefantasy.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugins.elitefantasy.net/masky-plugins/maskycheckpoints/example-config.md).

# 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
```
