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 Dec 23, 2012@vincent01230
Could you post the entire error message please? That's just the top.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Tux2
Hello >2012-12-23 19:21:41 [SEVERE] Could not pass event PlayerChangedWorldEvent to MultiInv v3.2.4 org.bukkit.event.EventException
:/ i have bukkit 1.4.5 R0-3
-
View User Profile
-
Send Message
Posted Dec 23, 2012@spathizilla
hmh... Thats not sounds good...
Hope he can fix it :D
Update: My Members tell me, that the names dont save on armors and weapons...
-
View User Profile
-
Send Message
Posted Dec 23, 2012@theask
He knows, its because he didn't have the info on NBT data storage needed for fireworks.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Tux2
Colors of Rockets gone away after relock... Can you help? :D
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Hodong
You're using an older version of MultiInv. You didn't even look at the changelog of 3.2.4, did you?
-
View User Profile
-
Send Message
Posted Dec 22, 20122012-12-22 18:59:08 [SEVERE] Could not pass event PlayerChangedWorldEvent to MultiInv v3.2.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_5.ServerConfigurationManagerAbstract.moveToWorld(ServerConfigurationManagerAbstract.java:413) at org.bukkit.craftbukkit.v1_4_5.entity.CraftPlayer.teleport(CraftPlayer.java:387) at org.bukkit.craftbukkit.v1_4_5.entity.CraftEntity.teleport(CraftEntity.java:188) at com.webkonsept.bukkit.konseptgate.KGPlayerTeleport.run(KGPlayerTeleport.java:32) at org.bukkit.craftbukkit.v1_4_5.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_5.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:529) at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.NullPointerException at uk.co.tggl.pluckerpluck.multiinv.player.MIPlayer.loadEnderchestInventory(MIPlayer.java:81) at uk.co.tggl.pluckerpluck.multiinv.listener.MIPlayerListener.loadEnderchestState(MIPlayerListener.java:243) at uk.co.tggl.pluckerpluck.multiinv.listener.MIPlayerListener.onPlayerChangedWorld(MIPlayerListener.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more
what errrrrrrrroooooorr?!!!!!
-
View User Profile
-
Send Message
Posted Dec 22, 2012@Tux2
Well it started as being the only multi world inventory plugin, then I stuck with it when WorldInventories came out because I decided to make my own build of MultiInv for enchantments and I just liked MultiInv more.
The rewrite made things a lot better although the inventory storage conversion caused me many headaches.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@spathizilla
This is a known bug. I didn't have a craftbukkit build with support for the NBT data in the new items, so it didn't get included. Besides, it would cause CDNF errors in MultiInv for the older versions. I've got the version for 1.4.5-R1.0 stable, so now I'm going to work on getting the meta data for the stuff added in 1.4.6 added in the new versions of MultiInv. Also quite nice knowing the author of CreatureBox uses MultiInv. :D
-
View User Profile
-
Send Message
Posted Dec 21, 2012Seems Fireworks lose their NBT data when teleporting to a new world with a different inventory group or switching gamemode (with separated inventory).
Reproduction Steps: 1. Create any firework with any pattern (obviously not a raw rocket) 2. Put firework in inventory (or in hand) 3. Go to a world with a different inventory group 4. Return to original world 5. Notice the firework has reverted to the default id401 item.
Tested with MultiInv 3 build 98 and TuxTwoLib v1.4.6-b2 on Spigot 349
-
View User Profile
-
Send Message
Posted Dec 21, 2012@LEOcab
Excellent! Very glad to hear that.
@Rmarmorstein
I might be tempted to add that support through vault, although it will be optional.
-
View User Profile
-
Send Message
Posted Dec 21, 2012Is it possible to maybe add separated economys? that would be a huge help to me, and others i am sure.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Tux2 My server is now hrunning appily on 1.4.6, all thanks to you. The conversion process went smoothly. Thank you VERY much, Tux2. :'D
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Tux2
I just used the tuxtwolib and it fixed it :D thanks for the plugin!
-
View User Profile
-
Send Message
Posted Dec 21, 2012@niallkb
Was there an error in your server.log? Also, are you updated to the newest version with the TuxTwoLib?
-
View User Profile
-
Send Message
Posted Dec 21, 2012Hey tux, your plugin is great but it doesn't seem to work for me on the 1.4.6 dev build :) the plugin doesn't show in the plugins list D:
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Tux2 Omg YES! I didn't realize it was working in the background, haha. You're awesome, dude! I'm trying it out now then I'll update it to 1.4.6 and tell you how it goes. :)
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Tux2
Hmmm, yea that's not it. Just sometimes they randomly just die. Very odd, i figured it could have been something to do with MultiInv just because of the fact their inventory duplicated.
Thanks for your help.
EDIT: Its probably worth noting that I'm running the Dev Builds of Bukkit (1.4.6)
-
View User Profile
-
Send Message
Posted Dec 21, 2012@ViscousSummer88
Unless they are dying when they enter a world, It's definitely not MultiInv.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@LEOcab
If you have quite a few players, it may take quite a while. I've added a line where it will print out the name of the player and the group it is importing at the moment in this build if you want to see progress: http://build.yu8.me:8080/job/MultiInv3/98/