MultiInv
What is MultiInv
MultiInv is a plugin that gives players a separate inventory for every different world running on the server. You can share inventories over chosen worlds and some players can be ignored entirely. With this power it is possible to have multiple worlds running on one server, but keeping them totally segregated from one another.
MultiInv can also separate health over certain worlds allowing for total separations of a world on a server.
If MultiInv refuses to work and you can't change inventories, it's because you have the wrong version of the TuxTwoLib or forgot to deny yourself the permission multiinv.exempt!
Update for UUIDs and 1.7.9 (there will be no support for 1.7.8 or below due to game breaking bugs) are here! Download will be available as soon as Bukkit Dev approves it.
MultiInv and MobArena are currently not compatible! Make sure users can only join a mob arena from the same world group!
Starting with MultiInv 3.2.1 we now require the library TuxTwoLib to maintain compatibility across various minecraft versions
Video Tutorial
Features
- Separate world inventories
- Create groups of worlds where the inventory is shared between them
- Separates XP, food, health, potion effects, and EnderChest inventory per world/group of worlds.
- Option to ignore certain players completely (permissions based)
- Can import Multiverse-Inventories/WorldInventories saved inventories.
- Option to use mySQL instead of flat files.
Forums/Problems
The forums for this plugin (at the top of the page) are the best place to go if you have any questions that aren't just general comments (such as "I hat you" or "I love you"). There I can see which problems have been replied too and who still needs help.
Using MultiInv with BungeeCord
Since BungeeCord requires servers to be in offline mode it's sometimes hard to acquire a reliable UUID if Spigot/BungeeCord isn't configured correctly. Here are the settings you will need to change:
In the BungeeCord config.yml make sure ip_forward is set to true
On the server in the spigot.yml make sure bungeecord is set to true
By setting these two options BungeeCord will be able to pass the correct UUID to the servers. Please note that if you are sharing inventories across multiple servers that this feature is still in beta and may not always work.
Commands
- /multiinv reload - Reloads config files.
- /multiinv import - Imports flat files into a mysql database.
- /multiinv mvimport - Imports Multiverse-Inventories into MultiInv, with the database that you have selected. (You will need to have the Multiverse-Inventories plugin installed when doing the import, just make sure to remove it afterwards)
- /multiinv miimport - Imports WorldInventories into MultiInv.
- /multiinv mcimport - Import Minecraft player files into MultiInv. (Only useful when you've got existing player data and you are enabling the SaveInventoryOnQuit option)
- /multiinv mcexport - Exports MultiInv player data for the default world into the default world in Minecraft format.
Permissions
- multiinv.reload - Permission to use the reload command
- multiinv.import - Permission to use the import command
- multiinv.mvimport - Permission to use the mvimport command
- multiinv.mcimport - Permission to use the mcimport command
- multiinv.mcexport - Permission to use the mcexport command
- multiinv.exempt - Exempts player from inventory switch (If your inventory is not changing, deny yourself this permission in your permissions manager!!!!)
Configuration
^That's a link up there
Updating from MultiInv 2.x to 3.x
- Delete your old config.yml file in the plugins/MultiInv directory
- Start the server with the new plugin
- Rename the Worlds folder to Groups under the plugins/MultiInv directory.
- Rename shares.yml to groups.yml
- Cut the creativeGroups section out of groups.yml and paste it at the end of config.yml
- Edit the config.yml to your prefrences
- do: /multiinv reload
- If you are moving to the mysql database do: /multiinv import
- You're done, enjoy!
Links
When, Where, and How are the Inventories Saved?
Old forum page (Includes old version links)
Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Jenkins Dev Builds
Source Code
Please note, that while I (Tux2) am maintaining this plugin you must file bug reports under the tickets section. If you're having a problem, try replicating it in the latest version of MultiInv as it could already be fixed! Also, if you want your problem to be addressed please make sure to include the MultiInv version, the TuxTwoLib version, your config.yml and groups.yml files contents as well, (even if it is a comment asking for help) If you do not follow these guidelines your comment may be deleted without warning!

Stats provided by Plugin Metrics
-
View User Profile
-
Send Message
Posted Jan 26, 2015@Tux2
Thanks
Multiverse import seems to work now But its pretty slow :O it would take a view days to import. I tried it on a testserver It took 8 Hours to import 9000 players
But there are still 15000 left Thats kind of a problem for me D:
-
View User Profile
-
Send Message
Posted Jan 25, 2015@Tux2
Thank you! There are no banners, as we are converting from 1.7.10 I am currently running the conversion using the latest Multiverse-inventories and build 45. It will take a while, but it certainly does something this time. It creates somehow 2 files for each player, I think. UUID.ec.yml and just UUID.yml The UUID.ec.yml is empty. Is it the idea? There also still errors in console for each player - what do they mean? http://pastebin.com/fXWQTYsr
EDIT: Judging by the number of files in Multiinv folder, approximately half of the inventories is converted (cannot yet test if it is done correctly), and half gives the error. So, again, what do those errors mean?
-
View User Profile
-
Send Message
Posted Jan 25, 2015@Grant1204
Thanks for the feedback. Please try the newest version and see if that fixes the issues.
@natallyk
How many of those had banners? Try the newest build as there are more bug fixes. Also, make sure you are using the latest version of Multiverse-Inventories from their Jenkins.
-
View User Profile
-
Send Message
Posted Jan 25, 2015@Grant1204 Could you elaborate a bit on which inventories you had to delete? Thanks!
EDIT: tried to run build 44. On import from multiverse I am getting a bunch of errors and nothing gets converted. Errors are like this - only for all 100k+ players http://pastebin.com/Q5iequXt
Spigot 1.8, online mode, Multiverse-inventories 2.5
What am I doing wrong?
-
View User Profile
-
Send Message
Posted Jan 24, 2015@drumming102
I've never gotten that far with all of my inventory files. I've maybe tried to convert files about 10 times over the past month. The entire system is extremely buggy, and takes hours when you have 14,145 players. I ran countless test runs on our beta server to try and get it to complete.
EDIT: After deleting a bunch of inventories that were not neccessary, we finally got them all synced :D
Everything seems to work now, but when it converted the files, all the world names were lowercased (breaking the groups). This was easily fixed by changing the groups.yml to include proper capitalization.
-
View User Profile
-
Send Message
Posted Jan 24, 2015@Grant1204
Does it ever even say complete?
-
View User Profile
-
Send Message
Posted Jan 24, 2015@drumming102
There's never any output. I get something like "No groups.yml, creating one." (Even if there is a groups.yml) when it starts then I just assume it's working. Until it says complete or throws an error. I refresh the directory to see how many files have been added also to see if it is done.
-
View User Profile
-
Send Message
Posted Jan 24, 2015@Grant1204
Do you get any console output as it converts or does it just look like it's sitting there?
-
View User Profile
-
Send Message
Posted Jan 24, 2015@Tux2
Build #44 is extremely slow at conversion. I left it running for 8 hours and it only converted 3,201 players' inventories. I wish there was a perm to bypass the whitelist as well; it doesn't use the current whitelist system.
EDIT: Looking through the logs, I found out that it threw an error and stopped part of the way in...
http://pastebin.com/QUYqB388
-
View User Profile
-
Send Message
Posted Jan 24, 2015Hey tux2 great work on the update.
Having an issue. Our server "Unfortunately" auto restarted during our conversion. We have updated to 3-44 from your jenkins and attempted to change the UUIDGroups back to just Groups to force it to try to reconvert. It skips all those that converted just fine but when it gets to those still needing converted it throws this. http://pastebin.com/FwNEncdT
I thought it was just us reaching our API limit but I waited 24 hrs and it's still doing it. Any ideas?
-
View User Profile
-
Send Message
Posted Jan 23, 2015The newest development build of MultiInv on the Jenkins build server now has faster conversion of players to UUID from flatfile! It also fixes the server hangs by handling conversions in a separate thread. However please note that the plugin will not allow anyone to log into the server during the conversion process to prevent inventory loss. Please test this out and let me know if there is something I need to change.
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Jenkins Dev builds: http://build.yu8.me:8080/job/MultiInv3/
-
View User Profile
-
Send Message
Posted Jan 23, 2015@Gnat008
Make sure you have the latest version of MultiVerse-Inventories before importing.
@_Mahagon
Spigot loves to do auto crash recovery. I'm investigating ways to do the import quickly, efficiently, and with no crashing in the future.
@tilen1232
I understand what you're trying to do, but no, support for a world being in two groups will not be supported as it takes quite a bit of effort, although possible it is extremely hard to do. (Yes, I've done it before in a custom plugin)
@GioboiMC
Looking at your timings report and seeing the vast improvement in timings from Multiverse-Inventories to MultiInv you still have the audacity to call the plugin inefficient?!
Yes, it seems it does have some lag when changing game modes in your timings report, however, when comparing it to Multiverse-Inventories using your timings reports it is still around 10x quicker than Multiverse-Inventories. I have poured quite a few hours into this plugin improving speed using methods such as data caching, prefetching, threads, and queued saving, which your report shows I have accomplished quite effectively as the timings reflect a much smaller footprint than the main competitor: Multiverse-Inventories.
However, I have removed some debugging from the latest development build which may have been causing some lag in that event and you are more than welcome to try it to see if it improves the timings.
-
View User Profile
-
Send Message
Posted Jan 23, 2015Yeah this plugin causes TPS lag. It's inefficient. http://timings.aikar.co/?url=9842302
-
View User Profile
-
Send Message
Posted Jan 23, 2015Hi..
Until now this plugin give me all i need but now i add to my new server drop party and mines and and some other stuff a run into one situation, I have worlds 1,2,3 and A,B,C in separate groups numbers and letters .. what I need now .. to have worlds DP and M in both groups - this is not an option at the moment because inventories get messed up..
idea how to fix this is .. plugin check doubled or more worlds like now when gives warning, and write them to temp base and then when you get in to those worlds from letters or numbers inventory is saved on temp A also add grup name and you still have inventories.. all pickups in those (DP and M world) is saved as temp B and when you leave and go to letters or numbers this saved inventory from temp B is added to your world inventory minus temp A so it is not doubled even if you come in from group letters and go out to group numbers inventories from temp B minus temp A is added to you and from temp A returned to group where you come in ..
thanks to read and my english is baddddd .. sorry .. fi you will do this I can test it for you
-
View User Profile
-
Send Message
Posted Jan 22, 2015Multiverse Inventories is causing lag upon player login. Will this plugin fix that problem? Here is the timings report: http://timings.aikar.co/?url=9822184
-
View User Profile
-
Send Message
Posted Jan 18, 2015im having the same issue with multiverse
It crashes after 100 players
Maybe it has sth todo with the uuid converter? You can convert max. 100 players in one query
-
View User Profile
-
Send Message
Posted Jan 16, 2015As soon as I try to import multiverse inventories, server stops responding :(.
Log: http://pastebin.com/iuPNW3UY TuxTwoLib: v1.7.10-b3 MultiInv: v3.3.1
-
View User Profile
-
Send Message
Posted Jan 16, 2015Hello, is MultiVerse-Inventories importing broken?
MultiInv - 3.3.2-dev and Build No. 42 from the Jenkins
TuxTwoLib - 1.8-b2
Multiverse-Inventories - 2.4-b126
config.yml - https://gist.github.com/Gnat008/799f0459da648a544199
groups.yml - https://gist.github.com/Gnat008/9add369e6eee1398a72a
Error - https://gist.github.com/Gnat008/2c68d264457b6d66d2f6
Thanks for any information!
-
View User Profile
-
Send Message
Posted Jan 16, 2015@Tux2
Thanks for the reply.
I made the latest build but still getting these errors:
http://pastie.org/9835203
http://pastie.org/9835205
-
View User Profile
-
Send Message
Posted Jan 15, 2015@Tux2
Maybe try making it run only a certain number of conversions per tick to stop the time out?
The plugin still works while it locks up, which is nice :)