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
@Tux2
Where can i find the update? Thanks for fast update!
Edit: Found it
@DiarchDiandi
Thanks for catching that! Debug code has been removed in the latest build. I didn't see any lag while testing. If you continue to see it please send me a timings report.
Don't know if it's just me or not, but with the dev build it takes a while to switch between worlds. Also, this shows up on console at random. c:
6:54:35 PM CONSOLE: [INFO] MIInventoryContents size: 41 6:54:35 PM CONSOLE: [INFO] MIInventoryContents[40] item: AIR,0,0,0 6:54:35 PM CONSOLE: [INFO] MIInventoryContents size: 41 6:54:35 PM CONSOLE: [INFO] MIInventoryContents[40] item: AIR,0,0,0
Hey everyone, just wanted to let you know that I just uploaded an update to MultiInv that supports Spigot version 1.9! Please note that you will need to use a recent build of Spigot if you are on 1.9 due to there being some big dupe exploits in earlier versions.
@Tux2
Thanks for the quick update!
@ExileDev
TuxTwoLib is updated, you can see that on the project page. I am aware of the MultiInv bug and I am fixing it.
Thanks for this awesome plugin but there is on minor error I would gladly seen patched, when a player switches worlds especially from creative to survival the player can duplicate 1-2 blocks by spamming the drop button(q) when its switching...
@Yupie123
I have the same error, players loose ther inventory :S
Have you find a solution
Hello,
I'm getting this error for some players. They are able to keep their inventory through worlds and gamemodes because of this..
@ExoKruzer
We're also getting this error every time a player switches worlds. Everything seems to work, but the error message is a bit unnerving.
Does it support version 1.7.10MCPC+?
If I install MultiInv on my server, will current player inventories in a set survival world I have be wiped? Is there a way to prevent that?
My setup is one city world, and one survival world, that I would like separated.
@Tux2
Thanks. I will try it. Love this plugin! Thanks for the amazing work!!
Hey guys, after hearing all this feedback about how this plugin is "broken" with version 1.8.8 I decided to take a look. Seems like you guys just need to deny the multiinv.exempt permission as everything compiles perfectly over here and works with 1.8.8 on my end.
Hey, I have a problem on my server, when players die and they loose their inventory, they keep their helmet.
This is a extremely annoying bug, does anyone else have this problem?
Hello. Every time I switch gamemodes, i get this error http://pastebin.com/vFRXrwQH Happens in every world. I have multiverse-core for the world managing in case that info is needed. Any idea why its throwing so many errors? v3.3.5 MultiInv and v1.8.4-b6 TuxTwoLib (Latest for both at this moment) Config and groups: http://puu.sh/kZmxf/d923a905c8.png
@CountChaos
I have the same problem. Did you find a solution?
I found your note. Well hidden on a page noone even looks. Why not write it on the first page so everybody can see it? -.- Here is the solution: When you click on download, the changelog says: "If your inventory doesn't switch make sure to deny yourself the permission multiinv.exempt." This means, you have to write the permission -multiinv.exempt into your permissions file. Make sure you have 2 minus signs before multiinv.exempt. Otherwise it won't work. Hope I could help.
I did everything exactly as you said in the video, but it won't work. I am in survival mode in world A and tp to world B. There I am in creative mode, which is right (but just because I changed my permissions). The inventory keeps the same as in world A. And when I change my inventory in creative mode and tp back to a survival world, the inventory keeps the same too. I don't know why. I don't understand the questions in the ticket section. English is not my first language. Maybe you can refrase them.
I'm getting a problem where I change worlds but my inventory stays the same. I disabled multiinv.exempt, so that's not the problem. Checked a bunch of people for help, but no one knew what to do. Using Version 3.3.5 of Multiinv and Version 1.8.4-b6 of TuxTwoLib. here are the files.
For those of you having issues with 1.8.8: make sure you don't have the multiinv.exempt permission for yourself if you are testing it. For previous versions, that permission didn't affect me but now seems to be the reason why it was not working for me. I'm running git-spigot-0359393-9a17f01 (MC: 1.8.8). Hopefully this helps!