InvSwitcher-1.20.0.jar
What's new
- 🔺 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-requestsconfig 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.
✔️ BentoBox API 3.23.7+ ✔️ Paper Minecraft 26.3 ✔️ Java 25
- As always, take backups just in case. (Make a copy of everything!)
- Make sure your server runs Java 25 and BentoBox 3.23.7 or later.
- Stop the server.
- Replace the InvSwitcher jar with this one.
- Restart the server.
- Optional: add the new
game-mode-requestssection toconfig.yml(or delete the file to regenerate it). If it is missing, requests are allowed by default. - 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-requestswithallow(defaulttrue) andignore(a list of game mode names). Game modes that make requests are hooked into automatically, even if their worlds are not in theworldslist.
- 🔡 locale files may need to be regenerated or updated.
- ⚙️ config options have been removed, renamed, or added.
- 🔺 special attention needed.
[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.
[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
worldslist. - The requested options apply in those worlds only. Your
config.ymlis 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.
[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.
[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.
[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.
-
plugin.ymlnow declares a dependency on BentoBox, so Paper gives a clear message if BentoBox is missing and loads BentoBox first. -
config.ymlnow notes that any loaded world (such as a lobby or spawn world) can be listed underworlds. - SonarCloud findings fixed, new unit tests, and usage stats badges in the README.
- CodeMC URLs moved from codemc.org to codemc.io.
- docs: note that any loaded world can be listed in the worlds config by @tastybento in https://github.com/BentoBoxWorld/InvSwitcher/pull/67
- fix: close open containers on world switch, sync ender chest on close, and use Locale.US in InvEconomy by @JackStar6677-1 in https://github.com/BentoBoxWorld/InvSwitcher/pull/68
- Add usage stats badges to README by @tastybento in https://github.com/BentoBoxWorld/InvSwitcher/pull/69
- plugin.yml: depend on BentoBox by @tastybento in https://github.com/BentoBoxWorld/InvSwitcher/pull/70
- ⚙️ Team-member island switching; honor game mode option requests by @tastybento in https://github.com/BentoBoxWorld/InvSwitcher/pull/71
- 🔺 Update to Java 25, Paper 26.3 and BentoBox 3.23.7 by @tastybento in https://github.com/BentoBoxWorld/InvSwitcher/pull/72
- @JackStar6677-1 made their first contribution in https://github.com/BentoBoxWorld/InvSwitcher/pull/68
Full Changelog: https://github.com/BentoBoxWorld/InvSwitcher/compare/1.19.3...1.20.0
This mod has no additional files