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 18, 2013@emilio791
Yes please.. I really liked the way they were not shared.. an option for this would be awesome.
-
View User Profile
-
Send Message
Posted Mar 17, 2013Hi, Is there a way to prevent MultiInv disabling muti-wolrd EnderChest? I want to keep separate inventories, but not separate EnderChests. I want to keep them to let my users to play "adventure maps" and get rewards inside them that could be sent to the other worlds (and, also, allo them to use all what they can put inside the chest).
Thank you.
-
View User Profile
-
Send Message
Posted Mar 16, 2013@RevoMods
There doesn't need to be. When a player logs in for the first time when MultiInv is installed whichever world he is in determines which world his current inventory is locked to.
-
View User Profile
-
Send Message
Posted Mar 16, 2013One huge issue with this is that there is no conversion for MC inventories to MultiInv. Meaning I can't add this plugin without having all of my players' inventories reset.
-
View User Profile
-
Send Message
Posted Mar 16, 2013@Tux2
Yes please update. :)
-
View User Profile
-
Send Message
Posted Mar 15, 2013@fungreenfox
I'll get a TuxTwoLib compiled for 1.5.0 within a day or so.
-
View User Profile
-
Send Message
Posted Mar 15, 2013plz update for bukkit 1.5.0
-
View User Profile
-
Send Message
Posted Mar 14, 2013@dragondeatth
That option has been depreciated and removed in current versions of MultiInv as it was no longer necessary as MultiInv also handled enderchests now.
-
View User Profile
-
Send Message
Posted Mar 12, 2013I have a problem where it completey clears the players inventory when they change worlds, unless they are completey ignored. What am I doing wrong? Thanks
-
View User Profile
-
Send Message
Posted Mar 12, 2013@dragondeatth
Did you reload the plugins and/or save the config file while the server was stopped?
-
View User Profile
-
Send Message
Posted Mar 11, 2013People can still place enderchests, even though I have allowEnderChestPlacement to false :o
-
View User Profile
-
Send Message
Posted Mar 9, 2013@Ugpzt
It does it automatically.
@hutt132
Thanks for the report. I know about the issue as reported in previous comments and I'm looking into it.
-
View User Profile
-
Send Message
Posted Mar 8, 2013Here's a pastebin of a recent timings report: http://pastebin.com/GRnbEKui
-
View User Profile
-
Send Message
Posted Mar 8, 2013MultiInv v3.2.5 PlayerChangedWorldEvent Time: 5904403000 Count: 159 Avg: 37134610 PlayerRespawnEvent Time: 274000 Count: 29 Avg: 9448 PlayerLoginEvent Time: 5506000 Count: 177 Avg: 31107 PlayerTeleportEvent Time: 5021000 Count: 1186 Avg: 4233 PlayerGameModeChangeEvent Time: 1239031000 Count: 114 Avg: 10868692 Total time 7154235000 (7s)
This is pretty bad. Hope there's a better optimized version soon.
-
View User Profile
-
Send Message
Posted Mar 7, 2013So how do I separate the xp's between survival and creative worlds?
-
View User Profile
-
Send Message
Posted Mar 6, 2013@Ugpzt
Nope, xpfix fixes a bug present in earlier versions of minecraft where the display on the client wouldn't update correctly.
@rasnyderiii
I'll see what's hanging it up there.
-
View User Profile
-
Send Message
Posted Mar 6, 2013What does the flag "xpfix" in config.yml do? I presume that it shares the xp between inventory-switching? Default value is "false".
-
View User Profile
-
Send Message
Posted Mar 6, 2013Pct Tick Total Avg Count Event
90.25% 127.928 s 45.1244 ms 2.84k PlayerGameModeChangeEvent
127.16% 0.509 s 63.582 ms 0.01k PlayerGameModeChangeEvent
-
View User Profile
-
Send Message
Posted Mar 3, 2013Timings report.. ouch
http://pastebin.com/GbWPNgG9
-
View User Profile
-
Send Message
Posted Mar 3, 2013@Tux2
I am under the impression that Multiverse Inventories changes its data storage format with certain new versions. What version has your import/conversion code been made for? I am currently using a dev build of MV-Inv and I'd like to switch over. First though, have you had any issues with metadata on items?
Why I need to switch: MV-Inv is appending characters to any items with colored lorenames. The names keep getting strange characters added to them each time the plugin reloads the user's inventory. Though these items can't be attained in vanilla due to being spawned by another plugin, other than the name having a working color-code (ie 'ยง6Super Sword') it is a normal item. Do you think MultiInv will have issues with this? And if it does would you consider a feature request to fix it?