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 Feb 29, 2012separateGamemodeinventories: true doesn't seem to work any more. :( I can go between modes and it doesn't swap out for me. worked fine in 3.0.2.
-
View User Profile
-
Send Message
Posted Feb 28, 2012@Tux2
Not just that, using the default NBT format gives you a lot of advantages over manually writting YAML files. You can just copy-paste the code from Miencraft/CB to load and save the player data files! So much easier. Also you'd be avoiding making mistakes which could lead to subtle bugs...
as far as API is concerned, I would need to be able to ask multiInv to load a player's inventory in a certain world into the default player data file.
And for Configurations, well, I think that since the plugin was created quote a long time ago, he just did not have the time to look into the new config system that was inplemented into bukkit.
-
View User Profile
-
Send Message
Posted Feb 28, 2012In older versions you could setup a list of users that kept their inventory between the worlds. I can't get it to work or find any info how to set it up for 3.x versions?
-
View User Profile
-
Send Message
Posted Feb 27, 2012@SmashboxGaming
Same here
-
View User Profile
-
Send Message
Posted Feb 27, 2012Oh dear. I'm afraid I have to give a big THUMBS DOWN to your database schema. Details in upcoming ticket.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@lishid
I'm assuming you want the save files to be in NBT format so that it's easy to read the backup files into OpenInv? I don't know if I could make such a drastic change in the code without consulting Pluckerpluck but I would be more than happy to get an API system going so that other plugins can hook in and do things. I just need to know what parts plugin devs want to hook into.
As far as config Vs. YAML that was Pluckerpluck's choice as I would have done things quite differently from the way he did it.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@Tux2
Perhaps also use Bukkit's Configuration system instead of reading YAML file for config?
-
View User Profile
-
Send Message
Posted Feb 27, 2012@Tux2
Here's an idea, why not just use Minecraft's default NBT system to store player data instead of YAML files?
It will generate a much smaller file and always compatible (since NBT will always work, or else notch would be in trouble). Depending on your implementation, it could even be used to 'export' (more like copy out) to be used elsewhere (if you use the exact structure of minecraft's player datafiles)! Also, you can then use massively available external tools to open the player datafiles like you can with the default minecraft's player datafiles.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@SmashboxGaming
I will definitely add more documentation. I've been trying to update and add features while Pluckerpluck's computer is under repair as I have the time and didn't expect to be maintaining it for so long.
-
View User Profile
-
Send Message
Posted Feb 27, 2012After reading a bit more I found people had files generated with more information. I however had near blank files generated with no explanations inside of them, figured it out reading through some posts here.
-
View User Profile
-
Send Message
Posted Feb 27, 2012Could you post some literature?
-
View User Profile
-
Send Message
Posted Feb 27, 2012@ryanwagner
Yes, that is coming in the next version, I just needed to push out what I had as it had lots of bug fixes and enhancements and I needed to go to bed... Expect an import/export command in a day or two.
-
View User Profile
-
Send Message
Posted Feb 27, 2012Tux,
like the mysql but clearly we need a converter command. Something like /multiinv export sql and /multiinv export file
that way people can go from one to the other. With file export you just get the files which you currenly have. With export sql you get a .sql file that is a query to import the data.
-
View User Profile
-
Send Message
Posted Feb 27, 2012Hey everyone, just wanted to let you know that a new version is out that fixes all those annoying bugs you guys were experiencing with 3.0.1! Also, a notable new feature (which kept getting so many upvotes I couldn't ignore it) is mySQL support! This is the first time I've messed with mySQL with java so if you find any bugs please report them!
-
View User Profile
-
Send Message
Posted Feb 27, 2012@marti2001
You have an old version of craftbukkit if it is doing that. Please update to the newest version.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@lishid
Yes, I am active, thing is I have quite a few other mods I work on as well and don't have as much time to spend on this one as I would like. I guess I should push more to the MultiInv git as I update, but I try to test before doing a push and lots of the things I've been doing haven't been tested yet. Pluckerpluck left the plugin in a bit of a mess for some of the things and I'm trying to clean things up and complete the features he left out.
@codydbgt
The authme bug is a low priority bug fix as that plugin is almost only used on offline mode servers and I have other, bigger problems that I'm fixing at the moment.
-
View User Profile
-
Send Message
Posted Feb 26, 2012Update for R5?
Also with multiverse, when I change to a world Im not allowed to access my inventory would glitch out.
-
View User Profile
-
Send Message
Posted Feb 25, 2012It doesn't change my invertory in the worlds.I have world, world_nether, world_the_end, a member world and Super-Flat world.I have the default files in the folder.I have an error:
at java.lang.ClassLoader.defineClass1(Native Method) 2012-02-26 09:51:14 [SEVERE] Error occurred while enabling MultiInv v3.0.1 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V at uk.co.tggl.pluckerpluck.multiinv.MultiInv.onEnable(MultiInv.java:47) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:989) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
-
View User Profile
-
Send Message
Posted Feb 25, 2012Not much development has been done on this plugin recently...
Are any of the devs active? Or are you just patching up everytime a new RB breaks the plugin?
I'd like to have some development done on this plugin... and also some support, since many people stated that they have problems when using my plugin "OpenInv" along side with this one.
-
View User Profile
-
Send Message
Posted Feb 23, 2012This issue involves an inventory/plugin conflict issue with multiinv and authme i would be very gratfule if eather one of you could fix this
this is my test server. plugins include
17:30:16 [INFO] Plugins: MultiInv, GroupManager, PlugMan, WorldEdit, Register, Alerter, Permissions, BKCommonLib, Vault, Multiverse-Core, NoCheat, RepairDispenser, WorldGuard, CleanroomGenerator, Essentials, EssentialsProtect, AuthMe, EssentialsSpawn, CreativeGates, EssentialsGeoIP, ChestShop, EssentialsChat, Factions
I GOT THE LATEST R4 BUKKIT BUILD i got authme 2.6.2 and multinv 3.0.1
i got 3 worlds spawn world and world2 one representing the creative world
you make a new account all goes well
i dig up some dirt go to world and world2 and do the same but different amounts go back to spawn. I then reconnect when i get in i have got my items then when i finely login it wipes my inventory.
i dont meen to push but this will help my server become its best i would love to have a creative world and a few other worlds
without authme this doesn't happen
sorry for spelling was in a hurry
Thanks for reading
Cody Goodell