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 Sep 12, 2014@Tux2
I wouldn't be 100% sure on that, we have quite a few crashes due to a our mysql host going down a lot recently, but that's another problem and have never had inventory problems before. It was both unlucky that a crash happened while it was in the beta-test period, I actually trailed it on my dev server before hand with no issues, then again it never died on me! But it was a blessing as I only had to search through 17 UUID's to replace their inventory instead of resorting 10k+! So sadly this is an issue with Multiinv, Im itching to get this plugin working without issue.
Save wise, That sounds a little dangerous, Im a little confused still on when saves happen for players inventory & Ender chests/Gm change. Is everything kept in temp until a world change? Because I never did a world change while I was trialing this plugin, my player that lost his inv did at one point to the End which is in the same group as my main world. Should saves not happen every 5 mins or so anyway? And there be an inventory history & restore function just in case? Most players keep all their valuable items on them.
-
View User Profile
-
Send Message
Posted Sep 11, 2014@GodsDead
Wow, talk about unfortunate... however that would have happened with or without my plugin, as I only save/restore the inventories when you change world groups, so the duplication and wipes was actually due to Minecraft not saving the inventory before the crash, which really isn't the fault of the plugin.
-
View User Profile
-
Send Message
Posted Sep 11, 2014Hey Tux2! Massive fan of your plugins, and really happy I found this until after only a few hours of testing we noticed a players inventory was wiped, and another duplicated and anothers replaed with his GM 1 inventory.
I know without a proper log of events (Is there a way to debug?) This will be difficault, Im a new user to Multiinv, Im using the Latest Spigot 1.7.10 with the latest version of multiinv & TuxTwoLib. First I tried the multiinv without a database connection, everything seemed to work fine, so I went off for dinner. During that time the server crashed due to something else that happned, and when it came up 1 of my players at the time had his inventory wiped, He said that it showed up for a split second then wiped itself, hes a mod, but generally only has access to /ban etc. I logged on and my inv had been duplicated, I previously empted my inv into a chest, and when I came back on after the crash it has given it back to me! Now this is one majour issue, The second I think is a seperate problem, If my admin left in Gm1 when he logged on his main gm0 inventroy would be his gm1 inv when he logged back on, I think this is because I have it set up via essentials/bukkit I think to reset GM to 0 when you log in and out.
Now I tried to find a way around the inventory loss/dupe thinking mysql would solve this, so I updated to the latest Dev build just in case first, and enabled mysql, now, I kept HeidiSQL open so I could refresh the database live to see the data being stored, me and another admin's inventory was saved, but his essentails chest wasnt, and my normal/mod users inventroy wasnt saved, is this just a matter of timing?
In the end I had to restore all players that joined in that times inventory using the previous backup and remove the plugin as I had no idea what was going on and couldnt risk lossing players inventory if something happened, this was all on one world, I dont even have a second world at present.
-
View User Profile
-
Send Message
Posted Sep 8, 2014Hello,
I am using Spigot 1.7.9, installed correct TuxTwoLib, and installed the latest version of MultiInv (1.7.9 v3.3.0).
However, when trying to import Multiverse-Inventories with /multiinv mvimport it crashed and gave the following error: http://pastebin.com/H5BKrYdk
From what I see it does not find a groups.yml, I don't know why. I use GroupsManager to manage my groups and permissions.
-
View User Profile
-
Send Message
Posted Sep 6, 2014@NoahWL1
Most likely. If you have issues let me know.
@leejuly29
I'll have to take a look. Just remember that I cannot account for all the changes inside of Cauldron. For all I know it could be that cauldron doesn't support it properly.
-
View User Profile
-
Send Message
Posted Sep 6, 2014Will this work on Spigot/CB 1.8?
-
View User Profile
-
Send Message
Posted Sep 5, 2014I use MultiInv is work fine in cauldron 1.7.2. But When I use in cauldron 1.7.10. Only can change SURVIVAL and Creative Inventories. I'm tiring to set groups.yml empty. When I switch different word. The Inventories doesn't be changed. How can I solve this problem. thx. (sorry for my English)
-
View User Profile
-
Send Message
Posted Sep 5, 2014Is that ok?
-
View User Profile
-
Send Message
Posted Sep 5, 2014options:
debug: false
difficulty: NORMAL
usecreativemode: false
usecreativemodeinv: false
blockEnderChestInCrea: false
useEndPortalHandler: false
useportalhandler: false
useWorldSpawnHandler: false
useWorldChatSeperator: false
craftbukkitHooks: true
-
View User Profile
-
Send Message
Posted Sep 5, 2014Woohoo ty
-
View User Profile
-
Send Message
Posted Sep 5, 2014@NjySwifty
This plugin works with every multi-world plugin out there. However some of those plugins have built in inventory management which you will need to disable before running multiinv.
-
View User Profile
-
Send Message
Posted Sep 5, 2014Can this work with multiworld? or just mv
-
View User Profile
-
Send Message
Posted Sep 4, 2014@addexo
-
View User Profile
-
Send Message
Posted Sep 4, 2014Its not working. The inventories dont change
-
View User Profile
-
Send Message
Posted Sep 4, 2014@TNTUP
I'm not quite sure why or how it's happening. Do you have any errors in console when this happens?
@xion87
Wow, that shouldn't happen... I've removed and added groups quite a bit before and never had that happen.
-
View User Profile
-
Send Message
Posted Sep 4, 2014i removed the creative group and wipped all inventory of other groups... gonna remove this.
-
View User Profile
-
Send Message
Posted Sep 1, 2014Players reported that they lose their inventory at rare occasions!!! Ugh its happening again, forced to keep this plugin running
Spigot 1.7.10 #1611 with MultiInv 3.3.1-dev with TuxTwoLib 1.7.10-b3
-
View User Profile
-
Send Message
Posted Aug 25, 2014@FireBreath15
best way to sort out if they are lieing is /invsee from essentials but you never can be sure
-
View User Profile
-
Send Message
Posted Aug 25, 2014@FireBreath15
More likely players wanting free items!
-
View User Profile
-
Send Message
Posted Aug 24, 2014@Tux2
@Concussion909
I had the same issue with Multiverse-Inventories, so I switched to MultiInv. Still, on random occasion, a player will complain that their inventory was cleared. As the owner, I get blamed for it all. I don't think it's the separation that's causing it, it's probably something else. If anyone finds details on how to fix this, PM me. It might be the multi-world plugins we use, could be Essentials for all I know.