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 15, 2015@Tux2 This error does not appear after 5 minutes though. It is a ClassCastException which appears immediately on trying to execute the command. Here is the error again just in case it is something different from the previous one, although it seems to be on the same line. http://pastebin.com/ybfnipMK
Thank you so much for your help! With the upcoming name change ability we have to migrate urgently.
-
View User Profile
-
Send Message
Posted Jan 15, 2015@gumgumpuntnl
Those errors are being caused by spigot. I'd try the latest build.
@natallyk
Spigot has a "anti lockup" mechanism which terminates the import if it takes more than 5 minutes. I'll take a look into it however and see about coming up with a better solution.
-
View User Profile
-
Send Message
Posted Jan 15, 2015Is Multiverse-inventories import supposed to be working? I am getting the same error as described in this ticket with the latest dev build. http://dev.bukkit.org/bukkit-plugins/multiinv/tickets/212-multiverse-import/ Latest Spigot.
-
View User Profile
-
Send Message
Posted Jan 15, 2015Any updates on these errors:
http://dev.bukkit.org/bukkit-plugins/multiinv/tickets/230-2-errors-player-quit-event-and-player-game-mode-change/
Using (almost) latest Spigot (compiled 2 days ago).
-
View User Profile
-
Send Message
Posted Jan 12, 2015@omgitsbob12
Interesting... Have you considered using another plugin to block ender portal creation? Either that or using Multiverse-Portals also stops that from happening.
-
View User Profile
-
Send Message
Posted Jan 12, 2015Players in creative can create end portals, drop stuff in them and collect them in the end.
-
View User Profile
-
Send Message
Posted Jan 12, 2015@lme999
That would be a spigot bug. Have you tried updating spigot to the latest version?
-
View User Profile
-
Send Message
Posted Jan 11, 2015Hello, I'm getting this error occasionally in my console.
Seemingly random when players teleport in various ways.
http://pastebin.com/hK77bqh9
Using latest version.
-
View User Profile
-
Send Message
Posted Jan 11, 2015Can you please fix the Javadocs of TuxTwoLib? The download page is not the accessible. :/
-
View User Profile
-
Send Message
Posted Jan 10, 2015@Tux2
Ok :) Thank you for your answer. This time i will tell you if i find some thing strange.
Have a good day .
-
View User Profile
-
Send Message
Posted Jan 10, 2015@tanguyyann
If it was 8 or 10 months ago, then yes, it's most likely fixed. If not let me know so I can get it fixed.
-
View User Profile
-
Send Message
Posted Jan 10, 2015@Tux2 2) That should never happen. You probably misconfigured something.
yeah... that is probably true :/
1) What version of MultiInv were you using? Lots of bugs were fixed in the last couple of versions. i don't remember well... it was 8 or 10 month ago... may be less.
-
View User Profile
-
Send Message
Posted Jan 10, 2015@tanguyyann
1) What version of MultiInv were you using? Lots of bugs were fixed in the last couple of versions.
2) That should never happen. You probably misconfigured something.
@Grant1204
It looks like MultiInv doesn't support configuring groups with specific transfers Well, it's never been requested. I'll take a look at it though and see if I can find a way to do that without introducing a ton of bugs and inventory dupes.
-
View User Profile
-
Send Message
Posted Jan 10, 2015Hi here,
I used to have Multiinv separate players inventories between my basical world and a creative world. But, because of some bug, i delete him and remove my creative world.
1st : when someone died in the Creative world (/kill or because he used the /gm 0 ) his basical inventorie (and ender-chest) became the creative one. (sorry for not reported this bug when i found it... :( )
2nd : Some time when i updated my serveur, all the inventories were remove. ( but it was probably my fault... i guess)
But today i need a plugin like that again (and he really look like the best...) so i wonder... is the first bug fix? (and the seconde? )
ps : Sorry if i made some mistakes, i'm pretty bad in english :/
-
View User Profile
-
Send Message
Posted Jan 10, 2015@Tux2
Thank you for clarifying all of my concerns. You were very thorough in explaining all the concerns I had. :)
I really hadn't noticed any Multiverse-Inventory bugs until recently with banner data. It stores about any item (disregarding custom NBT tags) ok, but with some banner patterns, the storage file for a player may get corrupted and duplicate inventories. I'm going to look into using this plugin. Seems like a good replacement.
I'll miss the extensive customizability that came with Multiverse-Inventories. It looks like MultiInv doesn't support configuring groups with specific transfers (like sharing potion effects, ender chests, armor, inventory, and exp between different groups while keeping one or many of those seperate).
-
View User Profile
-
Send Message
Posted Jan 9, 2015@Cory_
I'll definitely look into it, however it looks like it's got a lot of dependencies that I would have to put in the jar file. I try to keep the jar as light and as dependency free as possible. The only reason I have the dependency on TuxTwoLib is so that I don't have to update MultiInv every time Minecraft updates.
-
View User Profile
-
Send Message
Posted Jan 9, 2015@Tux2
Hey Tux2,
My plugin @NameTagEdit for 3.0 and another plugin I know is switching to another MySQL connector called HikariCP this might be something to look into.
We were using BoneCP, but this performs a lot better from what I understand.
-
View User Profile
-
Send Message
Posted Jan 8, 2015@Grant1204
To answer your questions:
Why does MultiInv break on updates? It only breaks if you are using the mySQL database option at the moment, however I'm thinking of using another format for the database which will prevent this in the future. Other than that there is really no code in here that breaks (unless you count the same things that have been broken in Multiverse-Inventories for over a year now. Have they gotten around to importing MultiInv inventories again, or is that still broken?). As far as Multiverse-Inventories goes it's got so many bugs in it than you can shake a stick at. Bugs that have been fixed long ago in MultiInv.
Why does MultiInv do the same thing, but also has to use version-specific code to require TuxTwoLib? Because MultiInv does more than Multiverse-Inventories and saves more things about items than MV-Inv. I'm also going to be adding some more new features which will save item attributes (health, etc) that require version specific code.
The reason I ask this is because I'm unsure where people who depend on this plugin go if the developer stops developing for new versions. MultiInv was the first multi-world inventory separating plugin and is still in active development. Few projects can say this about themselves and shows the commitment of the authors. Also, since it is open source anyone can pick up the project if for some unforseen circumstances I am unable to update it.
This also means that we'll have to wait for TuxTwoLib to update in order to update to new versions, right? Yes, that is correct, however I usually have a TuxTwoLib update out within a couple of hours of being notified that there is a new version of Bukkit/Spigot.
Basically it comes down to this: do you want to use a system that is actively maintained by the developer with consistent updates to add in the new features in Minecraft, or do you want to use a plugin so old that it hasn't been updated for a long time with so many bugs that have never been addressed or even acknowledged by the developer?
If you have any more questions feel free to ask. Also, please note that I am not trying to bash the author of Multiverse-Inventories. I'm just addressing the problems I have seen throughout the years with that plugin. I still highly recommend the rest of the Multiverse suite of plugins as they are being actively developed by the developer and work well.
-
View User Profile
-
Send Message
Posted Jan 8, 2015It looks like name changes are coming out Tuesday (hopefully - Source), so I guess it's time I switch from Multiverse-Inventories to have UUID support.
One question I have is: Why does MultiInv break on updates. Multiverse-Inventories will work for years with almost any Minecraft version, and stores all the same data correctly. Why does MultiInv do the same thing, but also has to use version-specific code to require TuxTwoLib?
The reason I ask this is because I'm unsure where people who depend on this plugin go if the developer stops developing for new versions. Multiverse-Inventories will at least maintain compatability for the unforseeable future, but this plugin may eventually loose support and as such will not be compatable. This also means that we'll have to wait for TuxTwoLib to update in order to update to new versions, right?
-
View User Profile
-
Send Message
Posted Jan 8, 2015Hey guys, there's a new build in Jenkins which should fix most of the problems you guys are experiencing. If you could test it though and let me know your thoughts and how well it works that would be excellent! Together we can make sure that the next release of MultiInv will be mostly bug free!