# Buttons

zSpawner uses the [zMenu API](https://docs.zmenu.dev/configurations/buttons), please read the zMenu documentation to understand the principle of buttons.

#### ZSPAWNER\_SPAWNERS

* Description: Displays the list of spawners for the player who opens the inventory. Can use multiple pages.
* Usage: Button to display spawners.

#### ZSPAWNER\_SORT

* Description: Allows changing the sorting for displaying the ZSPAWNER\_SPAWNERS button.
* Usage: Button to change spawner sorting.

#### ZSPAWNER\_ITEMS

* Description: Displays the list of items for a virtual spawner.
* Usage: Button to display items for a virtual spawner.

#### ZSPAWNER\_REMOVE

* Description: Allows removing a virtual spawner and retrieving the spawner as an item.
* Usage: Button to remove a virtual spawner.

#### ZSPAWNER\_SHOW

* Description: Displays all spawners or the spawners of a specific player. Allows teleporting to the spawner or deleting it.
* Usage: Button to show spawners.


---

# 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://zspawner.groupez.dev/buttons.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.
