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 19, 2012Can we get an option to split experience, like with hunger and health?
I believe this was in 2.X
-
View User Profile
-
Send Message
Posted Mar 19, 2012@Tux2
Now that you mention it, looks like it spammed over 10 thousand lines of errors in a short amount of time.
Here are 500 lines of errors within 10 seconds http://pastebin.com/UjzrjgzB
I also noticed AutoGamemode threw some exceptions at the same time your plugin did, if that's any help. Dunno if there is any confliction there.
-
View User Profile
-
Send Message
Posted Mar 19, 2012@FlukiestEmperor
@scepheus
Do you see any errors in the console? I might have to send you two debug builds to test with.
-
View User Profile
-
Send Message
Posted Mar 19, 2012@scepheus
Can confirm. I haven't experienced the problem myself, but other users on my server said they have.
-
View User Profile
-
Send Message
Posted Mar 19, 2012@Tux2
Yes, I also tried this, and nothing. Inventories completely reset upon going back to any world
I even set up MySQL for this and it still does not work.
-
View User Profile
-
Send Message
Posted Mar 18, 2012@scepheus
http://dev.bukkit.org/server-mods/multiinv/pages/configuration/
-
View User Profile
-
Send Message
Posted Mar 18, 2012Hello I am having sort of a problem here, I have a server running on 1.2.3 and I have a survival world, the nether for the survival world, and the end. I want these three worlds to share inventories like normal, when I downloaded the plugin I had to make a shares.properties file and I am not sure if it is actually working...
The server name is sanctus, therefore the main map name is named sanctus, and so on with the nether and end.
I set it up like this:
sanctus_nether = sanctus sanctus_the_end = sanctus
I am also running dimension door so that I can have a creative world and a puzzle world, just for fun. I was having trouble because I didn't want players to go into the puzzle world, die, and than lose their stuff in the survival world. (same with the creative world).
I was just testing the plugin and I picked up a dirt block in survival, got into creative world, and I had a new inventory, but then heading back to survival, my dirt block was gone.
Neeed help please :)
-
View User Profile
-
Send Message
Posted Mar 16, 2012Thanks for this wonderful Work!!! I invest hours of my time to serialize Inventory, now i found you.
Thanks!
-
View User Profile
-
Send Message
Posted Mar 14, 2012@SpikesDominion
But you CAN share inventory between worlds, just set up groups in the groups.yml file!
-
View User Profile
-
Send Message
Posted Mar 14, 2012Great Plugin :D
It's what I have been looking for! Although world sharing would help... I have my shop in my spawn world and its kinda useless now -_- Time to start building a new one
-
View User Profile
-
Send Message
Posted Mar 14, 2012@Zwoz
Are you sure you're running the newest version? do: /version MultiInv in game to check the version
Yeah, if the new world isn't in the same group their inventory WOULD be wiped. An easy solution is to put the two worlds in a group with the name of the original world
-
View User Profile
-
Send Message
Posted Mar 14, 2012@Zwoz
got this: 2012-03-14 12:35:13 [WARNING] Task of 'MultiInv' generated an exception java.lang.NullPointerException at uk.co.tggl.pluckerpluck.multiinv.listener.MIPlayerListener.savePlayerState(MIPlayerListener.java:107) at uk.co.tggl.pluckerpluck.multiinv.player.DeferredInvSwitch.run(DeferredInvSwitch.java:20) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
-
View User Profile
-
Send Message
Posted Mar 14, 2012I changed the name of the default world in server properties, after that everyones inventory was whiped, why is this?
-
View User Profile
-
Send Message
Posted Mar 13, 2012@GravelSocks
Yes it is compatible however their seems to be some issues with using it with Essentials Group manager.
-
View User Profile
-
Send Message
Posted Mar 13, 2012Is the current version compatible/functional with 1.2.3? Thx.
-
View User Profile
-
Send Message
Posted Mar 11, 2012@ViscousSummer88
Same! But also changing gamemode it won`t change..
@Tux2
That dosn`t help me.. I dont have any nodes for this plugin on "Member".. When I added GroupManager, it won`t change inventorys at all.. (Gamemode switch or world switching..) Give us the node for the inventory switch like 'multiinv.switchinv.worldchange' or 'multiinv.switchinv.gamemodechange'.. I also added the 'multiinv.exempt' node to myself and it changed nothing.. Hope its fixxed soon..
-
View User Profile
-
Send Message
Posted Mar 11, 2012Hello, im having an issue where my inventories do not change in any world... anyone else having this issue?
-
View User Profile
-
Send Message
Posted Mar 10, 2012@NNickey
You need to not have that node if you want to change, or set it to false.
-
View User Profile
-
Send Message
Posted Mar 10, 2012Help! After adding GroupManager, I noticed after changing gamemodes, it wouldn`t change my inventory. I was also switching maps but also I also still have the same Inventory.. I have deoped me, demoted me to default, and removed my username and items, and then starting changing my gamemode.. I still don`t receive any inventory changing.. I have added the 'multiinv.exempt' permission to myself, and it never changed anything..
-
View User Profile
-
Send Message
Posted Mar 10, 2012@Tux2
Well, looks like I sorted it in a strange way. Without previous knowledge about the player.yml files I took a look in them and concluded that it was saving the survival world inventories as creative mode. When I tested to set /gamemode player 1 the survival inventory showed up while /gamemode player 0 made it go away again. So I went ahead and changed separateGamemodeInventories to false, threw in all players.dat from latest backup, deleted the Groups/world folder and ran it again. This time it saved them correctly and all the survival inventories showed up on log in as it should. I then went and changed separateGamemodeInventories back to true and now it works like it should in both survival and creative world.
I'm not sure how to replicate this bug and since it's fixed now I won't send a ticket about it.