Trading
/trade <player> sends a request. The other person has 30 seconds to /trade accept or /trade deny.
The window has both sides. Each player places items and clicks to accept. Changing an item cancels that side’s accept. When both accept, the trade happens after 3 seconds. Both players must be in the same world, at most 10 blocks apart.