# Commands

## Flags

- `-s` - makes silent command execution (target player won't be notified).
- `-f` - executes command bypassing certain restrictions.

## Legend

[!badge variant="danger" text="<> - Required"] [!badge variant="primary" text="[] - Optional"]

## Main

Command aliases can be changed in the `engine.yml`. By default it's `/eshop` or `/excellentshop`.

- `/eshop [help]` - List of all plugin commands.
- `/eshop reload` - Reload the plugin.

## Virtual Shop

!!!
Virtual Shop commands are available only if [Virtual Shop](/virtual/overview) feature is enabled.
!!!

Command aliases can be changed in the `config.yml`. By default it's `/vshop`.

- `/vshop [help]` - List commands.
- `/vshop editor` - Open GUI editor.
- `/vshop menu [player] [-f]` - Open main GUI shops menu. Requires the [Main GUI](/virtual/main-gui) option to be enabled.
- `/vshop open <shop> [player] [-f] [-s]` - Open a specific GUI shop.
- `/vshop rotate <shop>` - Force rotate a specific GUI shop.

The following commands are standalone and have custom aliases in the `/virtual_shop/settings.yml`.

- `/shop [shop]` - Quick access to the main menu or specific shop. Requies the [Shop Shortcuts](/virtual/shop-shortcuts) option to be enabled.
- `/sellgui [player]` - Open Sell GUI. Requies the [Sell Menu](/virtual/sell-features) option to be enabled.
- `/sellall [player] [-s]` - Sell inventory. Requies the [Sell All](/virtual/sell-features) option to be enabled.
- `/sellhand [player]` - Sell hand item. Requies the [Sell Hand](/virtual/sell-features) option to be enabled.
- `/sellhandall [player]` - Sell all inventory items that are similar to an item in hand. Requies the [Sell Hand All](/virtual/sell-features) option to be enabled.

## Chest Shop

!!!
Chest Shop commands are available only if [Chest Shop](/chest/overview) feature is enabled.
!!!

Command aliases can be changed in the `config.yml`. By default it's `/cshop` or `/chestshop`.

- `/cshop [help]` - List commands.
- `/cshop bank [player]` - Open Bank GUI.
- `/cshop browse` - Browse shop owners.
- `/cshop create [buyPrice] [sellPrice]` - Create a new shop.
- `/cshop giveitem <player> <type> [amount]` - Give shop creation item.
- `/cshop list` - View your own shops.
- `/cshop listall` - View all player shops.
- `/cshop openinv` - Open shop's container inventory.
- `/cshop playersearch [playerName]` - Search shops by player name.
- `/cshop search [itemName]` - Search shops by item name.
- `/cshop remove` - Remove the shop.

## Auction House

!!!
Auction House commands are available only if Auction House feature is enabled.
!!!

Command aliases can be changed in the `config.yml`. By default it's `/ah` or `/auction`.

- `/auction [help]` - List commands.
- `/auction expired [player] [-f]` - Open a GUI with expired listings.
- `/auction history [player] [-f]` - Open a GUI with sales history.
- `/auction open [player] [-f]` - Open main Auction GUI.
- `/auction sell <price>` - Add item you hold on the Auction for specified price.
- `/auction selling [player] [-f]` - Open a GUI with active listings.
- `/auction unclaimed [player] [-f]` - Open a GUI with unclaimed items.
