circle-dollarSell Commands

TaleShop provides two sell commands for quick selling without opening the shop UI.

/sell hand

Sells the item you're currently holding in your hand.

Usage: /sell hand

What happens:

1

TaleShop checks if the item exists in the shop and is sellable.

2

Validates stock limits and permissions.

3

Sells the entire stack and deposits the money.

4

Shows a notification with the sale details.

Error messages:

  • "You are not holding any item!" - Nothing in hand

  • "This item cannot be found in the shop!" - Item isn't in any shop category

  • "This item is not sellable!" - Item has no sell price

/sell all

Sells every sellable item in your inventory at once.

Usage: /sell all

What happens:

1

TaleShop scans your entire inventory.

2

Matches each item against the shop catalog.

3

Sells all matching items that have a sell price, respecting stock limits.

4

Shows a summary notification: "Sold X items for $Y".

Items that aren't in the shop or don't have a sell price are left in your inventory.

Configuration

Both commands require the taleshop.use permission.

You can enable/disable each command individually in config.json:

When disabled, players see "This command is currently disabled." Admins with taleshop.admin can still use the commands.