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 Mar 27, 2012@MarkKoz
Same here! Please fix it! :)
-
View User Profile
-
Send Message
Posted Mar 27, 2012@cayeldo
Don't give them the /give command in the creative world, why do they need it in the first place?
-
View User Profile
-
Send Message
Posted Mar 27, 2012@Tux.
Thanks for your note. That is how I have it set up though. Creative world is set to Creative (/gamemode permissions removed) and Survial is set up for only Survival. /Give command is active in the creative world, but removed in survival. The issue is that someone can be in the creative world and use the /Give command to give something to a different user in the survival world. Does that make sense? The other day, a player in the creative world gave 10 golden apples to a different user in the survival world. Is there a way to block this?
Thanks for your help!
-
View User Profile
-
Send Message
Posted Mar 26, 2012The inventories, xp, and so on haven't been splitting. My default world is survival. I use multiverse to go to my second world, which is creative. Like I said, nothing splits, whether I'm traveling from survival to creative or from creative to survival.
Here are my configs: config.yml
groups.yml
Forgot to mention, gamemode doesn't change either.
-
View User Profile
-
Send Message
Posted Mar 26, 2012@cayeldo
I also have a creative and survival world on my server. The most effective way of blocking it is just giving everyone creative mode on the creative world, and then having it switch back to survival in the survival world, then removing the permission to use the give command. Fixed!
-
View User Profile
-
Send Message
Posted Mar 26, 2012I have a question which I was hoping to get some advice on. I have a sever with 2 worlds installed. World1 and World2. I have set up world1 to be a creative world and world2 for survival. I use multiinv in order to keep people from carrying over inventory items between worlds, however, recently my users have found a loophole. While in world1 they will use the /give command (which is ok to use in world1 but /give is permission blocked in world2) to give a different player an item in world2. For example player1 while in world1 will /give 50 diamonds to player2 in world2. Is there anyway I can block this? I was hoping to prevent cheating in the survival world.
Thanks!
-
View User Profile
-
Send Message
Posted Mar 23, 2012@jneiger01
no problem. That is a different error for sure, although it shouldn't be doing that. Would you mind giving me a list of your plugins that you have on the server and what version of craftbukkit you are using? Thanks!
Tux2
-
View User Profile
-
Send Message
Posted Mar 23, 2012@Tux2
Wow, thank you so much for your quick response. You're correct, my SQL database wasn't connecting. It does seem to be now, I was able to /multiinv import all the files into the database. After doing a server reload I am still getting the same (I think) error
http://pastebin.com/BBsXwbs1
I apologize for the naiveness, this is fairly new to me. Thank you again for your help.
-
View User Profile
-
Send Message
Posted Mar 23, 2012@jneiger01
It seems your MySQL database isn't set up correctly, please correct that.
-
View User Profile
-
Send Message
Posted Mar 23, 2012I am continually getting the following error about not being able to change the gamemode of players.
http://pastebin.com/QXtzTqj2
They are able to go to the creative server and give themselves items then /spawn back to the survival server with them. Any help would be appreciated.
-
View User Profile
-
Send Message
Posted Mar 22, 2012@barok1383
@Editzzzz
File proper bug reports please. I am having no problems running it on my server with the latest dev build of bukkit: 2110.
-
View User Profile
-
Send Message
Posted Mar 22, 2012@barok1383
I wish i was having that problem :(
-
View User Profile
-
Send Message
Posted Mar 22, 2012Hmm having some problems with 1.2.4 null commands and not working... any suggestions i cant do /plugins on my server either
-
View User Profile
-
Send Message
Posted Mar 22, 2012@Tux2 no sorry, players get XP in creative mode with XP bottle, they go back to survival mode (using a portal like Nether portal) they loose their inventories but they keep XP (my english isn't perfect, I know )
-
View User Profile
-
Send Message
Posted Mar 21, 2012@barok1383
XP is split across worlds by default so you should have no problems.
-
View User Profile
-
Send Message
Posted Mar 21, 2012Hi, ty for this plugin.
Is there a solution to allow the same feature with XP. I have a world in creative mode and player use XP bottle to reach lvl 50 and return to the survival world to enchant diamond sword.
Regards.
-
View User Profile
-
Send Message
Posted Mar 20, 2012@Tux2
I want the option so i can turn it off. Right now theres no way to disable it. Sorry for being unclear, and thank you for all your hard work.
-
View User Profile
-
Send Message
Posted Mar 20, 2012@FlukiestEmperor
Ah, I'll have to add the autoreconnect line into the plugin. It's just that most people would botch that line up and I don't want to diagnose those problems with my plugin.
-
View User Profile
-
Send Message
Posted Mar 20, 2012@Tux2
It did create the tables on its own.
There are some plugins that just have a line like this in the config to specify everything for the database
jdbc\:mysql\:localhost\:3306/database?autoReconnect=true
that way, the ?autoReconnect=true argument keeps the connection to the database.
Here is source to a plugin that handles it that way https://github.com/Brettflan/OnlineUsers/blob/master/src/com/wimbli/onlineusers/OnlineUsersMySQL.java
-
View User Profile
-
Send Message
Posted Mar 19, 2012@FlukiestEmperor
It looks like it is losing connection with the mysql database. Did it at least create the tables? I'm mulling over several possible solutions in my head to make sure the connection to the database is maintained, but haven't settled on a good one yet.
@StealthSpider
It's already in there. It should be splitting experience by default, unless there's a bug...