Multiverse-Inventories
Multiverse-Inventories copied to clipboard
Unable to import from MultiInv
I'm updating to 1.14.4, and in the process migrating from using MultiInv to MV-I, as MultiInv isn't supported anymore and has stopped working.
I have MultiInv v3.3.10 running on the server (which is for MC 1.12), and the v4.4.0 of MV-I & Multiverse Core. When I run /mvi import MultiInv
, I get this:
[22:17:04 ERROR]: [Multiverse-Inventories] The running version of MultiInv is incompatible with the import feature.
[22:17:04 ERROR]: [Multiverse-Inventories] Cause: groups
Sometimes it doesn't even print that error and just does nothing.
Here's the output of /mv version
:
> mv version
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] Multiverse-Core Version: 4.0.0-b766
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] Bukkit Version: git-Paper-156 (MC: 1.14.4)
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] Multiverse Plugins Loaded: 2
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] Dumping Config Values: (version 2.9)
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] messagecooldown: 5000
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] teleportcooldown: 1000
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] worldnameprefix: false
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] worldnameprefixFormat: [%world%]%chat%
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] enforceaccess: true
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] displaypermerrors: false
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] teleportintercept: true
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] firstspawnoverride: true
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] firstspawnworld: Spawn
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] debug: 0
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Core] Special Code: FRN002
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Portals] Multiverse-Portals Version: 4.0.0-b799
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Inventories] Multiverse-Inventories Version: 3.0.0-b459
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Inventories] First Run: false
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Inventories] Using Bypass: false
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Inventories] Default Ungrouped Worlds: false
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Inventories] Using GameMode Profiles: false
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Inventories] === Groups ===
[21:45:46 INFO]: [Multiverse-Core] [Multiverse-Inventories] default: {Worlds: [world_the_end, world_nether, world], Shares: [hit_points, economy, food_level, saturation, exhaustion, xp, total_xp, lvl, inventory_contents, armor_contents, bed_spawn, maximum_air, remaining_air, fall_distance, fire_ticks, potion_effects, last_location, ender_chest, off_hand]}
I've done absolutely no set up of MV-I before this so it's the default config, assumed that it'd import all the settings from MultiInv. Thanks.
Looking into it it's because groups
was renamed in MultiInv (seven years ago). There's now a getGroups()
in the MultiInvAPI that should be being used instead.
I can open a PR to do that but I've not really got a way of testing that it won't hit another issue immediately after.
Yeah, it's likely the import is outdated as it was implemented awhile back. Feel free to open a PR and @dumptruckman will let you know if there need to be any changes.