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 Jan 7, 2012@roandr
Yup. That was fixed several builds ago.
-
View User Profile
-
Send Message
Posted Jan 7, 2012Hi Tux2 and good work maintaining this!
Earlier, if I put an item from my inventory into a chest and logged off, then relogging my item would still be in my inventory, and in the chest... thus duplicating it.
Is this bug gone now?
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Twinklebear
Try the latest build, there was a small glitch in the last build (11) that I fixed just now. As far as editing your comments, all you have to do is hover over it and a few icons appear in the top right corner of it. Just click on the one with the pencil on the piece of paper.
EDIT: I've been trying to simplify and streamline the code as much as possible, getting rid of old bugs in the process and making the code much simpler and less resource intensive. (It only really listens to one event now instead of the myriad of events it was listening to before.)
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Twinklebear
if i could find out how to edit my comment, it seems to be working now
although it seems when i warp to my creative map, it remembers the inventory from the world i warped from, but doesn't bring the creative inventory over to the map when i return (which is good), but i was wondering why it wouldn't maintain a separate creative inventory?
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Tux2
I've been using your latest build (11), and can't seem to get it to switch inventories now I've checked that the worlds aren't shared and watched for errors in the console, but nothing
Is this feature working? Any tips?
-
View User Profile
-
Send Message
Posted Jan 6, 2012I'm alive and battling fate at the moment. Basically my laptop died (huge crack is screen for no particular reason) and I'm currently extremely hard pressed for time. I have an exam next Friday and work that needs to be done and handed in but I've not been able to do said work due to the laptop malfunction. So I'm currently a little stressed.
I was working on MultiInv 3.0 and it's almost in a workable condition (just adding compatibility with 2.x). At the moment it would work the exact same as 2.x does and was adding saving of enchantments. I was planning to add spout in the future (which may or may not happen...).
I'll try to release a working version of 3.0 asap. and after Friday I should have time to actually work on this once again.
[[|http://mfav.me:8080/job/MultiInv/]] is a very nice place atm if you want working builds.
-
View User Profile
-
Send Message
Posted Jan 6, 2012@tremor77
Look a few posts below.
-
View User Profile
-
Send Message
Posted Jan 6, 2012@Tux2
You should get a bukkit dev page for MultiInv2 or rename it or something so you can post better on here. Is Pluckerpluck even around anymore - has this plugin/page gone inactive outside of the work you are doing?
-
View User Profile
-
Send Message
Posted Jan 5, 2012@rolecraft
@Minerscentral
For those of you wanting a fix fast for enchantment saving should try my builds. I just fixed a bug and it should be stable. Build 8 is the current version and Build 5 is the previous version. You can find all of my builds from now on at: http://mfav.me:8080/job/MultiInv/
-
View User Profile
-
Send Message
Posted Jan 5, 2012Multiinv doesnt safes enchants indeed, requesting fast fix :P wanna use this plugin! :D
-
View User Profile
-
Send Message
Posted Jan 4, 2012Enchanted items lose enchantments when you leave world please fix
-
View User Profile
-
Send Message
Posted Jan 2, 2012@Lildirt
Working on the saving inventories thing right now. Also, someone PM'ed me as well, so I guess I might as well take some of the things I said in the PM and paste them here:
I know you aren't the only one suggesting I make my own version of MultiInv. Unfortunately the advanced Multi-Inventory plugin that I am building at the moment will be under contract for a little over a month until it's released to the general public (maybe even longer if they want to extend the exclusiveness.) But, I do have another developer in the team I am in that will pick up the development of the MultiInv plugin as he is not part of the development of this new plugin and help work out any bugs and problems you are having with it until the other project goes public.
Please remember that I have been in contact with Pluckerpluck about the plugin and he has done some work on it after I've talked to him, but according to bukkit dev rules we can't just fork a project and create our own project page unless our project is different enough from the original to warrant it as a new project. Otherwise we would be taking over the multiinv project, which won't happen since Pluckerpluck has shown an interest in the project when I talked to him.
I hope you understand the rut I'm in with the MultiInv project as far as forking it goes due to the rules Bukkit has put into place. I really didn't think I would be maintaining this plugin so long "unofficially" as I thought I would just submit a code patch, have it integrated, and have Pluckerpluck continue development, or I would just take over development since he went AWOL. But, since he has shown interest in the project it would be against bukkit procedures if I was to take the project over.
Hopefully this answers some of your guy's questions.
-
View User Profile
-
Send Message
Posted Jan 1, 2012@Tux2
Resolved my issue of the inventories clearing upon hopping worlds, was my fault. However, I don't understand why, no matter what has happened, the plugin does NOT save inventories. The inventories are wiped whenever the player logs out, even just by hitting disconnect and reconnecting, poof, gone.
EDIT: Agreed, you should make your own MultiWorld inventory management plugin, either it being a continuation of Multiinv, or a brand new one. You can do it :3
-
View User Profile
-
Send Message
Posted Jan 1, 2012@jayD101
I came here to report this too (though users put stuff in their chests instead of throwing/dropping it on the ground).
-
View User Profile
-
Send Message
Posted Jan 1, 2012@Tux2
dude, we have no way to track yours build version : make your own plugins, so we can actively report bugs ... I've found in (i guess) your latest build, if drop an item, and disconnect right after, when reloging, my item is still in my inventory, and on the ground, duplicating the item.
any idea ? i guess it could come from thow often the inventory is saved. (it seems it is not saved while a player quitting)
-
View User Profile
-
Send Message
Posted Dec 30, 2011@Tux2
If you make anything to change the database of WorldInventories inventories to your version of MultiInv (because i use WorldInventories but it sucks... :( and i can't delete inventories of my players...) and fix the bug below (look my precedent post) i'll make a little donate (i'm 17 i can't do more :/)
@Zaonhort
Oh, cool another guy with the same bug ! I hope Tux2 can fix that...
@Jasonsj10
I'm not the developper of WorldInventories, also, i found Worldinventories sucks...
-
View User Profile
-
Send Message
Posted Dec 30, 2011@Shooty_ Yes exactly. Well that or if someone randomly disconnects due to some packet error their inventory just wipes itself for whatever reason. I finally got the inventories to save but under certain circumstances it just wipes it anyway.
Quite an annoying bug. Hopefully someone comes out with a good working flawless multiinv plugin like this one but one that has the bugs ironed out.
@Tux2 You should definitely make your own multiinv plugin based on this one :DD I'll even donate 20 dollars to the cause this plugin is essential to the full functionality of my server
-
View User Profile
-
Send Message
Posted Dec 30, 2011@Shooty_
Sorry, I can't use yours :/ I used MultiInv for ever.
@Zaonhort
Same.
-
View User Profile
-
Send Message
Posted Dec 30, 2011@Zaonhort
Like that : "Ok new bug :
If you go in a world, type /suicide, disconnect directly with the button, reconnect, click on the "Respawn" button (atm i'm at spawn of the world) , go to /spawn (atm i'm at spawn of the MAIN world). And Poof; Main world inventory isn't here !
(When i die i go to the spawn of the world and not the spawn of the main world)" ???
I'v post this bug in World inventories forum, this is what you talking about ?
-
View User Profile
-
Send Message
Posted Dec 30, 2011@Tux2 Also with your version, and other multi-inv plugins the inventories seem to be wiped when people leave and I'm not sure why that is.