Buttons

zAuctionHouse Button

zAuctionHouse uses the zMenu API, so you have all the features of zMenu available from. Documentation: https://docs.zmenu.dev/configurations/buttons

We advise you to look at the zMenu documentation to better understand how the configurations work.

To configure the items, go to this page: https://docs.zmenu.dev/configurations/items

In this page you will find all the buttons that zAuctionHouse adds in zMenu.

Attention, if you have the slightest doubt on how to use one of the buttons, please look at the default configuration. If doubt persists please contact us at discord.


Auction list

For its buttons you have to specify a list of slots mandatory.

ZAUCTIONHOUSE_AUCTION

Displays the list of items that are currently on sale..

ZAUCTIONHOUSE_EXPIRE

Displays the list of items that have expired for the player.

ZAUCTIONHOUSE_ITEMS

Displays the list of items the player currently has for sale.

ZAUCTIONHOUSE_BUYING

Displays the list of items the player has purchased.

Displays the list of items the player requested based on the search filter.

ZAUCTIONHOUSE_CATEGORY

Displays the list of items in the category that the player uses.


Categories

ZAUCTIONHOUSE_CATEGORY

Open a category, you must specify the name of the catégory in the configuration.

type: ZAUCTIONHOUSE_CATEGORY
category: <category name>

ZAUCTIONHOUSE_CATEGORIES_LORE

Allows categories to be displayed on a single button. This configuration uses button type:

Example:

categories:
  isPermanent: true
  type: ZAUCTIONHOUSE_CATEGORIES_LORE
  categories:
    - 'home'
    - 'blocks'
    - 'potions'
    - 'tools'
    - 'weapons'
    - 'misc'
  enableText: '&a➜ %category%'
  disableText: '&7➜ %category%'
  slot: 47
  item:
    material: CLOCK
    name: '&bCategory: &f%category%'
    lore:
      - ''
      - '&7➜ All Categories'
      - '%blocks%'
      - '%potions%'
      - '%tools%'
      - '%weapons%'
      - '%misc%'
      - ''
      - '&bClick &fto cycle.'

ZAUCTIONHOUSE_CATEGORIES_HOME

Allows categories to be displayed on a single button. This configuration uses button type:

Example

categories:
  isPermanent: true
  type: ZAUCTIONHOUSE_CATEGORIES_HOME
  categories:
    - 'home'
    - 'blocks'
    - 'potions'
    - 'tools'
    - 'weapons'
    - 'misc'
  slot: 47
  item:
    material: CLOCK
    name: '&bCategory: &fAll Categories'
    lore:
      - ''
      - '&a➜ All Categories'
      - '&7➜ Blocks'
      - '&7➜ Potions'
      - '&7➜ Tools'
      - '&7➜ Weapons'
      - '&7➜ Miscellaneous'
      - ''
      - '&bClick &fto cycle.'


Remove All

ZAUCTIONHOUSE_REMOVE_ALL_ITEMS

Allows to recover the items that the player has put on sale.

ZAUCTIONHOUSE_REMOVE_ALL_BUYING

Retrieves items that the player has purchased.

ZAUCTIONHOUSE_REMOVE_ALL_EXPIRE

Allows you to retrieve player items that have expired.


Show

ZAUCTIONHOUSE_SHOW_REMOVE

Displays the item that the player will remove in the inventory removeConfirm.yml

ZAUCTIONHOUSE_SHOW_BUY

Displays the item that the player will purchase in the inventory buyConfirm.yml

ZAUCTIONHOUSE_SHOW_ADMIN

Displays the item that the player will remove in the inventory adminRemove.yml


ZAUCTIONHOUSE_CLAIM

Retrieves the money, does the same as the/ah claim command.


Sell Inventory

ZAUCTIONHOUSE_SELL_INVENTORY_ACCEPT

Allows the player to sell items at once.

ZAUCTIONHOUSE_SELL_INVENTORY_SLOT

List of slots where the player will be able to place items.


ZAUCTIONHOUSE_CHANGE_SORT

Change the sort type for the player.


ZAUCTIONHOUSE_SHOW_ITEMS

Displays items from an inventory, shulker box or barrel. Is used in sellshow.yml inventory.


ZAUCTIONHOUSE_BUY_CONFIRM

Allows to confirm the purchase of an item.


ZAUCTIONHOUSE_UPDATE

Updates the list of items for sale.


ZAUCTIONHOUSE_ADMIN_REMOVE

Remove an item from the sale with several options.

type: ZAUCTIONHOUSE_ADMIN_REMOVE
isSilent: <boolean> # If the player will receive a message
isForceRemove: <boolean> # If the item will be completely removed and not given back to the player.

Remove Confirm

ZAUCTIONHOUSE_REMOVE_CONFIRM

Allows to remove an item.

ZAUCTIONHOUSE_REMOVE_CONFIRM_ADMIN

Allows to remove an item as an administrator.

Last updated