# Commands and Permissions

## Permissions

You can give one permission per grade to limit the number of items on sale.

In the config.yml file you have this:

```yaml
permissions:
- permission: zauctionhouse.max.5
  limit: 5
- permission: zauctionhouse.max.10
  limit: 10
- permission: zauctionhouse.max.15
  limit: 15
```

You can create permissions to have a different expiration time per grade.

```yaml
expirations:
- permission: zauctionhouse.expiration.vip
  expiration: 3600
- permission: zauctionhouse.expiration.elite
  expiration: 7200
- permission: zauctionhouse.expiration.legend
  expiration: 259200
```

## **Remove item as an admin**

`zauctionhouse.admin.remove`

To remove an item you must use the "click wheel", if the click wheel does not work in your version, you can use your drop key.

## Bypass cooldown command

`zauctionhouse.admin.bypass.cooldown`

## Commands

<table data-full-width="true"><thead><tr><th width="310">Command</th><th width="310">Permission</th><th>Description</th></tr></thead><tbody><tr><td><strong>/zauctionhouse</strong> (aliases: /ah, /hdv, /zauction, /zah, /zhdv)</td><td><code>zauctionhouse.use</code></td><td>Main command</td></tr><tr><td><strong>/ah sell &#x3C;price> [&#x3C;amount>]</strong></td><td><code>zauctionhouse.sell</code></td><td>You can specify the economy by adding the economy format after the price. For example you have a saving per level with the format <code>l</code>, to sell your item with this economy you must do <code>/ah sell &#x3C;price>&#x3C;format> [&#x3C;amount>]</code>. What gives us: <code>/ah sell 10l</code> if you want to sell an item at 10 levels.</td></tr><tr><td><strong>/ah sellinventory &#x3C;price></strong></td><td><code>zauctionhouse.sell.inventory</code></td><td>Sell an inventory</td></tr><tr><td>/<strong>ah reload</strong></td><td><code>zauctionhouse.reload</code></td><td>Reloaded the configuration files.</td></tr><tr><td><strong>/ah config</strong></td><td><code>zauctionhouse.config</code></td><td>Configure the in-game plugin.</td></tr><tr><td><strong>/ah version</strong></td><td>in config.yml</td><td><strong>Show plugin version</strong></td></tr><tr><td><strong>/ah blacklist</strong></td><td><code>zauctionhouse.blacklist</code></td><td>See the list of blacklist players.</td></tr><tr><td><strong>/ah history [&#x3C;page>] [&#x3C;type>]</strong></td><td><code>zauctionhouse.history</code></td><td>View your purchase and/or sale history.</td></tr><tr><td><strong>/ah transaction &#x3C;player> [&#x3C;page>] [&#x3C;type>]</strong></td><td><code>zauctionhouse.transaction</code></td><td>View a player's buy or sell history.</td></tr><tr><td><strong>/ah claim</strong></td><td><code>zauctionhouse.claim</code></td><td>Allows you to recover your pending money.</td></tr><tr><td><strong>/ah search &#x3C;string></strong></td><td><code>zauctionhouse.search</code></td><td>Allows you to search for anything, more information about the filter system on the "Filter" page.</td></tr><tr><td><strong>/ah purge &#x3C;days></strong></td><td><code>zauctionhouse.purge</code></td><td>Purge old transactions</td></tr><tr><td>/ah giveeconomyitem &#x3C;economy></td><td>zauctionhouse.give.economy.item</td><td>Retrieves the item used by an item economy</td></tr><tr><td>/ah sell-confirmation-toggle</td><td>zauctionhouse.sell.confirmation.toggle</td><td>Toggle sell confirmation inventory</td></tr></tbody></table>

## Optionals commands

You can add 4 optional commands. The permission of its four commands is the same as for the `/ah` command.

<table data-full-width="true"><thead><tr><th>Command</th><th width="142">Permission</th><th>Description</th></tr></thead><tbody><tr><td><strong>/ah expire</strong></td><td>none</td><td>Allows you to access the list of expired items.</td></tr><tr><td><strong>ah buying</strong></td><td>none</td><td>Allows you to access the list of purchased items.</td></tr><tr><td><strong>/ah categories</strong></td><td>none</td><td>Allow access to the list of categories.</td></tr><tr><td><strong>/ah items</strong></td><td>none</td><td>Allows you to access your items on sale.</td></tr></tbody></table>


---

# 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://zauctionhouse.groupez.dev/configurations/commands-and-permissions.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.
