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 9, 2012@tux2 How is the enderchest situation solved?
Does the enderchest follow the same grouping principles as inventories?
For example I have 1 group for the 3 default maps, creative world and 2 survival maps.
So the 3 maps, creative and 2 sg map inventories are separate.
Will the enderchest content also be separate?
But for some reason I have a feeling that when I had the "multiinv.exempt" permission the enderchest contents in the creative map and in the normal map where different.
Is it possible? I might be wrong.
-
View User Profile
-
Send Message
Posted Aug 9, 2012@ihasamoose
Please PM me your configuration file as I might be able to figure out what you are doing wrong.
-
View User Profile
-
Send Message
Posted Aug 8, 2012Does this prevent players adding creative items to their survival inventory using the new "survival inventory" button in the 1.3 creative inventory?
-
View User Profile
-
Send Message
Posted Aug 7, 2012Seems to not be able to ever connect to our mysql server, even though over 5 different other plugins have the same settings, no typos or anything on the same server and its till won't connect.
-
View User Profile
-
Send Message
Posted Aug 7, 2012@Xenna30
The dev build link was compiled against 1.2.5 and will work on your server, although the newest version of MultiInv is for 1.3.1. EDIT: the newest version of MultiInv that works with 1.2.5 is build 43: http://mfav.me:8080/job/MultiInv3/43/
@xXKomeXx
it's in the description, it DOES separate XP.
-
View User Profile
-
Send Message
Posted Aug 7, 2012Hmm, could you add separate xp?
-
View User Profile
-
Send Message
Posted Aug 7, 2012@Tux2
That's awesome, thanks a bunch! ^_- Saves the trouble of informing everyone to empty their inventories before we change to this plugin! :)
I assume that dev build is for CraftBukkit 1.3.1? I'm yet to update to that at this point.
-
View User Profile
-
Send Message
Posted Aug 5, 2012@Tux2
OMG stop being so helpful! You're going to give plugin devs a bad name! You even offered your ender chest code to the other guy EEEEEEEE... :p
TYVM :D
-
View User Profile
-
Send Message
Posted Aug 5, 2012@Hangar
Hmm... wait, give me an hour... *codes away feverishly*. Now there is. ;) Download the newest dev build to use the import function.
http://mfav.me:8080/job/MultiInv3/52/
-
View User Profile
-
Send Message
Posted Aug 5, 2012I don't suppose there's an import from WorldInventories? :)
IMPORT ALL THE THINGS!
Erm...
-
View User Profile
-
Send Message
Posted Aug 5, 2012Well, for all of you running 1.3.1 CraftBukkit builds I have some good news for you! I have a new version of MultiInv out that has FULL enderchest support, a brand new API (as of yet, untested), a Multiverse-Inventories import feature, among other bug fixes and enhancements! Download it here: http://dev.bukkit.org/server-mods/multiinv/files/15-v3-1-0/
-
View User Profile
-
Send Message
Posted Aug 4, 2012@Xenna30
After messing around with Multiverse-Inventories I have finally gotten a working import from it to MultiInv! In order to import inventories from it to MultiInv, install MultiInv without removing Multiverse-Inventories. Once you have restarted the server do: "/multiinv mvimport" Once the import is complete it is safe to delete the Multiverse-Inventories plugin from your plugin folder. This functionality is only in the latest dev build at the moment: http://mfav.me:8080/job/MultiInv3/40/
-
View User Profile
-
Send Message
Posted Aug 4, 2012@Xenna30
MultiInv and MultiVerse-Inventories store their data in a format that is incompatible with each other. Right now I am working on a way to get the relevant data out of MV-Inventories and into this plugin efficiently so that frustrated server owners using MultiVerse-Inventories can switch to this plugin again.
-
View User Profile
-
Send Message
Posted Aug 4, 2012Tux, right now I'm using Multiverse-Inventories, which is outdated. Is it possible to change to this multi-inventory plugin without losing the current inventories to each world?
I only ask this because I have no idea how it works. xD ... obviously.
-
View User Profile
-
Send Message
Posted Aug 3, 2012@harryjamesuk
You will need to set the variable "allowEnderChestPlacement: false" in the config.yml as the default is true in the current version.
-
View User Profile
-
Send Message
Posted Aug 3, 2012@Tux2
It's possible to disable them with your plugin? :O
Is that done automatically or not?
-
View User Profile
-
Send Message
Posted Aug 2, 2012@harryjamesuk
Right now enderchests all share one inventory. Verified with the latest CB build for 1.3.1 (build 2269) in vanilla bukkit. I'll be adding enderchest support per world, but in the mean time just disable enderchest placement using my plugin.
-
View User Profile
-
Send Message
Posted Aug 2, 2012Would you be able to have like multiple inventories for ender chests?
-
View User Profile
-
Send Message
Posted Aug 1, 2012@rophile1er
That bug has been fixed in the newest version 3.0.9. Thanks for reporting it!
@Kinkstr101
MySQL would perform just a tad better, but not much to notice. The only real advantage to switching is not getting the "too many open files" error. I run a medium sized server with flat files and I don't notice any lag.
-
View User Profile
-
Send Message
Posted Jul 31, 2012This plugin has been working perfectly for my server, but I never though which would perform better Flatfile or a MySQL Database? does anyone have any ideas what the advantages and disadvantages would be?