promotional bannermobile promotional banner

Player Trade - justfatlard

Let players trade items with each other safely, without the risk of a scam drop-and-grab
Back to Files

player-trade-1.0.0.jar

File nameplayer-trade-1.0.0.jar
Uploader
justfatlardjustfatlard
Uploaded
Aug 27, 2026
Downloads
2
Size
26.8 KB
Mod Loaders
Fabric
File ID
8749367
Type
R
Release
Supported game versions
  • 26.3-snapshot

Curse Maven Snippet

Fabric

modImplementation "curse.maven:player-trade-justfatlard-1671015:8749367"

Learn more about Curse Maven

What's new

  • Player-to-player trading: shift-right-click another player to send a trade request; a clickable chat prompt lets them accept
  • Synced trade screen: both players see each other's offered items update live as slots change
  • Mutual acceptance required: items only change hands once both sides accept; accepting again un-accepts if the offer changes
  • Safe cancellation: closing the screen, disconnecting, or explicitly cancelling returns all offered items to their owner
  • Inventory-full protection: a trade won't complete if either player lacks the space to receive their side of the deal
  • /trade accept <player> and /trade cancel commands for responding to and leaving trades
  • /server-trade <player> <item> <count> ... (operator-only): send a player a preset one-sided offer of up to 9 items, which they can accept or decline through the normal trade screen

Learning It

Shift-right-clicking a person is the mod's only front door, and nothing in the game hints that it does anything. The one place the mod explains itself is chat, which only ever speaks after somebody already knew what to do.

With block-tip installed, looking at another player says it while you are looking at them: "Sneak-click to trade", or "Already trading" when they are mid-trade and the click would only come back as an error.

Optional and guarded: without block-tip the mod behaves exactly as before.

Pandorical

Player Trade uses Pandorical's screens() API to build and drive the trade UI (the item grids, accept/cancel buttons, and live "who's accepted" indicators) entirely server-side. There's no bundled client mod or resource pack. Pandorical must be installed client-side for a player to see or use the trade screen. If a player without Pandorical is sent a trade request and it opens for them, they instead get a chat message telling them Pandorical is required, rather than a broken or missing screen.