GroupeZ Docs
InventoriesAdmin

Admin Main

Admin player directory inventory configuration

The admin main inventory is the player directory of the administration interface. It lists every player who has auction activity and lets admins jump straight into a player's history without having to type their name.

File: plugins/zAuctionHouse/inventories/admin/admin-main.yml

Access:

Permission: zauctionhouse.admin.items (/ah admin also requires zauctionhouse.admin)

Features

  • One entry per player with auction activity (listings, purchases, logs or transactions)
  • Number of listings currently on sale, sales and purchases for each player
  • Four sort modes: name, listed, sold, purchased
  • Click on a player to open their admin history main inventory
  • Refresh button to reload the data

The data is loaded asynchronously with a single SQL query, and no item content is loaded. Every time the inventory is opened (command or ZAUCTIONHOUSE_ADMIN_MAIN button), the data is reloaded from the database.

Default Configuration

# Admin player directory. Counts are auction listings/lots, including historical purchases.
name: "#0c1719Player administration"
size: 54
patterns:
  - zauctionhouse-pagination
items:
  players:
    type: ZAUCTIONHOUSE_ADMIN_PLAYERS
    slots:
      - 0-44
    item:
      material: PLAYER_HEAD
      player-head: "%target%"
      name: "#2CCED2%target%"
      lore:
        - "#92ffffListed: #2CCED2%listed%"
        - "#92ffffSold: #2CCED2%sold%"
        - "#92ffffPurchased: #2CCED2%purchased%"
        - ""
        - "#92ffffClick to view player history"
    else:
      item:
        material: BARRIER
        name: "#ff5555No player history"
      slot: 22
  sort:
    type: ZAUCTIONHOUSE_ADMIN_PLAYERS_SORT
    slot: 49
    item:
      material: HOPPER
      name: "#2CCED2Sort players"
      lore:
        - "%name-color%• Name"
        - "%listed-color%• Listed (descending)"
        - "%sold-color%• Sold (descending)"
        - "%purchased-color%• Purchased (descending)"
        - "#8c8c8cLeft / right click to cycle"
  refresh:
    type: ZAUCTIONHOUSE_ADMIN_MAIN
    slot: 45
    item:
      material: SUNFLOWER
      name: "#2CCED2Refresh"

Buttons Used

ButtonTypeDescription
playersZAUCTIONHOUSE_ADMIN_PLAYERSPaginated list of players with auction activity. Click opens the player's admin history
sortZAUCTIONHOUSE_ADMIN_PLAYERS_SORTChanges the sort order of the player list
refreshZAUCTIONHOUSE_ADMIN_MAINReloads the data and reopens the directory

ZAUCTIONHOUSE_ADMIN_PLAYERS

Paginated button that displays one item per player (use PLAYER_HEAD with player-head: "%target%" to show the player's head). The pagination controls come from the zauctionhouse-pagination pattern.

When no player has auction activity, the else button is displayed instead (by default a BARRIER in slot 22).

Clicking an entry opens the admin history main inventory of that player, like /ah admin history <player>.

ZAUCTIONHOUSE_ADMIN_PLAYERS_SORT

Cycles through the sort modes:

ClickAction
Left clickNext sort mode
Right clickPrevious sort mode
Sort modeOrder
NameAlphabetical (A-Z, case insensitive)
ListedNumber of listings on sale, descending
SoldNumber of sales, descending
PurchasedNumber of purchases, descending

Players with the same value are sorted by name. The default sort mode is Name.

ZAUCTIONHOUSE_ADMIN_MAIN

Opens the admin main inventory and reloads its data. In admin-main.yml it is used as the Refresh button; in admin-history-main.yml it is used as the All players button to go back to the directory:

  players:
    type: ZAUCTIONHOUSE_ADMIN_MAIN
    slot: 49
    item:
      material: BOOK
      name: "#2CCED2All players"

Placeholders

Player entry (ZAUCTIONHOUSE_ADMIN_PLAYERS)

PlaceholderDescription
%target%Player's name
%listed%Number of listings currently on sale and not expired
%sold%Number of PURCHASE logs where the player is the seller
%purchased%Number of PURCHASE logs where the player is the buyer (includes historical purchases)

Sort button (ZAUCTIONHOUSE_ADMIN_PLAYERS_SORT)

PlaceholderDescription
%name-color%#2CCED2 if the name sort is active, #8c8c8c otherwise
%listed-color%#2CCED2 if the listed sort is active, #8c8c8c otherwise
%sold-color%#2CCED2 if the sold sort is active, #8c8c8c otherwise
%purchased-color%#2CCED2 if the purchased sort is active, #8c8c8c otherwise

This file is created automatically on startup if it does not exist yet, so existing installations receive it without having to regenerate their inventories.

On this page

GroupeZ MCP

Documentation in your AI

MCP lets your AI search GroupeZ documentation and read current examples to help you configure your plugins.

Read-only · No documentation API key needed

1. Copy the server URL

Transport: HTTP (Streamable HTTP). Authentication: none. Your tool uses its own model and subscription limits.

  1. Open Plugins in ChatGPT on the web, then + → Add custom MCP server.
  2. Name it ‘GroupeZ Documentation’, paste the URL above and choose ‘No authentication’. Create and install the plugin.
  3. In a conversation, type @ and select the plugin before asking. If needed, enable search, get_page and list_pages in its settings.
Official setup guide

3. Ask a question

Use GroupeZ MCP to help me create a zMenu inventory. Search relevant pages, read the examples and cite your sources.
Other clients and troubleshooting

For clients using mcpServers, adapt this example to their format:

{
  "mcpServers": {
    "groupez-docs": {
      "url": ""
    }
  }
}

Available tools are search, get_page and list_pages. Refresh the connector’s tools after updates. If your AI cannot access them, check that the connector is enabled in the conversation and your account allows custom MCP servers. Opening the URL in a browser is not an MCP test.