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 Mar 18, 2015@CharelDoesMC
Where did you find 1.8.3 tuxtwolib? I clicked on the link and it says 1.8.1... Nvrmind...now it updated...
-
View User Profile
-
Send Message
Posted Mar 18, 2015@CharelDoesMC
World names are dependent on the folder name they are in. As far as the error goes, please try build #54 from the build server to see if it solves your issues.
-
View User Profile
-
Send Message
Posted Mar 18, 2015@Tux2
Great work! But after getting tuxtwolib 1.8.3 and the newest multiinv dev, somtimes get this error when i switch worlds.
[16:18:46 WARN]: [MultiInv] Task #28 for MultiInv v3.3.2-dev generated an except
ion
java.lang.IllegalArgumentException Item cannot be null
at org.apache.commons.lang.Validate.noNullElements(Validate.java:364) ~[
spigot.jar:git-Spigot-26dfd01-5cb9b70]
at org.bukkit.craftbukkit.v1_8_R2.inventory.CraftInventory.addItem(Craft
Inventory.java:265 ~[spigot.jar:git-Spigot-26dfd01-5cb9b70]
at Tux2.TuxTwoLib.TuxTwoInventoryPlayer.addItem(TuxTwoInventoryPlayer.ja
va:61) ~[?:?]
at uk.co.tggl.pluckerpluck.multiinv.player.MIPlayerGiveCache.ExecuteStor
edInventoryChanges(MIPlayerGiveCache.java:59 ~[?:?]
at uk.co.tggl.pluckerpluck.multiinv.inventory.PlayerRestrictionRemoverTh
read.run(PlayerRestrictionRemoverThread.java:41) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftTask.run(CraftTask.java
:71) ~[spigot.jar:git-Spigot-26dfd01-5cb9b70]
at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftScheduler.mainThreadHea
rtbeat(CraftScheduler.java:350 [spigot.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7
18) [spigot.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3
68) [spigot.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6
51) [spigot.jar:git-Spigot-26dfd01-5cb9b70]
at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
:554) [spigot.jar:git-Spigot-26dfd01-5cb9b70]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_31]
also, sometimes my inventories dont switch even though i made these groups:
Factions:
- Tree
- tree_nether
- tree_the_end
Vanilla:
- Survival
- survival_nether
- survival_the_end
Lobby:
- Hub
- hub_nether
- hub_the_end
(are worlds case-sentitive? If they are I'm not sure if i put the first letter capital (time to open NBT Explorer :P)
-
View User Profile
-
Send Message
Posted Mar 18, 2015Nice! So build #53 will be the next release?
-
View User Profile
-
Send Message
Posted Mar 18, 2015@Bronzeteufel
This should fix that as well, let me know if the problem still persists or if new bugs crop up.
-
View User Profile
-
Send Message
Posted Mar 18, 2015Nice work, Tux! Nice to read. Is there also a fix for loosing/swapping enderchests?
-
View User Profile
-
Send Message
Posted Mar 17, 2015Hey everyone! I've been working hard to squash the dupe bugs, etc., in the plugin when quick switching between worlds and I think I've fixed it. However, it requires a new version of TuxTwoLib and since Bukkit Dev approvers are notorious at denying older versions of a plugin when a newer one is in the queue since I have to have a different version per Bukkit version it's going to take about a day for me to get all the versions from 1.7.9 to 1.8.3 uploaded and approved. Please be patient as I do this. Also, be aware that although I do have the newer MultiInv compiled on my Jenkins it won't work quite right without the appropriate TuxTwoLib. You will need TuxTwoLib with at least the build number of 4 for it to work properly.
-
View User Profile
-
Send Message
Posted Mar 16, 2015@TNTUP
Nothing significant has changed between version 3.3.0 and 3.3.1 which would have caused inventory duping if you didn't change your settings. I checked the change log of ALL the commits. Take a look for yourself: https://github.com/Pluckerpluck/MultiInv/compare/f04f2fd22f041024d49bc03e29006cc5f08b580f...75568620c1ddfdb2806e56d68e90ee63c47403e7
-
View User Profile
-
Send Message
Posted Mar 10, 2015@IrParadox
lol, how irrelevant? The only plugin which manages inter-world inventories is MultiInv. I use minigame(s) plugins which manages inventory such as MobArena, BlockHunt, Minigames, PaintWar, ColorShuffle and TNTRun. Those plugins aren't in use so it shouldn't happen if inventory loss bug or if theres someone in a minigame and it causes others having inventory loss?
In MultiInv, I've did groups, so minigames, survival, creative and skyblock...
Got alot of reports when a player goes in the minigame world, and notice they lose their stuff. I don't know how why it happens.
@IrParadox
I hope this plugin will be safe (no inventory loss bug)
-
View User Profile
-
Send Message
Posted Mar 5, 2015@IrParadox
If I don't force players to go to spawn, on a Factions server, players can easily find out oder offline player's coordinates and get to their hidden bases. The inventory losses produced when multiinv is active may have something to do whith authme, But spawn on login is not the issue.
It may also have something to do whith Multiworld, but how could that be, when Multiworld even advises the usage of Multiinv alongside whith iself, for inventory separation purposes?
-
View User Profile
-
Send Message
Posted Mar 4, 2015@TNTUP
Tnt, this is irrelevant. MultiInv is working. It is another plugin that is conflicting here.
@MasterMithrandir
When using authme, You should not force players to go to spawn on login. They will occasionally tp to fast and cause the inventory loss. Also MultiWorld has an issue with losing inventory when going from creative to survival as it does handle this feature as well. It also does not seem to help by disabling it.
Plain and simply, MultiInv is functioning fine. It is not this plugin that is causing the issues. It is within a number of other plugins that don't want to play nice with MultiInv. If you are still losing inventories, play with your configs and consider replacing MultiWorld if using it.
-
View User Profile
-
Send Message
Posted Mar 4, 2015@MacScooby
I am not sure as I just started using this plugin but I my case I believe "exampleGroup" corresponds to world. As I have nobody on the server and tested the main world in creative and survival and I have to UUIDs in exampleGroup. I hope this helps. I would say place a copy of your world UUIDs into it. Make backups first, and I am running on 1.8.1 MC
-
View User Profile
-
Send Message
Posted Mar 3, 2015This plugin has been working flawlessly for at least a month now. Until today, No changes to the server have been made, but I did notice that the logoutworld.yml has begun to save last world as a groupname instead of the world name. And as there are no worlds with the same groupname, of course it doesn't know the inventory to load. Have I missed something. I hate to post about something obvious. Thank you so much for such a useful plugin!
-
View User Profile
-
Send Message
Posted Mar 2, 2015@MasterMithrandir
me too my version is 1.7.10 ,and my server both have multiworld adn multiverse ,sometimes inventories are lost during change gamemode
-
View User Profile
-
Send Message
Posted Mar 1, 2015@MasterMithrandir
Yes, we all are...
-
View User Profile
-
Send Message
Posted Mar 1, 2015My server is 1.8, but It doesn't use multiverse, I use multiworld, and also authme.
My issue is that inventories sometimes don't get separated. (Sometimes they do.) Sometimes inventories are lost during separation.
Anyone else having the same issues whith or without the plugins I mention?
-
View User Profile
-
Send Message
Posted Mar 1, 2015I haven't noticed any issues with multiinv since I updated my server to 1.8 at 18th Jan. Here is the most relevant plugin versions I'm running: http://pastebin.com/VNX8E9hu
-
View User Profile
-
Send Message
Posted Feb 28, 2015I hope its quick Tux2, because Im getting daily reports about inventory loss.... this is critical.. I would even pay for a ASAP fix
-
View User Profile
-
Send Message
Posted Feb 27, 2015@EDSman11
Not stable. Very not. Use it at your own risk.
-
View User Profile
-
Send Message
Posted Feb 26, 2015Item names sent to DB needs updating.