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!

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

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.

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.

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.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

  1. Delete your old config.yml file in the plugins/MultiInv directory
  2. Start the server with the new plugin
  3. Rename the Worlds folder to Groups under the plugins/MultiInv directory.
  4. Rename shares.yml to groups.yml
  5. Cut the creativeGroups section out of groups.yml and paste it at the end of config.yml
  6. Edit the config.yml to your prefrences
  7. do: /multiinv reload
  8. If you are moving to the mysql database do: /multiinv import
  9. You're done, enjoy!

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!

MC Stats for MultiInv
Stats provided by Plugin Metrics

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of SuperEPF SuperEPF Sep 21, 2014 at 12:34 UTC - 0 likes

    I need help asap. I want players to have same inventories for some worlds,while separate for others. Help me please!

    P.S. Sorry for my english....

    Update: I tried connecting worlds in groups.yml but it wont work. The problem is my main world is called "randm world" with a space... Help me please..... I want to connect randm world, the end, the nether, wild and survival worlds Thanks ahead :)

    Last edited Sep 21, 2014 by SuperEPF: Update
  • Avatar of GodsDead GodsDead Sep 15, 2014 at 12:45 UTC - 0 likes

    @Tux2: Go

    Cool, what causes the inventory to load momentarily then get wiped? This is why I had to disable and wait for a fix before I can use on a live server.

    Shouldn't inventory get written to the players data every time a change is made!?

    All players on my survival map will play 90% of the time on the main map, so they wont change map, only 3 of us have OP to GM1, which leaves all logic up to when they log in. As its an existing server, It cant check the world group as its the first time they have logged in using multiinv.

    I only used the plugin for less than 5 hours, and we had duplication and inventory wipes, Im not sure what other information I can give you to try and get this fixed, Its not because im running Spigot 1.7.10 is it?

  • Avatar of Tux2 Tux2 Sep 13, 2014 at 19:47 UTC - 0 likes

    @GodsDead: Go

    Here's how MultiInv works:
    Player changes worlds-> Are the worlds in the same group?
    Yes: Save player's current inventory, load inventory of new group
    No: Does nothing

    Player logs in:
    Is player in the same world group he logged out in?
    Yes: Do nothing
    No: Save current inventory to group he logged out in, load inventory of new group

    Player changes game mode:
    Swap game mode inventories for this player?
    Yes: Saves current inventory to the previous game mode -> load last inventory for new game mode
    No: Do nothing

    Last edited Sep 13, 2014 by Tux2: formatting

    http://myfavs.me/bcs.pngDonate Bitcoins?1Lr7prAnqYpZe2UizvPKV2Cg4KSuj2weXb
    If you didn't take the time to read how my plugins work, don't expect me to take the time to diagnose your stupidity.
    If updates to my plugins depended on donations, they would never update. Donate!

  • Avatar of GodsDead GodsDead Sep 12, 2014 at 10:12 UTC - 0 likes

    @Tux2: Go

    I wouldn't be 100% sure on that, we have quite a few crashes due to a our mysql host going down a lot recently, but that's another problem and have never had inventory problems before. It was both unlucky that a crash happened while it was in the beta-test period, I actually trailed it on my dev server before hand with no issues, then again it never died on me! But it was a blessing as I only had to search through 17 UUID's to replace their inventory instead of resorting 10k+! So sadly this is an issue with Multiinv, Im itching to get this plugin working without issue.

    Save wise, That sounds a little dangerous, Im a little confused still on when saves happen for players inventory & Ender chests/Gm change. Is everything kept in temp until a world change? Because I never did a world change while I was trialing this plugin, my player that lost his inv did at one point to the End which is in the same group as my main world. Should saves not happen every 5 mins or so anyway? And there be an inventory history & restore function just in case? Most players keep all their valuable items on them.

  • Avatar of Tux2 Tux2 Sep 12, 2014 at 01:09 UTC - 1 like

    @GodsDead: Go

    Wow, talk about unfortunate... however that would have happened with or without my plugin, as I only save/restore the inventories when you change world groups, so the duplication and wipes was actually due to Minecraft not saving the inventory before the crash, which really isn't the fault of the plugin.

  • Avatar of GodsDead GodsDead Sep 11, 2014 at 21:35 UTC - 0 likes

    Hey Tux2! Massive fan of your plugins, and really happy I found this until after only a few hours of testing we noticed a players inventory was wiped, and another duplicated and anothers replaed with his GM 1 inventory.

    I know without a proper log of events (Is there a way to debug?) This will be difficault, Im a new user to Multiinv, Im using the Latest Spigot 1.7.10 with the latest version of multiinv & TuxTwoLib. First I tried the multiinv without a database connection, everything seemed to work fine, so I went off for dinner. During that time the server crashed due to something else that happned, and when it came up 1 of my players at the time had his inventory wiped, He said that it showed up for a split second then wiped itself, hes a mod, but generally only has access to /ban etc. I logged on and my inv had been duplicated, I previously empted my inv into a chest, and when I came back on after the crash it has given it back to me! Now this is one majour issue, The second I think is a seperate problem, If my admin left in Gm1 when he logged on his main gm0 inventroy would be his gm1 inv when he logged back on, I think this is because I have it set up via essentials/bukkit I think to reset GM to 0 when you log in and out.

    Now I tried to find a way around the inventory loss/dupe thinking mysql would solve this, so I updated to the latest Dev build just in case first, and enabled mysql, now, I kept HeidiSQL open so I could refresh the database live to see the data being stored, me and another admin's inventory was saved, but his essentails chest wasnt, and my normal/mod users inventroy wasnt saved, is this just a matter of timing?

    In the end I had to restore all players that joined in that times inventory using the previous backup and remove the plugin as I had no idea what was going on and couldnt risk lossing players inventory if something happened, this was all on one world, I dont even have a second world at present.

    Last edited Sep 11, 2014 by GodsDead
  • Avatar of SirPereira SirPereira Sep 08, 2014 at 10:32 UTC - 0 likes

    Hello,

    I am using Spigot 1.7.9, installed correct TuxTwoLib, and installed the latest version of MultiInv (1.7.9 v3.3.0).

    However, when trying to import Multiverse-Inventories with /multiinv mvimport it crashed and gave the following error: http://pastebin.com/H5BKrYdk

    From what I see it does not find a groups.yml, I don't know why. I use GroupsManager to manage my groups and permissions.

  • Avatar of Tux2 Tux2 Sep 07, 2014 at 05:20 UTC - 0 likes

    @NoahWL1: Go

    Most likely. If you have issues let me know.

    @leejuly29: Go

    I'll have to take a look. Just remember that I cannot account for all the changes inside of Cauldron. For all I know it could be that cauldron doesn't support it properly.

  • Avatar of NoahWL1 NoahWL1 Sep 06, 2014 at 15:14 UTC - 0 likes

    Will this work on Spigot/CB 1.8?

    Need an awesome Minecraft server? Then join now! IP: NoahCraft.zapto.org Server Website: MCNoahCraft.enjin.com We have: - Survival Games! - Creative! - MCMMO! - Factions! - PvP/Raid Survival! - MobArena! - 4GB Deticated Server! - 24/7 - More to Come! -Stop Reading This and JOIN NOW!

  • Avatar of leejuly29 leejuly29 Sep 06, 2014 at 06:28 UTC - 0 likes

    I use MultiInv is work fine in cauldron 1.7.2. But When I use in cauldron 1.7.10. Only can change SURVIVAL and Creative Inventories. I'm tiring to set groups.yml empty. When I switch different word. The Inventories doesn't be changed. How can I solve this problem. thx. (sorry for my English)

Facts

Date created
Aug 26, 2011
Category
Last update
Jul 05, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
MultiInv
Downloads
245,878
Recent files
  • R: v3.3.0 for CB 1.7.9-R0.1 Jul 05, 2014
  • R: v3.2.9 for CB 1.7.9-R0.1 Jun 22, 2014
  • R: v3.2.8 for CB 1.7.9-R0.1 Jun 15, 2014
  • R: v3.2.7 for CB 1.6.4-R2.0 Dec 16, 2013
  • R: v3.2.6 for 1.6.2 Jul 05, 2013

Authors