Inventory Switcher

Separate inventories per game mode world and per island if players have more than one. Players keep different items, XP, advancements, and gear for each BentoBox game.
Back to Files

InvSwitcher-1.20.0.jar

File nameInvSwitcher-1.20.0.jar
Uploader
tastybentotastybento
Uploaded
Dec 4, 2026
Downloads
7
Size
83.6 KB
File ID
10026803
Type
R
Release
Supported game versions
  • 26.2
  • 26.1.2
  • 26.1.1
  • 26.1
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5

What's new

Release Highlights

  • 🔺 Java 25, Paper 26.3 and BentoBox 3.23.7 — InvSwitcher now targets Java 25 and requires BentoBox 3.23.7 or later.
  • Per-island switching for team members — players who are a team member (not only the owner) of more than one island now get separate per-island inventories, advancements and other per-island data.
  • ⚙️ Game mode requests — game modes can ask InvSwitcher for the options they need in their own worlds, with no manual setup. A new game-mode-requests config section lets you turn this off or ignore specific game modes.
  • Safer world and island switching — open containers are closed before inventories are switched, and Ender Chest contents are saved as soon as the Ender Chest is closed.

Compatibility

✔️ BentoBox API 3.23.7+ ✔️ Paper Minecraft 26.3 ✔️ Java 25

Upgrading

  1. As always, take backups just in case. (Make a copy of everything!)
  2. Make sure your server runs Java 25 and BentoBox 3.23.7 or later.
  3. Stop the server.
  4. Replace the InvSwitcher jar with this one.
  5. Restart the server.
  6. Optional: add the new game-mode-requests section to config.yml (or delete the file to regenerate it). If it is missing, requests are allowed by default.
  7. You should be good to go!

🔺 Java 25 required: This version is compiled for Java 25 and will not load on Java 21. Servers still on Java 21 should stay on InvSwitcher 1.19.3.

⚙️ New config section: game-mode-requests with allow (default true) and ignore (a list of game mode names). Game modes that make requests are hooked into automatically, even if their worlds are not in the worlds list.

Legend

  • 🔡 locale files may need to be regenerated or updated.
  • ⚙️ config options have been removed, renamed, or added.
  • 🔺 special attention needed.

New Features

Per-island switching for team members

[PR #71]

Island-specific inventories, advancements and the other per-island options were only switched for an island's owner. A player who was a team member of two islands carried one set of data between them. Per-island switching now applies to any team member, so options.islands works for everyone on the island, not just the owner.

⚙️ Game mode requests

[PR #71]

A game mode can now ask InvSwitcher for the options it needs (for example, Boxed asking for per-island advancements). When it does:

  • InvSwitcher hooks into that game mode's worlds, even if they are not in the worlds list.
  • The requested options apply in those worlds only. Your config.yml is not changed and other worlds keep the configured options.
  • Only options.* can be requested — not money, the economy settings or the worlds list.
  • What was requested is logged in the console at startup.

Use game-mode-requests.allow: false to ignore all requests, or list game mode names under game-mode-requests.ignore to ignore specific ones.


Bug Fixes

Open containers closed before switching inventories

[PR #68]

If a player changed worlds, switched islands or disconnected while a chest, shulker box or Ender Chest was open, cursor items could be lost or duplicated. Open containers are now closed before the inventory is saved and switched.

Ender Chest saved on close

[PR #68]

Ender Chest contents are now saved as soon as the Ender Chest is closed in a managed world, rather than only on world change or quit, so a crash or disconnect no longer leaves a stale copy. Closing the Ender Chest as part of a world change does not copy it into the destination world.

Money formatting on non-US servers

[PR #68]

InvSwitcher's built-in economy formatted amounts using the server's locale, giving decimal commas (e.g. 1,00 Dollar) on many European and Latin American systems. Amounts are now always formatted as 1.00.


Other Improvements

  • plugin.yml now declares a dependency on BentoBox, so Paper gives a clear message if BentoBox is missing and loads BentoBox first.
  • config.yml now notes that any loaded world (such as a lobby or spawn world) can be listed under worlds.
  • SonarCloud findings fixed, new unit tests, and usage stats badges in the README.
  • CodeMC URLs moved from codemc.org to codemc.io.

What's Changed

New Contributors

Full Changelog: https://github.com/BentoBoxWorld/InvSwitcher/compare/1.19.3...1.20.0

This mod has no additional files