Compatibility
Minecraft: Java Edition
1.21.11
Platforms
Supported environments
Server-side
Singleplayer
Tags
Creators
Details
Licensed MIT
Published 2 months ago
Trade
A server-side Fabric mod for Minecraft 1.21.x that lets players trade items with each other using a custom GUI — no client mod required.
Usage
/trade <player>
- Run the command to send a trade request
- The target player runs the same command back to accept
- Both players get a chest GUI to place their offered items
- Both must click Accept for the trade to go through
- Either player can close the chest or click Cancel at any time
GUI Layout
- Left 4×3 grid — your offered items (12 slots)
- Right 4×3 grid — their offered items (read-only display)
- ✔ Accept — click to accept the trade (turns green when accepted)
- ✗ Cancel — click to cancel and return all items
Features
- Server-side only — works with vanilla clients
- No custom registry entries — uses a vanilla chest container
- Ghost item prevention — locked slots are fully protected against client mods (inventory sorters, Mouse Wheelie, etc.)
Requirements
- Minecraft 1.21.11
- Fabric Loader 0.18.6+
- Fabric API

