<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.prosperitysmp.com/index.php?action=history&amp;feed=atom&amp;title=Direct_trading</id>
	<title>Direct trading - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.prosperitysmp.com/index.php?action=history&amp;feed=atom&amp;title=Direct_trading"/>
	<link rel="alternate" type="text/html" href="https://wiki.prosperitysmp.com/index.php?title=Direct_trading&amp;action=history"/>
	<updated>2026-06-05T23:43:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.prosperitysmp.com/index.php?title=Direct_trading&amp;diff=69&amp;oldid=prev</id>
		<title>VxMac: Create Direct trading page (/trade secure swap window)</title>
		<link rel="alternate" type="text/html" href="https://wiki.prosperitysmp.com/index.php?title=Direct_trading&amp;diff=69&amp;oldid=prev"/>
		<updated>2026-05-29T22:05:56Z</updated>

		<summary type="html">&lt;p&gt;Create Direct trading page (/trade secure swap window)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Direct trading&amp;#039;&amp;#039;&amp;#039; 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 &amp;quot;drop the items and trust the other player to &amp;lt;code&amp;gt;/pay&amp;lt;/code&amp;gt;&amp;quot; method, which has cost players items in the past. Start a trade with &amp;lt;code&amp;gt;/trade &amp;amp;lt;player&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Starting a trade ==&lt;br /&gt;
&lt;br /&gt;
# Run &amp;lt;code&amp;gt;/trade &amp;amp;lt;player&amp;amp;gt;&amp;lt;/code&amp;gt; to send a request. The other player has 30 seconds to respond.&lt;br /&gt;
# The other player accepts by clicking &amp;#039;&amp;#039;&amp;#039;[Accept]&amp;#039;&amp;#039;&amp;#039; in chat, or by typing &amp;lt;code&amp;gt;/trade accept&amp;lt;/code&amp;gt;. They can refuse with &amp;lt;code&amp;gt;/trade deny&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Once accepted, a shared trade window opens for both players.&lt;br /&gt;
&lt;br /&gt;
Both players must be online, but there is &amp;#039;&amp;#039;&amp;#039;no distance limit&amp;#039;&amp;#039;&amp;#039; — you can trade across any world. Each player can be in only one trade at a time.&lt;br /&gt;
&lt;br /&gt;
== The trade window ==&lt;br /&gt;
&lt;br /&gt;
The window is split down the middle: your offer on the left, the other player&amp;#039;s offer on the right. Both players see the same window, and it updates live as either side makes changes.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Item slots:&amp;#039;&amp;#039;&amp;#039; 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.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Cash slot:&amp;#039;&amp;#039;&amp;#039; click your cash slot, then type an amount in chat to add money to your side. Type &amp;lt;code&amp;gt;clear&amp;lt;/code&amp;gt; to remove it.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ready button:&amp;#039;&amp;#039;&amp;#039; click it when you are satisfied with both offers. It turns green.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Cancel button:&amp;#039;&amp;#039;&amp;#039; ends the trade at any time, with nothing changing hands.&lt;br /&gt;
&lt;br /&gt;
Items and cash are only &amp;#039;&amp;#039;&amp;#039;reserved&amp;#039;&amp;#039;&amp;#039; 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.&lt;br /&gt;
&lt;br /&gt;
== Confirming ==&lt;br /&gt;
&lt;br /&gt;
Once &amp;#039;&amp;#039;&amp;#039;both&amp;#039;&amp;#039;&amp;#039; players have clicked Ready, a 3-second countdown begins. When it finishes, the swap executes: each player receives the other&amp;#039;s offered items, and the cash is transferred.&lt;br /&gt;
&lt;br /&gt;
To prevent last-second switches, &amp;#039;&amp;#039;&amp;#039;any change to either offer resets both Ready buttons.&amp;#039;&amp;#039;&amp;#039; 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.&lt;br /&gt;
&lt;br /&gt;
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&amp;#039;s inventory drop at their feet.&lt;br /&gt;
&lt;br /&gt;
== Fees ==&lt;br /&gt;
&lt;br /&gt;
Direct trading has &amp;#039;&amp;#039;&amp;#039;no fee&amp;#039;&amp;#039;&amp;#039;. The full amounts are exchanged exactly as offered.&lt;br /&gt;
&lt;br /&gt;
== What transfers ==&lt;br /&gt;
&lt;br /&gt;
All item data is preserved: enchantments, [[Master Smith|master tools]], armor trims, custom names, and durability all carry over unchanged. Cash moves through the server&amp;#039;s economy ledger, so trades are visible to the economy systems, and high-value trades are logged for staff review.&lt;br /&gt;
&lt;br /&gt;
== Bedrock players ==&lt;br /&gt;
&lt;br /&gt;
Direct trading works on [[Bedrock setup|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 &amp;lt;code&amp;gt;/trade accept&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/trade deny&amp;lt;/code&amp;gt; commands are always available as a reliable alternative to clicking &amp;#039;&amp;#039;&amp;#039;[Accept]&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Commands ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Command !! Effect&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;/trade &amp;amp;lt;player&amp;amp;gt;&amp;lt;/code&amp;gt; || Send a trade request&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;/trade accept&amp;lt;/code&amp;gt; || Accept an incoming request&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;/trade deny&amp;lt;/code&amp;gt; || Decline an incoming request&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;/trade cancel&amp;lt;/code&amp;gt; || Cancel the trade you are currently in&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Trade safety ==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Trading]] — overview of every way to trade on the server&lt;br /&gt;
* [[Auction house]] — fixed-price public marketplace&lt;br /&gt;
* [[ChestShop]] — player-owned shop signs&lt;br /&gt;
* [[Server rules]] — scamming and trade-fraud rules&lt;br /&gt;
* [[Commands]] — full command reference&lt;br /&gt;
&lt;br /&gt;
[[Category:Gameplay]]&lt;/div&gt;</summary>
		<author><name>VxMac</name></author>
	</entry>
</feed>