Buttons

zSpawner uses the zMenu API, 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.

Last updated