Player Trading
by Aidanamite · 2026-03-30 · Mods

This is little mod I decided to throw together that just adds a simple UI for players to trade with eachother. Adds 3 commands: /trade <player> - Sends/accepts a trade request to a player /tradecancel <player> - Cancels a sent trade request to a player /forcetrade <player> - [Requires OP] Opens the trade UI with a specific player, this one skips sending a request Each player can only put in and take out items from the left side of the trade window, neither player can take items from the right-side, where it shows what the other player is sending, and the items will not be traded until both players have clicked the "ready" button in the middle (you can also click it again to "unready"). If you've clicked the ready button and the other player changes the items on their side of the trade, you will be changed to unready, so people can't just change the deal just before clicking ready. If either player closes the UI, the trade will be canceled and any items still in the trading section of the UI will be returned to the respective player's inventory. When someone sends you a trade request, you'll see a message in chat like: PlayerNameHere has requested to trade with you. Accept? and you
