# Paragon Commerce BUILD8 FIX9 — Commands and Permissions

Verified against the FIX9 source. `/shop` is not registered. Commerce businesses no longer publish to Stock Market. This document covers Commerce, not Stock Market commands.

## Shop commands

| Command | Purpose |
|---|---|
| `/pcshop` or `/commerceshop` | Open the shop |
| `/commerce` or `/commerce shop` | Open the shop |
| `/pcshop search <text>` | Search products |
| `/pcshop sellall` | Sell eligible inventory items |
| `/commerce history` | View your transactions |
| `/commerce status` | Show plugin version, economy provider, and loaded product count |

Search and `sellall` also work under `/commerce` and `/commerceshop`. Buy-only items cannot be sold and are not consumed by rejected sales.

## Business commands

Use a business slug, such as `my-store`, for `<business>`. Obtain slugs with `/business list`. Product IDs can be viewed with `/commerceadmin list`.

| Command | Purpose |
|---|---|
| `/business` or `/business gui` | Browse businesses |
| `/business manage` | Open business management |
| `/business create <name>` | Create a business |
| `/business list` | List businesses |
| `/business browse <business>` | Open a storefront |
| `/business stock <business> <product-id> <amount>` | Supply real items from your inventory |
| `/business deposit <business> <amount>` | Deposit money into the business |
| `/business withdraw <business> <amount>` | Withdraw money from the business |
| `/businesshistory [business]` | View account history; omitted business selects your first owned business |

Employee command parsing is inconsistent with its help text in FIX9. Use the management GUI for hiring/removal rather than relying on the advertised employee command syntax.

Owners and managers can manage employees, supply stock, deposit/withdraw money, and view account history. Clerks currently have no management rights. These roles are stored business memberships, not permission nodes. An admin permission does not automatically make a player an owner/manager of another player's business.

## Supply contracts

```text
/contract list
/contract offer <buyer-business> <product-id> <amount> <unit-price> <minutes>
/contract accept <reference>
/contract fulfill <reference>
/contract cancel <reference>
```

Offers use your first owned business as supplier. Buyer-business owners/managers can accept; supplier-business owners/managers can fulfill. Either party's management can cancel. References are shown by `/contract list`; use the reference without the displayed `#` prefix.

## Administration

| Command | Purpose |
|---|---|
| `/commerceadmingui` | Open the shop with Admin Editing enabled |
| `/commerce reload` | Reload configuration, catalog, and price multipliers |
| `/commerce admin` | Display market analytics |
| `/commerceadmin list` | List product IDs, prices, categories, and stock |
| `/commerceadmin businesses` | List businesses |
| `/commerceadmin reload` | Reload configuration and catalog |

```text
/commerceadmin price <product-id> <buy-price> <sell-price>
/commerceadmin stock <product-id> <amount>
/commerceadmin category <product-id> <category-id>
/commerceadmin product add <id> <category> <material> <buy> <sell> <name...>
/commerceadmin product remove <id>
```

For ordinary editing, use `/pcshop` → Admin Editing. The GUI supports held-item selection, cursor/drop selection, prices, category moves, category names, and removal/restoration. Save applies the changes. Selecting an item copies it as a listing template, not business stock; player businesses still supply actual items.

Warning: command-based `product remove` deletes the catalog entry. GUI removal hides it and supports restoration. A sell price of `0` makes a listing buy-only. Price editing changes base prices; displayed/traded prices include configured global/category multipliers and applicable finite-stock pricing.

## Permission nodes

| Permission | Default | Actual effect |
|---|---|---|
| `paragoncommerce.shop` | Everyone | Shop command access |
| `paragoncommerce.sell` | Everyone | Selling |
| `paragoncommerce.shop.eggs` | Operators | Spawn-egg trading |
| `paragoncommerce.shop.technical` | Operators | Technical-item trading; hidden listings must still be enabled |
| `paragoncommerce.admin` | Operators | Admin GUI/editing and `/commerceadmin` commands |
| `paragoncommerce.admin.reload` | Operators | `/commerce reload` |
| `paragoncommerce.admin.analytics` | Operators | `/commerce admin` |
| `paragoncommerce.business.multiple` | Operators | Higher configured business ownership limit |
| `paragoncommerce.business` | Everyone | Declared, but not currently enforced |
| `paragoncommerce.business.contracts` | Everyone | Declared, but not currently enforced |

Grant reload and analytics separately to non-operator administrators: `paragoncommerce.admin` does not inherit those nodes. `/commerceadmin reload` uses the main admin node, unlike `/commerce reload`.

The default ownership limit is one business. With `paragoncommerce.business.multiple`, the limit comes from `businesses.multiple-permission-max`; its default `-1` means unlimited. Category/product-specific permissions configured in shops.yml also restrict trading. There are no Stock Market integration permission nodes in FIX9.

## All category IDs

```text
blocks       wood         ores         farming
food         drops        redstone     decor
tools        combat       nether       utility
stonework    glass        colored      nature
brewing      storage      smithing     archaeology
music        eggs         technical
```

Use these IDs for category-move commands and `market.price-multipliers.categories` settings. Multiplier `1.0` is unchanged, `2.0` doubles buy/sell prices, and `0.5` halves them. Global and category multipliers combine. Apply config changes with `/commerce reload`.
