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
@blazeddesigns
I've the same problem and the reason ist Multiinv !
I also found a way to fix the problem:
First go to Plugins => Multiinv => Worlds => (The World where the Play died f.e. "Freebuild")
There you have to delete the payers file. Or you can set health to <20
The Player have to be offline or in another world while you're fixing the problem.
sry for my english ;)
Posted by Pluckerpluck on the forums:
Right, I'm TREMENDOUSLY busy atm preparing to leave for uni. I will, however, attempt to look into all these problems later today.
Sorry for any problems
Pluckerpluck, Wednesday at 4:02 PM
@VenomKid5ty @blazeddesigns
Set isHealthSplit and isHungerSplit options to false.
Same problem as VenomKid5ty
@Rallerbabz
3rd, same issue as venom/rall
@Rallerbabz
PS, Im using latest recommended build and latest MultiInv.
I will just tell that I have the SAME problem as Venomkid5ty.
For me it happen EVERY time, and it happen when ppl get killed by a MOB. I have to delete their dat file before they can come back. It is very annoying :S Can this be fixed?
@warpplayer0
i dont know if oyu noticed but htere is also a Default world group folder and a Creative group world folder, check those and see if the backed up inventorys are there. I run a Creative World and a Survival and MCmmo/Factions world and there all seperated fine
also the shares.yml is group based
its really straight forward. it dosent come out right but
<<code lua>>
default: - world2 - world2_nether
that links world2 and world2_nether they share inventorys
group1: - world1 - world1_nether
group2: - World3 - World4 <</code>> each world is supposed to be on its own line but this thing is stupid and wont do line breaks -.-
When people are on my server sometimes there multi-inventory files glitch out there health and they get stuck at 0 so they instanly die when they re-enter that world. Im trying to figure out whats causing it but i cant pin it on anything...I did not have this problem BEFORE 1.8.1 so i bealive something with the 1.8 update may have caused this. Any help would be awesome thanks.
Is this going to be updated soon?
It doesn't work for myworlds :(
Do you need my log?
Edit: updated it, works now :)
As stated on forum post
Main_nether = Main
The main and main nether inventory's do no share. I would not like to have to set up a groups for every group on my server that would be a pain and run in to conflict. If I have say 5 worlds and world1 and world 2 share but wont share with the rest but I want world 3 and 4 to share and world 5 all alone.
What about MySQL Support xD
Hey Pluckerpluck may I be a documenter? I will also make a cool banner for you. Just to make sure you can trust me I manage AdminCMD plugin. http://dev.bukkit.org/server-mods/admincmd/ So just hmu if you want me to work for you. Ill manage changelogs and typically everything in here. I really like organized and explained things and I want to contribute to this plugin :D
Is there any way we can get a write-up on how the shares.yml is supposed to work? I'm particularly interested in setting up the whole creativemode/survivalmode for separate worlds. I tried messing around with the file, and ended up with an empty inventory on my survival world. I had a backup of the inventories, but when I restored the old files, and restarted the server, I still have an empty inventory. Can't seem to figure out a way to import my old inventories back in, even though it worked the first time I upgraded the jar and started my server.
So I guess have I have 2 problems here. Any help?
Edit: Multiverse2 updated with support for gamemode. It works really well & is really easy to set up, I'll be using that. I checked with other users and my inventory was the only one that was wiped. Not sure why it happened, but I can live with it.
Can u update this for bukkit #1185 ?
@Pluckerpluck
nevermind, I forgot a space in the config >:(
it works perfectly :D
The new share-group option, well got some problems or rather questions with it: example on a random Group Peon: - world_epic - world_adventure
Does this mean that the Group Peon will having shared Inventories in the world "world_epic" and "world_aventure"?
Or does it mean that the Group Peon wont having shared Inventories for the worlds and using only one?
Nope, i've got 1.7.3. Thanks! I just made a 1.8 server and it works fine!
@OrtwinS
Basically: If the config option is true then when you enter a creative world your game mode is set to creative (flying, all items etc) and when you enter survival your game mode is set to survival. However, if you use another system with more fine grained control over the creative modes (as my plugin will overwrite them on world change) you can set the option in the config to false which will stop my plugin doing anything with game modes.