HomeJavaModsInvLink
InvLink
InvLink — screenshot 1InvLink — screenshot 2

InventoryLink banner

InventoryLink

Link two player inventories — live — with an opt-in request/accept flow and strong safeguards. Designed for PaperMC 1.21.x and Java 21.

⚠️ Irreversible: When a link is accepted, the accepting player’s current inventory is cleared and replaced with the requester’s. This cannot be undone. Linking to unknown players is not recommended.


✅ Supported Platforms & Requirements


✨ Features


🧩 Bedrock Use Case (Java ↔ Bedrock)

If your server supports Bedrock via GeyserMC + Floodgate, a Java player can link their own Bedrock account:

This is ideal for players who switch between Java and Bedrock and want a single, shared inventory.


📦 Commands

Permissions


⚙️ Configuration (plugins/InventoryLink/config.yml)

live-sync: true                 # Allow both linked players online & mirror live
sync-debounce-ms: 200           # Debounce mirroring to avoid loops
kick-message: "&cYour linked partner is already online. Live sync is disabled on this server."

clear-on-death: true            # Also clears partner on death; offline partners clear on next join

request-timeout-seconds: 60     # Expire pending /link requests
block-command-while-linked: true

messages:
  already-linked: "&cYou are already inventory-linked and cannot use /link."
  target-already-linked: "&cThat player is already inventory-linked and cannot accept new links."
  request-expired: "&cThat link request has expired. Please send a new one."
  request-sent: "&aLink request sent to %target%."
  request-received: "&e%sender% wants to link inventories with you. &cAccepting will CLEAR your current inventory and cannot be undone. Linking to unknown players is not a good idea."
  accept-hint: "&aType /link accept %sender%  or  /link deny %sender%"
  accepted: "&aYou are now linked with %other%. Inventories are now synced."
  denied: "&eYou denied the link request from %other%."
  partner-join-kick: "&cYour linked partner is already online. Live sync is disabled on this server."
  reloaded: "&aInventoryLink config reloaded."
  pending-cleared-on-join: "&eYour inventory was cleared due to your partner's recent death."

🧭 How it Works

  1. Request: /link <player> — Target receives warnings + accept/deny instructions.
  2. Accept: The accepting player’s current inventory is cleared and replaced with the requester’s.
  3. Live Sync (optional): With live-sync: true, both inventories mirror in real-time.
  4. Death Sync: On death, partner is cleared (immediately if online, or on next join).

📥 Installation

  1. Drop the plugin jar into plugins/ on a Paper 1.21.x server.
  2. Start the server to generate the config.
  3. Edit plugins/InventoryLink/config.yml.
  4. Apply changes with /inventorylink reload or restart.

🔒 Safety Notes


📄 License

MIT — keep the license and don’t hold the author liable. Contributions welcome.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more