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