PlayerTrade
A lightweight, safe player-to-player trading plugin. No config, no dependencies, no commands to memorize — just shift + right-click another player to start a trade.
Features
- Shift + right-click to trade — intuitive, no commands required to send a request.
- Clickable accept / deny — the target gets a chat message with [ACCEPT] and [DENY] buttons.
- Shared trade GUI — both players open the same window, see each other's offers update live.
- Confirm-to-trade — both players must click their wool button to seal the deal; any item change resets confirmations so you can't be tricked at the last second.
- Dupe-proof — players can only modify their own side, double-click collect is blocked, drags and number-key swaps are validated.
- Safe cancellation — closing the GUI returns all items to their owners. Same for disconnects and server reloads.
- Inventory overflow handling — if your inventory fills up during the swap, leftover items drop at your feet instead of being lost.
- Cooldowns — 5s between requests, 30s request expiration to prevent spam.
- Built-in update checker — async check against SpigotMC on startup; ops are notified in-game when a new version is out.
How to use
- Walk up to the player you want to trade with.
- Hold Shift and right-click them.
- They get a clickable chat prompt — click [ACCEPT] or use /tradeaccept <name>.
- Both players' inventories open. Place items on your side (left for the requester, right for the recipient).
- Click your red wool button to confirm. When both buttons turn lime, the trade completes automatically.
- Want to back out? Just close the GUI — items are returned.
Commands
- /tradeaccept [player] — accept a pending trade request (alias: /taccept)
- /tradedeny [player] — deny a pending trade request (alias: /tdeny)
If only one request is pending, the player argument is optional.
Permissions
- playertrade.update (default: op) — receive a chat notification when a new version is available on SpigotMC.
Trading itself requires no permission — it works for every player out of the box.
Installation
- Download the latest PlayerTrade.jar from the Downloads tab.
- Drop it into your server's /plugins folder.
- Restart (or /reload) your server.
- Done — no configuration required.
Support
Found a bug or have a feature request? Open a discussion on the resource page.