Dexter Studio
HomeDexWorthSelling & Worth
DexWorth · Core

Selling & Worth

Three ways to sell, a browsable price list, and worth data organised into clean category files.

The sell menu

Run /sell to open a six-row chest that behaves like any normal chest — click, drag, shift-click, hotbar swap. Only the confirm button in the bottom-right is locked: it shows the running total and sells on click. Closing the menu returns everything.

CommandWhat it does
/sellOpen the sell menu
/sell handSell the item in your hand
/sell allSell your whole inventory

Shulkers & containers

By default only the items inside a shulker are sold and the emptied box goes straight back into your inventory. An empty shulker is a normal item and sells for its own price.

settings:
  count-container-contents: true
  shulker:
    sell-contents-only: true   # false = sell box with contents

Verified payouts

Every payout checks the Vault response. If the economy plugin refuses the deposit, the items are handed straight back and the player is told — items are never taken without the money landing.

The price list

/worth opens the item price list. Java players on a 1.21.7+ server get the native Paper dialog picker — every priced item as a button with its real texture, a search box, and a detail screen showing each / stack price and the market trend. Bedrock players and servers without the dialog API get a chest menu.

CommandWhat it does
/worthOpen the price list
/worth handWorth of the held item
/worth allWorth of your whole inventory
/worth <item> [amount]Worth of any item

The chest menu lists 45 items per page, sorted A-Z. Bottom row: previous page, Sort (By name / Highest / Lowest), Item Prices (refresh), Filter (All, Blocks, Tools, Food, Combat, Potions, Books, Ingredients, Utilities) and next page.

Worth files

Every price lives in a category file under worth/. Change a value and run /dexworth reload:

worth/
 ├─ Blocks.yml      Ores.yml       Mobs.yml
 ├─ Farming.yml     Food.yml       Redstone.yml
 ├─ Enchanting.yml  Potions.yml    Dyes.yml
 ├─ Decoration.yml  Music.yml      Spawners.yml
 └─ ... and more

Enchantments use per-level book prices (Sharpness 300/level, Protection 200/level, Mending 200), and potions carry their own per-type prices — which is why raw POTION and ENCHANTED_BOOK sit at 0 in the item lists. The real value lives in the potion / enchantment sections.

Rebalancing

# set the held item's worth, saved to file
/dexworth setworth <price>
# multiply every price everywhere (keeps comments, backs up first)
/dexworth scale 1.5