Closed OriginalMadman closed 11 years ago
Instances should honour Multiverse-Inventories configuration for the parent world if it is present (it should also honour the gamemode setting from Multiverse-Core).
More specifically when an instance world is created, Instances reconfigures it to share everything with the world it was created from via Multiverse-Inventories API.
Please post your server log at startup where Instances loads for example:
03:06:13 [INFO] [Instances] Enabling Instances v1.5 03:06:13 [INFO] [Instances] Loading configuration 03:06:13 [INFO] [Instances] Registering event handlers 03:06:13 [INFO] [Instances] Found Multiverse-Core, attempting to create banking interface. 03:06:13 [INFO] [Instances] Muliverse-Core banking interface loaded, using: Simple Item Economy 03:06:13 [INFO] [Instances] Found PermissionsEx, attempting to create permission interface. 03:06:13 [INFO] [Instances] Enabling support for Multiverse-Inventories 03:06:13 [INFO] [Instances] Creating world manager interface for Multiverse-Core 03:06:13 [INFO] [Instances] Creating CuboidSelection interface for WorldEdit. 03:06:13 [INFO] [Instances] Registering packet handler for no-op command block editing
Might be fixed in 1.6, if it is, please let me know and I'll close this issue.
Cannot replicate in my testing environment.
It was still there after restart this morning. This is a section of the relevant boot log. Seems like it kinda croaks on the money too. I use Fe for economy - but that error shouldn't carry over now should it?
2013-03-12 08:06:12 [INFO] [Multiverse-Portals] Enabling Multiverse-Portals v2.5-b678
2013-03-12 08:06:12 [INFO] [Multiverse-Portals] - Version 2.5-b678 Enabled - By Rigby and fernferret
2013-03-12 08:06:16 [INFO] The update-Check only work every 24 hours, the last check was 13 hours ago.
2013-03-12 08:06:32 [INFO] [MVPLogging] 94 - Portals(s) loaded
2013-03-12 08:06:32 [INFO] [Dynmap-GriefPrevention] Enabling Dynmap-GriefPrevention v0.40
2013-03-12 08:06:32 [INFO] [Dynmap-GriefPrevention] initializing
2013-03-12 08:06:32 [INFO] [Dynmap-GriefPrevention] version 0.40 is activated
2013-03-12 08:06:32 [INFO] [HomeSpawnPlus] Enabling HomeSpawnPlus v1.7.4
2013-03-12 08:06:32 [INFO] [HomeSpawnPlus] Loaded 137 locale strings (1 overrides)
2013-03-12 08:06:32 [INFO] [HomeSpawnPlus] using VAULT:PermissionsEx for permissions
2013-03-12 08:06:32 [INFO] [HomeSpawnPlus] Vault interface found and will be used for economy-related functions
2013-03-12 08:06:32 [INFO] [HomeSpawnPlus] version 1.7.4, build 695 is enabled
2013-03-12 08:06:34 [INFO] [Multiverse-Adventure] Enabling Multiverse-Adventure v2.5-b657
2013-03-12 08:06:34 [INFO] [Multiverse-Adventure] Multiverse-Portals was found.
2013-03-12 08:06:34 [INFO] [Multiverse-Adventure 2.5-b657] Enabled - By main()
2013-03-12 08:06:35 [INFO] [Multiverse-Inventories] Enabling Multiverse-Inventories v2.5-b340
2013-03-12 08:06:35 [INFO] [Multiverse-Inventories 2.5-b340] enabled.
2013-03-12 08:06:35 [INFO] [Instances] Enabling Instances v1.5
2013-03-12 08:06:35 [INFO] [Instances] Loading configuration
2013-03-12 08:06:35 [INFO] [Instances] Registering event handlers
2013-03-12 08:06:35 [INFO] [Instances] Found Multiverse-Core, attempting to create banking interface.
2013-03-12 08:06:35 [WARNING] [Instances] Error creating Multiverse-Core banking interface
java.lang.NoSuchMethodError: com.onarandombox.MultiverseCore.MultiverseCore.getBank()Lcom/fernferret/allpay/multiverse/GenericBank;
at org.cyberiantiger.minecraft.instances.unsafe.bank.MultiverseCoreBank.
Multiverse-Inventories support is broken for now.
Apparently it refuses to share an inventory for a world which Multiverse-Core does not know about, which is going to make my life a whole lot more painful.
Re. the Banking issue, you're using a version of Multiverse-Core which doesn't provide the method getBank(), Instances is built against Mutliverse-Core 2.5. Thankfully Instances catches this correctly and disables the bank support.
I've no wish to write code to support the plethora of economy plugins available for Bukkit, I will switch to using Vault by default in the near future, and leave support for Multiverse-Core as option B. (Minor note, neither of which support your economy plugin Fé)
For now instanced worlds will always fall into the default group if you are using Multiverse-Inventories, so you can work around the issue to a minor extent by configuring your main worlds into a group which is not the default. Of course instances will still share inventories with all other instances, which is probably not desirable if you wish for players to start an instance with an empty inventory.
Another reason why it might be quite helpful with that open instance being instance0 perhaps?
Fe hooks into Vault by itself, works perfectly.
I'd rather fix it properly than add a kludge that might bite me later.
Glad to hear about Fé hooking into vault, it wasn't listed as supported in the Vault plugin documentation.
Hmm, I'm using dev-builds of 2.5 from march, but they have been messing with AllPay and economy integration.
Submitted a patch to MV-Inventories to fix this issue.
Please move Vault / Economy related discussion to #13
Resolved in the latest MV-Inventories
Absolutely awesome job!
I created an instance, and pass through the gate. But I keep the inventory, although the instance is a new world - and the parent world is NOT part of the same group.
I'm coming from a world in group "survival", the parent world is not in a group - and the instance is not in anything either. The parent world has separate inventory, but not the instance.
I realize this might have been intentional (in which case I will do something differently with an intermediate world).
Again, thanks - I'm sure this will be absolutely great for the server ;)