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
@Schneidertm
It may be. Just remember to do a full restart when changing versions of MultiInv. Also, using the /reload command can leave plugins like MultiInv in an inconsistent state.
After I reloaded v3.3.4 yesterday, players randomly loses/wipe stuff in there enderchest/inv or getting there helmet and boots twice after restart. Is this also fixed in 3.3.5? There is no error I can offer..
Im using still 1.8 with TuxTwoLib v1.8-b5.. may there is an error?
Thank you, Tux! Could you tell me what SaveInventoryOnQuit exactly does? Should I switch it back to false in the new version, or can I let it enabled?
@MCTylerPVP
It's still waiting for approval by the Bukkit dev staff. Once they approve the file it will be available to download.
I'm not trying to rush you, (LWC broke too), but where is the latest TuxTwo?
So, while I was testing the new version of TuxTwoLib I discovered a major dupe bug in MultiInv! Everyone is encouraged to update to the newest version of MultiInv: 3.3.5!
@MCTylerPVP
It broke TuxTwoLib, not MultiInv, give me an hour or two to get it updated. Thanks for letting me know!
1.8.4 Spigot Update broke your Plugin....
@Bronzeteufel
There is a reason I request all the information I request on those forms. Please fill out the rest of the information as I am unable to reproduce it on my setup with the information given: http://dev.bukkit.org/bukkit-plugins/multiinv/tickets/256-inventories-swapping-too-late-not-on-join-trough-portals/
If you're using mySQL you're more than welcome to blank out all of the connection details to the mySQL server.
@Tux2:
I've created a ticket describing my problem in 3.3.4. Hope you can reproduce it.
@Tux2
Looks good for now, thank you!
@MCTylerPVP
Hey! Thanks for the information. I've updated the page with instructions on how to get it to work correctly in BungeeCord.
@Nathangorr
Do they have the star permission? Most likely it's a permission issue. If not there may be an exception being thrown when they change worlds. If that's it then please install this plugin: http://dev.bukkit.org/bukkit-plugins/debugreport/ and then run the command /multiinv report. The report file should be in the debugreport folder. If you could paste that at http://paste.yu8.me and send me a pm with the paste ID I would be more than happy to see what's going on for you.
Alright, I got it...It doesn't work with Bungee cord when Server is is th offline mode which is required with Bungee cord. Thanks for your Questions which led me to the answers!
I'm not sure why this is happening, but a few of my users keep their items when they change from my Creative world to my Survival world, yet all players have the same permissions.
Config:
Groups:
@Swords761
Please try the latest dev build which fixes this issue here: http://build.yu8.me:8080/job/MultiInv3/
@MCTylerPVP
Version of plugin? Version of Bukkit? How do you have the configuration setup for MultiInv? Are you an online or an offline server? Please install this plugin: http://dev.bukkit.org/bukkit-plugins/debugreport/ and then run the command /multiinv report. The report file should be in the debugreport folder. If you could paste that at http://paste.yu8.me and send me a pm with the paste ID I would be more than happy to see what's going on for you.
Not sure if this change was intentional or not, but with MultiInv v3.3.3, every item in a user's inventory gets an invisible NBT tag when a player logs out (probably when it saves the inventory of the player to file). This causes unintended effects, like the inability to stack tagged items with nontagged ones, and also messes up our shops (we use SignShop), which loses the ability to recognize tagged items when added to an existing shop that was setup with nontagged items.
Same exact thing as before...Player goes to Plot world, which is Creative....puts stacks of blocks in Inventory, logs off, then back on and when they respawn at spawn (In Survival) they have stacks of creative blocks in survival. WTF?
Ok I'm gonna try this one more time for my SkyWorld so I don't need to run a separate server. If It doesn't work this time and any players exploit the inventory bugs...I give up.