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
Hello, i'm having issues to sperate my inventories. I'm running a Cauldron (1.7.10) server on Tekkit Legends modpack.
I'm running also Pex, uSkyBlock and multiverse amongst other plugins.
Simply, the inventory is cloned between all worlds (Including skyblock, and an extra world called "creative" i created after plugin was already working)
groups.yml:
Pex Perm (Note the multiverse-inv was removed and isnt working):
@ZGreenDragonZ
I cannot promote other plugins in this post, that would be wrong. I don't like that if they do that in plugins I maintain or own so I wont do it to other developers.
Tux2 is a well respected developer and I'm sure he will at some stage update this.
Unfortunately I couldn't wait for an update as our own plugin needs to be working with MC 1.10.X.
@dutchy1001
what other plugin do you use ?
@WindUnwaken
Make a global announcement to tell your players to save their inventory to a chest and let it run for a few days. After that just switch.
As much as I like this plugin, it has taken to long to update to MC 1.94 and/or MC 1.10 and I have switched to an other plugin.
@seema23
Hi, PerWorldInventory supports Multiverse- inventory but not MultiInv, how did you convert it?
I hope MultiInv will update soon,
PerworldInventory didn't support convert multiinv. It always show api problem
@Azfaloth
I dont had a problem with this. But a multiinv importer is work in progress. You can try this on your Testserver befor you add this.
@seema23
Won't some of the inventories be lost if I switch plugins suddenly?
I'll stick with MultiInv like I have the past 4 years of running my server, this plugin is legendary and Tux2 is doing a great job maintaining it - You should donate as well if you appreciate this plugin :>
PerWorldInventory is a good alternative to replace this Plugin
Tux2 said that he has to work on a new version of TuxTwoLib and add a lot of stuff that hasnt been added into spigot yet. Once that is done, he will probably update this plugin that uses TuxTwoLib and create a version that works for 1.9.2 and 1.10.
Any way this will work with 1.10 - I'm getting console errors whenever I try to change inventories and they don't change in game. Incorrect version of tuxtwolib maybe?
@Tux2
When are you releasing this for 1.9.4?
@Tux2
Sorry for linking to a post with an unofficial release. But I did mention that I did not agree that way. At least we got your attention and information we were all waiting for.
Hope to see the update soon.
An update for 1.9.4 is in the works, I just have to add a lot into TuxTwoLib, so please be patient.
I know everyone below's already said this, just trying to emphasize the necessity. :P I get the same issue with changing worlds as wrecktify80 below, and it completely breaks my server. I can't upgrade without this plugin, so...yeah! 1.9.4 support please!
@wrecktify80
Can confirm, 1.9.4 basically "breaks" the plugin. :(
Error on 1.9.4. when changing worlds http://pastebin.com/AfiZ5Z37
Also when switching to /gm 1 and /gm 0 the inventory doesnt change even though I have that setting on
Hello, I'm a developer and try to make use of your plugin to serialize the itemstack, but when I enable the sql, I can't get the "writen_book" from the string. And the table of "multiinv_bools" is empty. May I know where did the "book_hash.yml" go when using sql?
can we please have an update for the Shield pattern saving and tipped arrows? That would really be perfect. Thanks for the plugin and keeping it updated to 1.9. :)