# menus.yml

```yaml
giveaways-menu:
  title: '&lAvailable Giveaways'
  size: 36
  paginated-layout: # O = content, < = previous page, > = next page and X = empty
    - 'OOOOOOOOO'
    - 'OOOOOOOOO'
    - 'OOOOOOOOO'
    - '<XXXXXXX>'
  items:
    join-giveaway:
      material: 'PAPER'
      display-name: '&aGiveaway'
      lore:
        - '&8Ending in %end_at%'
        - ''
        - '&f Rewards:'
        - '&8 - &f%rewards%'
        - ''
        - '&7%participants% participants'
        - '&a&lCLICK TO JOIN'
    leave-giveaway:
      material: 'PAPER'
      display-name: '&aGiveaway'
      lore:
        - '&8Ending in %end_at%'
        - ''
        - '&f Rewards:'
        - '&8 - &f%rewards%'
        - ''
        - '&7%participants% participants'
        - '&c&lCLICK TO LEAVE'
    empty-item:
      material: 'COBWEB'
      display-name: '&cNo giveaways found!'
      lore:
        - '&7There is no giveaways'
        - '&7occurring now.'
    previous-page:
      material: 'SPECTRAL_ARROW'
      display-name: '&c&lPrevious Page'
      lore:
        - '&7Click to go to the'
        - '&7previous page.'
      slot: 27
    next-page:
      material: 'SPECTRAL_ARROW'
      display-name: '&e&lNext Page'
      lore:
        - '&7Click to go to the'
        - '&7next page.'
      slot: 35
    fill-items:
      material: 'GRAY_STAINED_GLASS_PANE'
      display-name: '&f'
      slots:
        - 27
        - 28
        - 29
        - 30
        - 32
        - 33
        - 34
        - 35
    close-inventory:
      material: 'BARRIER'
      display-name: '&c&lClose Inventory'
      lore:
        - '&7Click to close!'
      slot: 31
      actions:
        CLOSE_INVENTORY: true
        PLAY_SOUND: 'BLOCK_CHEST_CLOSE;1.0;1.0' # sound;volume;pitch
```


---

# 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://wiki.halosdev.com/halos-giveaways/files/menus.yml.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.
