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 Aug 7, 201307.08 18:17:42 [Server] INFO ... 8 more 07.08 18:17:42 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 07.08 18:17:42 [Server] INFO at uk.co.tggl.pluckerpluck.multiinv.MultiInv.onCommand(MultiInv.java:163) 07.08 18:17:42 [Server] INFO at uk.co.tggl.pluckerpluck.multiinv.command.MICommand.command(MICommand.java:109) 07.08 18:17:42 [Server] INFO at com.onarandombox.multiverseinventories.WeakProfileContainer.getPlayerData(WeakProfileContainer.java:98) 07.08 18:17:42 [Server] INFO at com.onarandombox.multiverseinventories.util.data.FlatFilePlayerData.getPlayerData(FlatFilePlayerData.java:269) 07.08 18:17:42 [Server] INFO at com.onarandombox.multiverseinventories.util.data.FlatFilePlayerData.getConfigHandle(FlatFilePlayerData.java:77) 07.08 18:17:42 [Server] INFO at com.onarandombox.multiverseinventories.util.EncodedJsonConfiguration.<init>(EncodedJsonConfiguration.java:20) 07.08 18:17:42 [Server] INFO at com.onarandombox.multiverseinventories.util.JsonConfiguration.<init>(JsonConfiguration.java:184) 07.08 18:17:42 [Server] INFO at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 07.08 18:17:42 [Server] INFO at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) 07.08 18:17:42 [Server] INFO at java.io.BufferedReader.readLine(BufferedReader.java:382) 07.08 18:17:42 [Server] INFO at java.io.BufferedReader.readLine(BufferedReader.java:320) 07.08 18:17:42 [Server] INFO at java.lang.StringBuffer.toString(StringBuffer.java:561) 07.08 18:17:42 [Server] INFO at java.lang.String.<init>(String.java:203) 07.08 18:17:42 [Server] INFO at java.util.Arrays.copyOfRange(Arrays.java:2694) 07.08 18:17:42 [Server] INFO Caused by: java.lang.OutOfMemoryError: Java heap space 07.08 18:17:42 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 07.08 18:17:42 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) 07.08 18:17:42 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) 07.08 18:17:42 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:227) 07.08 18:17:42 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:262) 07.08 18:17:42 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(CraftServer.java:512) 07.08 18:17:42 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) 07.08 18:17:42 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:191) 07.08 18:17:42 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 07.08 18:17:42 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'multiinv' in plugin MultiInv v3.2.6 07.08 18:17:42 [Server] WARNING Unexpected exception while parsing console command "multiinv mvimport"
-
View User Profile
-
Send Message
Posted Aug 5, 2013I was running WorldInventories, am I able to import the WorldInventories inventories into MultiInv? If so, how?
-
View User Profile
-
Send Message
Posted Aug 1, 2013sometimes after reboot of server, first to change worlds, doesn't change inventories. Using multiverse
-
View User Profile
-
Send Message
Posted Jul 30, 2013I have had a few players concerned with the 3, 4, 5, 6 and 7 slots in their hotbar not being cleared when changing from a survival world to a creative world and back again, although it does not seem to affect all players. There are no errors shown in the console to show a log.
-
View User Profile
-
Send Message
Posted Jul 29, 2013I got this error on the latest Bukkit dev build when I did a Multiverse Config reload (/mv reload): http://pastebin.com/20vdcy5E
-
View User Profile
-
Send Message
Posted Jul 23, 2013@BearFather
Alright thanks :)
-
View User Profile
-
Send Message
Posted Jul 23, 2013@spetznack
Yes. I have it running on 1.6.2 dev version. Only issue I had was I needed java 1.7.
-
View User Profile
-
Send Message
Posted Jul 23, 2013Has anyone tried running v3.2.6 for 1.6.1 on any craftbukkit 1.6.2-R0.1 build? I will try it as soon as I can, I'm just asking if anyone got it working :)
-
View User Profile
-
Send Message
Posted Jul 21, 2013Is anyone able to compile me MultiInv with Java 1.6? My virtual server is running openSUSE 11.4 which is not able to run Java 7. Also I don't know how to compile it, because there is no description on GitHub.
-
View User Profile
-
Send Message
Posted Jul 20, 2013How does the group stuff work? Every world got its own inv but i dont that for all the worlds......
-
View User Profile
-
Send Message
Posted Jul 19, 2013@vanderfr
Yes java 1.7 was the issue. You have made my small group of players extremely happy. Sorry one the slow response first chance I've had t do it.
-
View User Profile
-
Send Message
Posted Jul 18, 2013i get an error check it out http://pastebin.com/HzRkJyFX
-
View User Profile
-
Send Message
Posted Jul 17, 2013@vanderfr
I will give this a try thank you, I will let you know.
-
View User Profile
-
Send Message
Posted Jul 16, 2013@BearFather
You should update your linux machine to java 1.7 :)
-
View User Profile
-
Send Message
Posted Jul 16, 2013Anyone got this issue? I'm not sure yet if it is caused by the fireworkstar i was carrying or it was some bug related to CrackShot. (Because the firework star is a grenade). But thats the only abnormal item i was carrying when this error started showing up. And it was gone after i cleared my inventory.
http://pastebin.com/CLCPELgi
-
View User Profile
-
Send Message
Posted Jul 14, 2013@vanderfr
Im having the same error.
http://pastebin.com/wQrdb4i7
I had this running with all the same plugins and bukkit version. I transfer it over to my linux machine and I get this error. I have tried to redownload Bukkit, MultiInv, and TuxTwoLib so many times I can't count. I'm lost, and this is the only plugin keeping me from updating the server.
-
View User Profile
-
Send Message
Posted Jul 11, 2013The 3.2.6 version has been compiled for java 7 ?
( It's do not work anymore on my hosting machine with java6 ... )
-
View User Profile
-
Send Message
Posted Jul 11, 2013@finamenon As far as the information goes, this only supports Multiverse-Inventories. /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) Though I do see that Tux2 mentioned WorldInventories, though there is no documentation on this, perhaps try /multiinv wiimport
@janie177 From the fact you said this happened upon crash, it's probably 97% likely that's what caused it. If the server ran out of memory then it's likely that the plugin could not do said changes as there was just not physically enough memory to allow it to process that inventory change. Though don't take my word on that, it just seems the obvious conclusion from what you stated. I would suggest creating a Support Ticket about it just in-case if you so wish.
@qiuMC Update to 1.5.2? 1.6.2 is out now..? If you want something that's compatiable with 1.5.2 use v3.2.5.
-
View User Profile
-
Send Message
Posted Jul 10, 2013With the lastest dev build of craftbukkit 1.6.2 (#2208) I have this error : ( with TuxTwoLib 1.6.2-b2 )
http://pastebin.com/CqeSJt2X
-
View User Profile
-
Send Message
Posted Jul 10, 2013Please Guys Update it 1.5.2! (┬_┬)