Skip to content

docs: warn against running a second inventory manager - #60

Merged
tastybento merged 1 commit into
developfrom
docs/inventory-plugin-conflicts
Jul 27, 2026
Merged

docs: warn against running a second inventory manager#60
tastybento merged 1 commit into
developfrom
docs/inventory-plugin-conflicts

Conversation

@tastybento

Copy link
Copy Markdown
Member

Why

A server admin reported island inventories being wiped on every world change — get an item on the island, go to the lobby, come back, item gone. They had tested InvSwitcher 1.15.1 and 1.17.1 with identical results, and had ruled out Multiverse-Inventories because none of their BentoBox worlds were in an MV-I inventory group.

Reproduced locally against BentoBox 3.21.1 with MV-Core 5.7.3 + MV-Inventories 5.3.5. It is a plugin conflict, not an InvSwitcher bug.

What the testing showed

With MV-I loaded and the BentoBox worlds in no group, the island inventory was not lost — it was misfiled. All 8 items were written under the lobby storage key and an empty inventory under the island key. Each plugin faithfully saves a player state the other has already rewritten, so nothing is logged and it presents as data loss.

Three things admins are unlikely to work out unaided:

  1. Groups do not control involvement. MV-I wrote a per-world profile for acidisland_world while it was in no group and default-ungrouped-worlds was false. Groups control which worlds share an inventory.
  2. /mv remove does not stick. Multiverse-Core re-registers BentoBox worlds as they load. From the server log: MV-Core enabled at 19:16:29, BentoBox created the worlds at 19:16:30, worlds.yml was rewritten at 19:16:31 with all of them back. auto-import-3rd-party-worlds: false only suppresses the sweep at MV-Core startup, which runs before BentoBox creates its worlds.
  3. Operators do not get the bypass node implicitly. An op-only test failed; the same test passed once the node was granted explicitly via LuckPerms.

Granting mvinv.bypass.world.<world> (with share-handling.enable-bypass-permissions: true) fixed it — verified from a cleared database, with InvSwitcher's own store holding the correct island contents afterwards.

Changes

README-only. Adds a Do not run two inventory managers section after How to use, so it is found before an admin starts changing InvSwitcher settings that are not the cause. No code changes.

The same content is proposed for the docs site in BentoBoxWorld/docs#80.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YXnYDGiASdSUZFtNyS4jbc

Running InvSwitcher alongside Multiverse-Inventories (or PerWorldInventory,
MultiInv, etc.) makes both plugins save and restore the player on every world
change, so they overwrite each other's data. The symptom is disappearing items
with nothing logged, and it is independent of the InvSwitcher version.

Documents the Multiverse-Inventories case, including the two dead ends admins
usually hit first - inventory groups do not control whether MV-I handles a
world, and `/mv remove` is undone when Multiverse-Core re-registers the worlds
on the next restart - plus the working bypass-permission fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YXnYDGiASdSUZFtNyS4jbc
@sonarqubecloud

Copy link
Copy Markdown

@tastybento
tastybento merged commit ec8b0eb into develop Jul 27, 2026
3 checks passed
@tastybento
tastybento deleted the docs/inventory-plugin-conflicts branch July 27, 2026 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant