Inventory gets messed up with DungeonsXL and Multiverse.
ZadronZSX opened this issue · 8 comments
Whenever a player with their spell inventory/hotbar open enters an instanced DungeonsXL dungeon or gets teleported to another world at all, their inventory gets replaced with spell icon items. For now I had to put signs everywhere on the server telling everyone not to go to other worlds or go through any portals while their spell hotbar/inventory is open. Doing so also does swaps multiverse inventories sometimes. Sorry for the low res video, my graphics card died a few months ago so I am forced to record using integrated graphics.
There is a fix for the world changing, try /mconfig configure config close_wand_on_world_change: true
However for any sort of plugin issue there will not be a fix unless I integrate with DungeonsXL or they integrate with Magic. Unless the issue is strictly the world change and Multiverse and nothing specific to going into a dungeon.
If you need to, you can set wands to chest mode with /mconfig configure wand wand mode chest
That doesn't fix it. Please look into integration with Multiverse Inventories and DungeonsXL whenever you have time. Thank you Nathan!
Did that not even fix the issue with changing worlds? If so something may be wrong. That option was specifically meant for dealing with Multiverse and other per-world-inventory plugins.
Strange, does the TNT plugin do anything weird with the inventory?
Magic always has problems with plugins that wand to modify your inventory, put a GUI directly in it, save it and clear it, that kind of thing. I can't imagine what a TNT plugin would be doing like that though?
MVInventories is not a huge surprise given what it does, but the option to close wands when switching worlds is meant to fix that. I have no thad a chance to try it out myself.
Same happends to me. In this case is with a TNT plugin.
Not sure if this helps but ...
I noticed as well it happens only if you have the wand 'opened'.
In this case you lose everything you had and you get the spells as "items"
If you have the wand on the task bar, but you have sometjing else selected it works fine.
Yes, you are right -> both TNT and BedWars plugins I have are changing some hotbar items with GUI ones at join.
And when I am joining any of them with the 'open' wand this inventory "confusion" happens.
I know you dont have that much time .. but just in case :) .. here are the 2 plugins:
https://www.spigotmc.org/resources/screaming-bedwars-1-9-1-16.63714/
https://www.spigotmc.org/resources/tntrun_reloaded-tntrun-for-1-13-1-16.53359/
Ah that makes sense then :(
I can look and see if there’s some way I can integrate, but unless they fire an event whenever they’re about to swap out the inventory it’s going to be problematic.
An alternative is to use the spellbook, or switch wands to chest modes- there are ways to cast spells that don’t involve storing the the survival inventory.
I’d love to re-work Magic at some point to use pure packets for the spell inventory, but there are various problems with that approach.