AlphaSellDocs v2.1.0
AlphaSellGuidesSelling

Selling

How a sale is priced and paid, and every setting that shapes it.

On this page

/sell (or /sellgui) opens a double-chest menu titled in dark gray. Players drop items into it, the menu shows a live estimate of what they are worth, and a centred sell button pays them out.

Selling without the menu

CommandSells
/sellallEverything sellable in your inventory.
/sellall <material>Only that material, for example /sellall wheat.
/sellall category <name>Everything in one category, for example /sellall category crops.
/sellhandThe item in your main hand. With sell-hand-confirm: true it first quotes the price, and /sellhand confirm within 30 seconds sells it.

Pricing

prices:
  calculation-method: "auto"
  shop-hook-enabled: true
default-price: 0.1
MethodHow an item is priced
autoRecommended. The external shop price first (ShopGUIPlus or EconomyShopGUI), then the item's category price, then default-price.
shop_onlyThe external shop price only. An item the shop does not list cannot be sold.
config_onlyThe category prices only. Shop plugins are ignored.

Run /alphasell diag to see the active method, which hooks are available, and, with an item in hand, its shop price and final quote.

Categories and progression

Every item can belong to a category, and every category levels up as the player earns from it. A higher level pays a bigger multiplier on that category's items.

CategoryItems shipped
crops48
ores52
mob46
natrual115 (the key is spelled this way in the shipped config)
armor95
fish20
book2
potions4
blocks664
categories:
  crops:
    base-multiplier: 1.1
    level-prices: [25000, 150000, 500000, 1000000, 5000000, ...]   # 20 levels
    allowed-types:
      WHEAT:
        price-per-unit: 3
      CARROT:
        price-per-unit: 1
The prices and thresholds are a starting point. Tune price-per-unit and level-prices to your server's economy.

Sell events

sell-event:
  enabled: false
  schedule-interval: 500     # seconds between starts
  duration-seconds: 180
  sell-boost: 1.25
  boss-bar:
    enabled: true
    text: '<#00FF12>★ ꜱᴇʟʟ ᴇᴠᴇɴᴛ &#555555» <#FFFFFF>%time%'
    color: GREEN
  broadcast:
    - '{prefix}<#00FF12>ꜱᴇʟʟ ᴇᴠᴇɴᴛ ꜱᴛᴀʀᴛᴇᴅ.'

While an event runs, every payout is multiplied by sell-boost (1.25x by default). Staff start or stop one with /sellevent start and /sellevent stop. With enabled: true an event also starts by itself every schedule-interval seconds. The broadcast supports {prefix} and {boost}, and the boss bar counts down with %time%. The shortest allowed interval and duration are 5 seconds, and the boost cannot go below 1.0. enabled only controls the schedule: a staff-started event works either way.

Sell Axe

A netherite axe that sells a chest's contents when the player breaks the chest with it. The chest is not destroyed, and its items are sold with the normal prices, category progress and event boost.

tools-config.yml also contains a multitool, tree chopper and drill from the plugin this one grew out of. Only the Sell Axe entry is used.

History and worth

CommandShows
/sellhistoryA paged menu of what the player has sold, with totals per material.
/worthA price list sorted by highest price, with sorting by lowest price and alphabetical.
/worth handWhat the item in your hand would sell for right now.
/worth toggleSwitches your personal worth setting. /worth toggle globally flips it for the whole server and needs alphasell.admin.

worth-enabled is the default for the personal setting. In this version the worth setting is only stored and shown in the settings menu, and does not add worth text to item tooltips.