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 5, 2015Someone using dev.build #38?
Seems to fix the Spectator mode error.
-
View User Profile
-
Send Message
Posted Jan 2, 2015@Tux2
Thanks, I wanted to note, I updated Spigot to the latest version (Thought I already was) and I get the same results.
This server is running CraftBukkit version git-Spigot-eb39b47-0899683 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
Also saw your commit history and found out you compiled a new version to fix Multiverse-Inventories import.
However, I get this error: http://pastebin.com/raw.php?i=hKdCTaZQ
-
View User Profile
-
Send Message
Posted Jan 2, 2015@Tux2
Flatfile.
I believe I'm also getting the error a few times when people log-in like Bronzeteufel said. But it doesn't seem to be causing any harm.
-
View User Profile
-
Send Message
Posted Jan 2, 2015Getting this error 2-3 times/day .. don't know how I can fix it. Running v3.3.1.
[MultiInv] Task #16473438 for MultiInv v3.3.1 generated an exception java.lang.NullPointerException at uk.co.tggl.pluckerpluck.multiinv.listener.MIPlayerListener.saveEnderchestState(MIPlayerListener.java:367) [?:?] at uk.co.tggl.pluckerpluck.multiinv.player.DeferredWorldCheck.run(DeferredWorldCheck.java:32) [?:?] at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) [craftbukkit.jar:git-Spigot-eb39b47-0899683] at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [craftbukkit.jar:git-Spigot-eb39b47-0899683] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [craftbukkit.jar:git-Spigot-eb39b47-0899683] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [craftbukkit.jar:git-Spigot-eb39b47-0899683] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [craftbukkit.jar:git-Spigot-eb39b47-0899683] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [craftbukkit.jar:git-Spigot-eb39b47-0899683] at java.lang.Thread.run(Unknown Source) [?:1.7.0_65]
/Edit: Running latest spigot 1.8 build
-
View User Profile
-
Send Message
Posted Jan 2, 2015@Cory_
Thanks for the information. It seems the MV-Inv import is broken at the moment. I'll see about getting it working with the newest version.
@lme999
Are you using a database or flat file?
-
View User Profile
-
Send Message
Posted Jan 1, 2015Hello,
Plugins (6): TuxTwoLib, MultiInv, WorldEdit, Multiverse-Core, WorldGuard, Multiverse-Inventories
WorldEdit Version: * Bukkit-Official (6.0.2-SNAPSHOT;3347-fe6717a0)
WorldGuard Version: 5.9.1-SNAPSHOT.1474-
Multiverse-Core: 2.5
Multiverse-Inventories: 2.5
MultiInv: MultiInv3-36.jar
From: http://build.yu8.me:8080/job/MultiInv3/36/
TwoTuxLib: http://dev.bukkit.org/media/files/836/588/TuxTwoLib.jar
Spigot Version: This server is running CraftBukkit version git-Spigot-"609cd55" (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
MultiInv config.yml: http://pastebin.com/raw.php?i=wds0JMk1
Tables are being created, the database does connect. http://pastebin.com/raw.php?i=72UgTsNd
MultiInv groups.yml: http://pastebin.com/raw.php?i=6sXgv1yd
I execute the command: /multiinv mvimport in-game or console and I get the following error.
Error: http://pastebin.com/raw.php?i=qBtyPqbx
Then my groups.yml file resets and shows this: http://pastebin.com/raw.php?i=Mx1iq9Pv
I reload the MultiInv using /multiinv reload and then perform the same mvimport command using the new groups.yml and provides the same error. I've even restarted the server with the same result.
-
View User Profile
-
Send Message
Posted Jan 1, 2015Plugin doesn't seem to handle spectator mode very well.
Also some errors in MultiInv here and there, people are reporting inventory problems in 1.8.
-
View User Profile
-
Send Message
Posted Dec 31, 2014It appears Bukkit is back to normal...never replying to anyone's questions.....
-
View User Profile
-
Send Message
Posted Dec 30, 2014Hello! I noticed that you have a MultiInvAPI.class in your source folder. I don't know if it was meant for public use, but if it was. none of the booleans are static so there is no way to reach them.
-
View User Profile
-
Send Message
Posted Dec 24, 2014@Si7VdeR
The under_score character has been deprecated...thats the only advice i can give....
-
View User Profile
-
Send Message
Posted Dec 24, 2014Need urgent help: I got this installed and working, every world now has it's seperate inventory but even the End and the Nether ... I put this in the group config but apparently it still doesn't work: default: - EverHoldV2 - EverHoldV2_nether - EverHoldV2_the_end - Battleground
creative: - Creative - Jingle Bells
Please help me as quick as possible since now nobody can go to the nether ..
-
View User Profile
-
Send Message
Posted Dec 23, 2014People are reporting that when going from creative back to survival that all their inventory is gone even their Enderchest stuff. I'm running Spigot 1.8.1, your latest and 1.8-b2 of tuxtwolib. Did I mess something up? P.S. I also have Libraryaddicts limited creative if that has any effect. Also of note, the creative build area is just a world guard region flagged as creative and in the same world as survival play. (I realize players can just log out, then log back, in to keep there creative inventory, so this area is restricted to my trusted builders only.) Any help is appreciated.
-
View User Profile
-
Send Message
Posted Dec 21, 2014How do i just link the ender chests in different worlds and not the players inventories?
-
View User Profile
-
Send Message
Posted Dec 21, 2014Can MultiInv bugs out books? Getting several reports from players having "* Invalid book tag*"?? This is serious, I don't know if its either Spigot problem or MultiInv
-
View User Profile
-
Send Message
Posted Dec 15, 2014@Tux2
Hi again - I was going to package up the data and send it, but the last thing I tried was to delete the broken UUIDGroups folder and run the plugin once again. This seemed to cure the problem - the conversion took longer, and when I checked the folders afterwards, MultiInv had gotten rid of the Groups folder. All the stuff in UUIDGroups looks good now.
I'm not sure why there were 0KB files when I first did the conversion. Perhaps some problem with the Mojang servers made the process fail silently...
-
View User Profile
-
Send Message
Posted Dec 10, 2014@Telkir
Not quite sure. If you could send me the MultiInv folder as a zip file in a private message (dropbox and media fire works well for this) I'll take a look for you and see what's going on with it.
-
View User Profile
-
Send Message
Posted Dec 10, 2014a lot errors...
http://paste.ubuntu.com/9468953/
-
View User Profile
-
Send Message
Posted Dec 6, 2014Apologies if I'm missing something - tried reading through a dozen or so pages of most recent comments but didn't see anything to help.
I'm running a local Spigot 1.8 testing server on my PC with the data from my live 1.7.10 server, gradually updating plugins to see what remains broken.
After updating to MultiInv 3.3.1, each time I start my server I'm getting the "Older data folder detected. Converting users to UUID" message in console log. The conversion appears to run for only a few seconds, then server bootup continues. When it finishes and the server is fully started, I check the new "UUIDGroups" folder inside the plugin config and find that, e.g., a group that should have 208 players in it only has 1, with two files. One file has a ".ec.yml" extension, the other has a plain ".yml". Both files are 0KB.
TL;DR - UUID conversion seems to be doing weird things. Am I doing something wrong?
-
View User Profile
-
Send Message
Posted Dec 3, 2014@Tux2
You are a genuis, thank's !
-
View User Profile
-
Send Message
Posted Dec 2, 2014Thank you for keeping this plugin current, it's done a wonderful job maintaining the balance between the worlds. :)