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 Oct 29, 2012@ViscousSummer88
We noticed that exact same bug, but wasn't sure what was causing it.
-
View User Profile
-
Send Message
Posted Oct 26, 2012Not sure if this could be a bug with this plugin, or minecraft itself, but if people die in 'The End' then their items duplicate.
-
View User Profile
-
Send Message
Posted Oct 25, 2012Any chance you could have this keep track of potion effects per-world too?
Some of our players have realised that they can go to our creative world, take a swig of a potion or splash a potion on themselves, then go to our survival world and have the potion effect carry with them.
-
View User Profile
-
Send Message
Posted Oct 20, 2012@JadonMayhew
Very rude to report an error, when the Devs have already explained in the description how to fix EXACTLY that.
Since you don't do much reading on your own, let me help you:
multiinv.exempt - Exempts player from inventory switch (If your inventory is not changing, deny yourself this permission in your permissions manager!!!!)
-
View User Profile
-
Send Message
Posted Oct 19, 2012@JadonMayhew
I tested it against CraftBukkit version git-Bukkit-1.3.2-R2.0-b2396jnks (MC: 1.3.2) (Implementing API version 1.3.2-R2.0) and it worked perfectly. Were you using another version?
-
View User Profile
-
Send Message
Posted Oct 19, 2012Very rude to remove my ticket when I'm reporting an error. The new Bukkit Update has broken Multi Inv. If you actually cared you do an update because inventories stay the same across all words., meaning creative worlds can be abused.
-
View User Profile
-
Send Message
Posted Oct 19, 2012@Stealthii
Funny thing is, the connection times out, even when I have the auto reconnect enabled... The only other option I have is to make a fresh connection every time I want to work with the database. If the database though is being used so infrequently, why use mysql? 42 hours is quite a long time since someone teleported to another world group.
-
View User Profile
-
Send Message
Posted Oct 19, 2012Because people are having so many similar issues, and there are many open bugs, I'll post this here. MySQL is currently quite broken with MultiInv.
Changing gamemode doesn't always change the stored inventory correctly, and ALWAYS throws an error.
http://pastebin.com/8LbNYxYk
-
View User Profile
-
Send Message
Posted Oct 19, 2012CONSOLE: [SEVERE] Could not pass event InventoryOpenEvent to MultiInv v3.1.4
seems a problem with enderchest
-
View User Profile
-
Send Message
Posted Oct 17, 2012MySQL errors http://pastebin.com/YJKEANAQ
-
View User Profile
-
Send Message
Posted Oct 11, 2012@Tux2
Here is my config, without the sql settings of course.
http://pastebin.com/73cUg3Pr
-
View User Profile
-
Send Message
Posted Oct 11, 2012@xATon2x
Yikes! Do you have compatibility mode enabled or something? Those timings are definitely unusual.
-
View User Profile
-
Send Message
Posted Oct 11, 2012@Tux2
Yes and it's how I know. Here's part of the report.
http://pastebin.com/xiqSE3Vp
Edit: Here's a much later report after an hour or so. It's absolutely Multiinv.
http://pastebin.com/DzsWfrHC
-
View User Profile
-
Send Message
Posted Oct 10, 2012@xATon2x
Do you have a timings report from bukkit?
-
View User Profile
-
Send Message
Posted Oct 10, 2012I changed to mysql, but I think the lag worsened ._., i get spikes whenever someone changes world or teleports, especially teleports.
-
View User Profile
-
Send Message
Posted Oct 10, 2012I am scripting up some resettable worlds and as part of this I need to reset all player inventories for a specific worlds.
Is there a command I can use to do that?
-
View User Profile
-
Send Message
Posted Oct 10, 2012@Tux2
today i have installed mysql on my server, to use with multiinv and other plugins..
but where i start server i get this error
] [MultiInv] Could not establish connection to the database! User inventories won't be saved!
sql:
host: localhost (here i put the ip of my dedicated server)
port: '3306'
username: root
password: passworld (here the password of mysql)
database: multiinv
prefix: multiinv_
allowEnderChestPlacement: true
compatibilityMode: false
xpfix: false
what's wrong?
-
View User Profile
-
Send Message
Posted Oct 10, 2012@xATon2x
Setup the mySQL settings in the config file, then do: /multiinv import
-
View User Profile
-
Send Message
Posted Oct 9, 2012@Tux2
But im already using the version that "isnt" sql, how do I convert?
-
View User Profile
-
Send Message
Posted Oct 9, 2012@xATon2x
Switch to mySQL