Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published 19 hours ago
Updated 3 weeks ago
TradePlugin
A secure player-to-player trade plugin for Paper 1.21+.
Trade items safely through an 8-item GUI with both-side accept confirmation. No item moves until both players lock in — no scams, no dropped items, no disputes.
Features
- 8-item trade GUI — request, accept, decline, or cancel a trade from a clean two-sided interface
- Both-side lock-in — items only change hands once both players confirm; either side can back out until then
- Anti-scam safety — trades are cancelled automatically if a player moves too far away, changes worlds, or disconnects
- Full trade history — every completed trade is logged with a searchable admin history
- Distance and world checks — optionally require both players in the same world, or within a configurable distance
- Creative-mode block — optionally block trading while either player is in Creative, closing an easy dupe vector
- Configurable request timeout — pending trade requests expire automatically (default 60 seconds)
Commands
| Command | Description |
|---|---|
/trade <player> |
Send a trade request to another player |
/trade accept [player] |
Accept a pending trade request |
/trade decline [player] |
Decline a pending trade request |
/trade cancel |
Cancel your active trade or pending request |
Alias: /tr
Admin — requires tradeplugin.admin
| Command | Description |
|---|---|
/tradeadmin history [player] [page] |
View trade history, optionally filtered by player |
/tradeadmin info <id> |
View full detail on one trade record |
/tradeadmin toggle |
Enable or disable trading server-wide |
/tradeadmin set <key> <value> |
Change a config value live |
/tradeadmin reload |
Reload the configuration |
/tradeadmin purge <days> |
Delete history older than the given number of days |
/tradeadmin list |
List currently active trades |
Alias: /tradmin
Permissions
| Permission | Default | Description |
|---|---|---|
tradeplugin.use |
true |
Request, accept, decline, and cancel trades |
tradeplugin.admin |
op |
Full admin access — history, toggle, set, reload, purge |
tradeplugin.* |
op |
Grants both of the above |
Configuration highlights
settings.enabled— master switch for the entire pluginsettings.request-timeout-seconds— how long a pending request lives before auto-expiringsettings.max-items-per-side— item slots per side (1–16)settings.require-same-world/settings.distance-limit-blocks— location restrictions on tradingsettings.block-creative— block trades while either player is in Creative modehistory.max-records— cap on stored trade history (-1for unlimited)
All player-facing messages use MiniMessage formatting and are fully configurable.
Setup
- Drop
TradePlugin.jarinto your server'splugins/folder. - Restart the server.
- Tweak
config.ymlto taste, then/tradeadmin reload.
Requirements & compatibility
- Server: Paper 1.21+ (Purpur works).
- Java: 21 or newer.
- No external dependencies required.
TradePlugin is open-source and MIT-licensed.


