expTrade

expTrade

Trade XP levels with other players via commands. Send offers or requests, accept or decline with clickable chat buttons. Accurate per-level XP math ensures fair transfers. Includes admin controls and per-player thresholds.

612 downloads 0 followers

๐Ÿ’ฑ expTrade

Trade XP between players

Fabric NeoForge

Download on CurseForge Discord GitHub

Minecraft 26.x & 1.21.x Single Player & Server Fabric API required on Fabric MIT License


Ever finished a mob grinder with 40 spare levels while a friend is scraping to enchant their first pickaxe? expTrade lets players hand XP back and forth like any other resource โ€” give it, ask for it, and confirm the exchange through a clean chest-GUI queue. No dropping bottles o' enchanting on the floor, no trust games: every transfer is explicit, previewed before it happens, and time-boxed so stale offers clean themselves up.

๐Ÿ†• New in 1.3.2: one jar now runs on every Minecraft 26.x release โ€” 26.1, 26.1.1, 26.1.2, 26.2 and 26.3.

It's fully server-side โ€” a vanilla client can join a modded server and it just works. Runs in single-player too. No new blocks, no new items, no library mods: just /exptrade and a virtual chest menu built from vanilla items.

Why expTrade?

expTrade
๐Ÿ’ฑ Direction Give XP away or request it โ€” the other player always confirms
๐Ÿ“Š Units Whole levels, exact raw XP, or all โ€” the mod does the curve math
๐Ÿ“ฆ Queue A live chest-GUI queue with per-player TTL and countdown clocks
๐Ÿ›ก๏ธ Safety Personal level thresholds + re-validation at the moment of accept
๐ŸŽ’ Client Server-side only โ€” vanilla clients connect and play as normal

โœจ Key features

  • ๐Ÿ’ฑ Give or request, either direction. Push your own XP to someone with give, or ask them for some with request. The other player always gets the final say.
  • ๐Ÿ“Š Levels or raw XP. Trade a round number of levels or an exact raw XP amount โ€” or all to empty your bar in one go. The mod does the vanilla XP-curve math for you.
  • ๐Ÿ“ฆ A live chest-GUI queue. /exptrade pending opens a virtual chest showing every incoming offer as its own row: a clock ticking down the time left, the sender's player head, an offer/request marker, a details page, and one-click Accept / Decline buttons.
  • โณ Per-player queue with TTL. Each player has their own incoming queue (default cap 10). Offers expire automatically after a timeout (default 60s), notifying both sides โ€” nothing lingers forever.
  • ๐Ÿ›ก๏ธ Threshold protection. Set a personal level floor with /exptrade threshold and the mod refuses any trade that would drop you below it โ€” great insurance against fat-fingering give โ€ฆ all.
  • ๐Ÿ” Balance preview before you commit. Every offer shows a before โ†’ after readout of both players' levels and XP, so nobody agrees blind.
  • ๐Ÿ–ฑ๏ธ Clickable chat controls. Offers come with [View Queue], [Cancel], and (for admins) [Confirm] / [Cancel] buttons wired straight to the commands.
  • โœ… Double-checked at execution. Amounts are validated when the offer is made and re-validated the instant it's accepted โ€” if the giver spent their XP in the meantime, the trade fails cleanly instead of going negative.
  • ๐Ÿ› ๏ธ Admin transfers. Operators can move XP between any two online players with a two-step confirm, bypassing thresholds โ€” handy for events, refunds, and prizes.
  • ๐Ÿ”’ No item risk. The GUI slots are display-only; you can't pull items out or drop your own in. The only interactive slots are Accept and Decline.

โŒจ๏ธ Commands

Everything lives under /exptrade. <player> targets are online players; amounts are positive integers, or the literal all to move your entire bar.

Command What it does
/exptrade give <player> levels <amount> Offer that many levels to a player
/exptrade give <player> levels all Offer all your XP (expressed as levels)
/exptrade give <player> exp <amount> Offer that many points of raw XP
/exptrade give <player> exp all Offer all your raw XP
/exptrade request <player> levels <amount> Ask a player for that many levels (converted to raw XP at your level)
/exptrade request <player> levels all Ask a player for all their XP
/exptrade request <player> exp <amount> Ask a player for that much raw XP
/exptrade request <player> exp all Ask a player for all their XP
/exptrade accept [<player>] Accept the first offer in your queue โ€” or the one from a specific <player>
/exptrade decline [<player>] Decline the first offer โ€” or the one from a specific <player>
/exptrade cancel Cancel your own outgoing offer
/exptrade pending Open the chest-GUI trade queue
/exptrade threshold <levels> Set your personal minimum level floor (0 = no floor)

Admin commands

Require operator / gamemaster-level permission.

Command What it does
/exptrade admin transfer <from> <to> levels|exp <amount> Stage an XP transfer between two players (bypasses thresholds)
/exptrade admin transfer <from> <to> levels|exp all Stage a transfer of all the source player's XP
/exptrade admin confirm Confirm your staged transfer
/exptrade admin cancel Discard your staged transfer
/exptrade config timeout <seconds> Set the offer timeout (10โ€“300s) and save
/exptrade config maxqueue <size> Set the per-player queue cap (1โ€“50) and save
/exptrade config reload Reload the config file from disk

โš™๏ธ Configuration

Settings live in config/exptrade.json (created on first launch). Both values are also editable live in-game via /exptrade config โ€ฆ, which writes the file for you; /exptrade config reload re-reads it from disk.

Key Default Range Meaning
timeoutSeconds 60 10โ€“300 How long a pending offer stays in the queue before it auto-expires
maxQueueSize 10 1โ€“50 Maximum number of pending offers a single player can have waiting at once

Per-player thresholds set with /exptrade threshold are stored separately in config/exptrade/playerdata.json and persist across restarts.

โœ… Compatibility

Loaders Fabric and NeoForge โ€” one jar
Minecraft 26.1 โ€“ 26.3 โ€” one jar, v1.3.2 ยท 1.21.11 and 1.21.9 โ€“ 1.21.10 โ€” v1.3.0
Fabric API Required on Fabric ยท not needed on NeoForge
Side Server-side โ€” vanilla clients supported, single-player too
Extra libraries None โ€” standalone

Enjoying it? Hop in the Discord ยท โญ the repo ยท explore the rest of Lunixia's Minecraft QOL Mods

โ›๏ธ Small, focused mods that cut out the boring stuff.

No gallery available for this project.

Version Minecraft Loader Download

1.3.2

26.1, 26.1.1, 26.1.2, 26.2, 26.3
fabric, neoforge
Download

expTrade 1.3.1

1.3.1

26.2
fabric, neoforge
Download

expTrade 1.3.1

1.3.1

26.1, 26.1.1, 26.1.2
fabric, neoforge
Download

expTrade 1.3.0

1.3.0

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
bukkit, paper, purpur, spigot
Download

expTrade 1.3.0

1.3.0

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
fabric, neoforge
Download