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 4, 2012@PunJedi
Great news and thanks for the quick fix. Although I will need to ask, are you using 1.2.3 or 1.1 still on your server? (I'm assuming 1.2.3)
-
View User Profile
-
Send Message
Posted Mar 4, 2012Ran into the same "no share issue" I just added the world specific node multiinv.exempt for now and it seems to work fine. Await an update though, thank you :)
-
View User Profile
-
Send Message
Posted Mar 4, 2012@botskonet
The plugin is coded properly, although I can see the bug you are talking about with 2033 (I tested it against 2034 to see if that bug really showed in 1.2.3). I'd wait a day and then try the latest dev build for 1.2.3 to see if it fixes the issue as the problem is with bukkit not sending the events or something, not the plugin.
-
View User Profile
-
Send Message
Posted Mar 4, 2012Upgrading to 3.0.4 and bukkit 2033, and now inventories can be shared across all worlds as if the plugin wasn't there. The groups config hasn't changed. However, downgrading to 3.0.3 doesn't work either?
-
View User Profile
-
Send Message
Posted Mar 4, 2012Ty for updates! I love this plugin!
-
View User Profile
-
Send Message
Posted Mar 4, 2012@MarkehMe
That bug has been fixed in the latest version 3.0.4.
-
View User Profile
-
Send Message
Posted Mar 4, 2012@Warhawker
The newest build 3.0.4 should be safe to use with no problems.
-
View User Profile
-
Send Message
Posted Mar 3, 2012@Tux2
Any response to my issue?
-
View User Profile
-
Send Message
Posted Mar 3, 2012@zachoz
You can specifically deny the node for your admins by doing: -multiinv.exempt in pex, or multiinv.exempt: false in other permissions managers. I do this for several plugins on my server for my admins.
-
View User Profile
-
Send Message
Posted Mar 3, 2012can you please make it so in the config you can disable the exempt permissions nodes. It is extremely frustrating because the admins have the '*' in the permissions. We want to be able to have separate inventories as well. Please add this, my server needs this plugin.
-
View User Profile
-
Send Message
Posted Mar 3, 20122012-03-03 22:00:18 [INFO] MarkehMe [/138.130.144.90:65241] logged in with entity id 443 at ([nivCraft] 288.69999998807907, 83.0, -125.2973189012373) 2012-03-03 22:00:28 [SEVERE] Could not pass event PlayerGameModeChangeEvent to MultiInv org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441) at org.bukkit.craftbukkit.entity.CraftPlayer.setGameMode(CraftPlayer.java:509) at uk.org.whoami.authme.commands.LoginCommand.onCommand(LoginCommand.java:98) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:461) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:818) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:778) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:761) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.NullPointerException at uk.co.tggl.pluckerpluck.multiinv.listener.MIPlayerListener.onPlayerGameModeChange(MIPlayerListener.java:107) 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:301) ... 17 more 2012-03-03 22:00:28 [INFO] [AuthMe] §cMarkehMe§f logged in! 2012-03-03 22:00:30 [INFO] <[ADM] MarkehMe> zing 2012-03-03 22:00:53 [INFO] [PLAYER_COMMAND] MarkehMe: /spawn 2012-03-03 22:01:08 [INFO] [PLAYER_COMMAND] MarkehMe: /gm
And here are my plugins:
[root@m54 plugins]# ls | grep .jar AuthMe.jar ban-hammer-1.8.1.jar Buycraft.jar CFBanner.jar ChatManager.jar ChestShop.jar CleanroomGenerator.jar Deadbolt.jar EssentialsChat.jar Essentials.jar EssentialsSpawn.jar Factions.jar HawkEye.jar iConomy.jar Jobs.jar Minequery.jar Modifyworld.jar MultiInv.jar MultiVerse-Core.jar Multiverse-NetherPortals.jar Multiverse-Portals.jar NarrowtuxLib.jar NivCraftStuff.jar NoCheat.jar PermissionsEx.jar Permissions.jar Register.jar Showcase.jar SimpleRegionMarket.jar UtilityHats.jar Vault.jar WorldEdit.jar WorldGuard.jar
-
View User Profile
-
Send Message
Posted Mar 3, 2012There is no know issues? Is it safe to run 2 SURVIVAL worlds with separate inventories?
-
View User Profile
-
Send Message
Posted Mar 3, 2012@RutrPL
Rename Worlds to Groups and shares.yml to groups.yml. Just note that the creativeGroups: part has moved to the config.yml file.
-
View User Profile
-
Send Message
Posted Mar 3, 2012i have a backup form older version(shares.yml, worlds/<world>/<playerName>.yml)
now i have latest version, and bukkit 1.2
How i can restore inventores?
-
View User Profile
-
Send Message
Posted Mar 2, 2012@SamAdam1474
Yes, there will be a fix out soon for the gamemode inventory bug.
@whebzy
It should already work in 1.2
-
View User Profile
-
Send Message
Posted Mar 2, 2012Will there be an update to CraftBukkit for 1.2 (when it comes out)? Love this plugin and need it to run my server. ;)
-
View User Profile
-
Send Message
Posted Mar 2, 2012Will there be a fix soon for this gamemode inventory bug?
-
View User Profile
-
Send Message
Posted Mar 1, 2012@SamAdam1474
Yup same for me, also dont i have any mysql tables :S.
Made a ticked for that
-
View User Profile
-
Send Message
Posted Feb 29, 2012having the same issue as @scottjl
I updated to v3.0.3 and re-created the config and the separateGamemodeinventories does not work.
-
View User Profile
-
Send Message
Posted Feb 29, 2012@scottjl
Delete your config.yml file and have it auto re-created and see if it works then, could have been an error in casing or something as I didn't change any of the code that deals with that.