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 Sep 17, 2012@Nenestar
You had some problems with your configuration. I'm assuming you're using either Pex or GroupManager for your permissions plugin. If you are using bPermissions, then it's a little different. I corrected the mistakes you had in it and have made a new paste with the corrections. http://pastiebin.com/?page=p&id=5057fd2836bf7
-
View User Profile
-
Send Message
Posted Sep 17, 2012Hello, I have a big Problem!
There is some guys on my server found a feew glitches.
And I thin 2 of them comes from this plugin and can be fixed/prevented.
Here is the video: YouTube
1) Duping. (I dont know how this worked)
2) Essentials /fly
Maybe this cant be fixed but please see the video and you will se what i mean. -PLZ help
-
View User Profile
-
Send Message
Posted Sep 17, 2012Hi could someone who knows how this correctly works please look at my pastie to see if I have done something incorrectly. I can not get inventories to change at all... we have a creative inventory still even when we go to our survival worlds I denied myself access too but it still doesn't change and i have also demoted myself to lower ranks and de-oped myself as well and it still doesn't change anything. So i must be doing something wrong just can't work out what.... would appreciate any help at all Cheers :) http://pastiebin.com/?page=p&id=5057b1e7b0dad
-
View User Profile
-
Send Message
Posted Sep 17, 2012I don't really get the SQL
And I can't get the plugin to save my inventories, nor other players.
-
View User Profile
-
Send Message
Posted Sep 16, 2012@Kepler_ Awesome thanks so much for the help...makes sense now :) :) and I really appreciate you taking the time to inform me :)
-
View User Profile
-
Send Message
Posted Sep 16, 2012@Nenestar
under creativegroups you put all of the groups that are allowed to have creative.
in your groups.yml file you define what worlds are in what group
-
View User Profile
-
Send Message
Posted Sep 16, 2012Hi there would like some advice or from anybody else who could answer the question for me :) I am a little confused with this part of the configuration file
creativeGroups:
- creative
My question is are we meant to put our group names in here from the groups yml ? For example my groups are divided into survivalgroups: and creativegroups: so do I need to put them both under that section as such ???
creativegroups:
- creative
survivalgroups:
- survival
or am I not meant to touch that part ??? Sorry probably is a bit of a noob question but I am confused only with this bit as it doesn't seem to match the groups example part...well to me anyway but then I am blonde ;)
Thanks :)
-
View User Profile
-
Send Message
Posted Sep 15, 2012I LOVE this plugin so much thank you Tux2, but could you please at a feature to sperate potion effects also. Lots of my player are taking advantage of my creative world and teleporting out and still having their potion effects.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@ToXcWaStEBoY1
http://dev.bukkit.org/server-mods/multiinv/pages/configuration/
-
View User Profile
-
Send Message
Posted Sep 10, 2012How do i allow people taking things in to the netherworld and make to my normal world?
-
View User Profile
-
Send Message
Posted Sep 6, 2012@firecombat4
That appears to be an error with the MySQL on your end. I'm also running on MySQL on v3.1.3 and I am not getting any errors, make sure that perhaps you can connect to the MySQL, that there is a MultiInv table and that you have to correct infomation in the MySQL section of your config.
-
View User Profile
-
Send Message
Posted Sep 5, 2012http://pastebin.com/RmphgKy6 I get this error when a player that isn't in the multiinv database logs in? Thanks
Oh and it also kills them.
-
View User Profile
-
Send Message
Posted Sep 5, 2012@SUB_dawg
I know you can link multiple world inventories, which in theory should link the enderchests, as for linking just enderchest, not sure you can do this.
-
View User Profile
-
Send Message
Posted Sep 2, 2012Is there a way to move just Ender Chest inventories through 2 world? I want to have different inventories but the same Ender Chest contents.
-
View User Profile
-
Send Message
Posted Sep 1, 2012Thank you, Tux,
I had read that, but I did not find a solution for my problem of merging two servers. I suppose that, at this time, there is not a multiworld inventory manager that has importing and exporting from dat files.
The problem lies in that I have a default world already running, and want to import a default world from another server.
-
View User Profile
-
Send Message
Posted Sep 1, 2012@WayGroovy
Please look at the link above about the when, where and how inventories are saved. I think that will answer any questions you have.
-
View User Profile
-
Send Message
Posted Aug 31, 2012In addition, does changing which world is the default world affect multiinv?
-
View User Profile
-
Send Message
Posted Aug 30, 2012I am having difficulty importing an existing world into my running server.
Another server is closing down, which ran Essentials, GriefPrevention, and iconomy. The server runs it's world with the default name world. I'd like to change it to europa for the move, to not conflict.
I've written scripts to handle most of the plugins, using bash and sed to replace instances of world: world with world: europa, or other configurations as necessary.
The plugin I am having the most difficulty with is multiinv. The dat files are transferring with the world and going into the newly named europa folder. Players, however, are not getting their dat files read for their inventories on warp to that world.
Is there a method to pull the data from the dat files and write it to the proper place in the group folder, either by bash or python script?
Any assistance would be appreciated. Thank you, Tux2, for your time and effort on this and your other plugins.
-
View User Profile
-
Send Message
Posted Aug 29, 2012Hello! I've had a few people ask me to write an importer for WorldInventories and I see that MultiInv has changed the way it saves things, and apparently has an API. Is it possible we could talk on IRC?
Edit: I'm on Esper under the same name.
-
View User Profile
-
Send Message
Posted Aug 29, 2012@niftyapple
What permission groups?
Also, calling all mySQL experts. I need someone who can help me out with the mySQL side of the plugin. Even though I've had experience with mySQL in the past, I've always updated my tables and such using PhpMyAdmin for my websites, then just coding the code to find data, insert it and delete it. Flat file updating is a piece of cake for me, although at this point in time I don't really have the time and effort to make sure the mySQL stays up to date with the flat file stuff. (I really debated adding the mySQL book support and just having all books stored in flat files)