Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Direct trading

From Prosperity SMP Wiki
Revision as of 22:05, 29 May 2026 by VxMac (talk | contribs) (Create Direct trading page (/trade secure swap window))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Direct trading lets two players swap items and cash in a single secure window. Both players place their offers, both confirm, and the exchange happens atomically — neither side can take the goods and run. It replaces the old "drop the items and trust the other player to /pay" method, which has cost players items in the past. Start a trade with /trade <player>.

Starting a trade

  1. Run /trade <player> to send a request. The other player has 30 seconds to respond.
  2. The other player accepts by clicking [Accept] in chat, or by typing /trade accept. They can refuse with /trade deny.
  3. Once accepted, a shared trade window opens for both players.

Both players must be online, but there is no distance limit — you can trade across any world. Each player can be in only one trade at a time.

The trade window

The window is split down the middle: your offer on the left, the other player's offer on the right. Both players see the same window, and it updates live as either side makes changes.

  • Item slots: 12 per player. Shift-click an item from your inventory to add it to your side; click it in the window to take it back.
  • Cash slot: click your cash slot, then type an amount in chat to add money to your side. Type clear to remove it.
  • Ready button: click it when you are satisfied with both offers. It turns green.
  • Cancel button: ends the trade at any time, with nothing changing hands.

Items and cash are only reserved while the window is open. They are not removed from your inventory until the trade completes, and a cancelled trade leaves everything exactly where it was.

Confirming

Once both players have clicked Ready, a 3-second countdown begins. When it finishes, the swap executes: each player receives the other's offered items, and the cash is transferred.

To prevent last-second switches, any change to either offer resets both Ready buttons. If someone adds, removes, or alters an item — or changes the cash amount — both players must click Ready again. Either player can also un-ready during the countdown to stop the trade.

At execution, the server re-checks that both players are still online and still hold everything they offered. If anything is missing, the trade aborts and nothing is lost. Any items that do not fit in a player's inventory drop at their feet.

Fees

Direct trading has no fee. The full amounts are exchanged exactly as offered.

What transfers

All item data is preserved: enchantments, master tools, armor trims, custom names, and durability all carry over unchanged. Cash moves through the server's economy ledger, so trades are visible to the economy systems, and high-value trades are logged for staff review.

Bedrock players

Direct trading works on Bedrock Edition. The trade window is a standard chest menu rendered natively by Geyser. Because clickable chat links can be unreliable on Bedrock keyboards, the /trade accept and /trade deny commands are always available as a reliable alternative to clicking [Accept].

Commands

Command Effect
/trade <player> Send a trade request
/trade accept Accept an incoming request
/trade deny Decline an incoming request
/trade cancel Cancel the trade you are currently in

Trade safety

Direct trading is the safest way to exchange items with another player one-on-one. Because the swap is atomic, there is no point at which one player holds both sides. Scamming through other means remains prohibited under the Server rules, and trades are logged for staff review.

See also