Skip to content
TTS-STUDIO docs Discord

Plugins / TradeForge

TradeForge

One shared window, and nothing moves until both say yes

TradeForge is player-to-player trading for Paper 1.21.x, built around the three decisions that separate a trade window somebody can trust from one that loses items.

THE THREE DECISIONS

WHAT HAPPENS WHEN THINGS GO WRONGThis is where trade plugins lose items, so it is worth being specific:Somebody disconnects mid-trade — what they had on the table is written to disk and handed back the next time they log in. An offline player has no inventory to write to, and dropping the stacks on the ground is a free chest for whoever is standing thereSomebody dies mid-trade — same thing, handed over on respawn. Putting items into a dead player's inventory means they are wiped when they come backThe server stops mid-trade — same again, written before the plugin disablesYour balance drops between confirming and closing — the trade aborts and tells both of you, rather than half-paying anybodyOne of you walks away — the distance is measured again at settlement, not only when the window openedSomebody's inventory is full — the trade stays open and says who has no room, so it can be fixed without starting overBoth close the window at the same instant — the goods are returned once. Not twiceFEATURES

COMMANDS AND PERMISSIONS

Keep reading