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
I've installed this Plugin (TuxTwoLib too) and it generate the Files correctly. When I switch the worlds it works fine, but when I leave the Server and connect to the server again, my Inventory is deleted! What can I do that the Plugin works right?
In reply to Forge_User_52125851:
In reply to Tux2:
Don't work..
https://pastebin.com/gxZPUyz0
In reply to Forge_User_11515145:
In reply to Tux2:
Looks Alright
Hello again.
We love the fact that MultiInv works with Ender Chests, but was wondering whether there was a way when you have multiinv.exempt that it keeps the same Ender Chest?
Thanks
Rumple
Hello,
Whenever I move to a new world, it changes my inventory, even with multiinv.exempt . I would like it to change gamemodes for default players, but not admins (people with multiinv.exempt). Is there a way I can do this? Also, enderchests don't seem to be copying over between worlds.
Thanks,
Rumple
Getting the exact same error as Markez:
https://pastebin.com/3XRhPRxR
This plugin isnt working on my server. Can you help me. Here is the error :
please update your jenkins link/page and your github source code
this plugin isnt working for me... here is the error:
[02:32:20 ERROR]: Could not load 'plugins/MultiInv.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: TuxTwoLib at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:219) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:298) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at org.bukkit.craftbukkit.v1_11_R1.CraftServer.reload(CraftServer.java:727) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at org.bukkit.Bukkit.reload(Bukkit.java:549) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:629) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1285) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1145) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(SourceFile:37) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(SourceFile:9) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_112] at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:695) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:360) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:650) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:554) [craftbukkit-1.11.2.jar:git-Bukkit-cb61ac0] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
can someone please help me?
You need to also download and add TuxTwoLib. It's detailed in nice bold text in the description which you clearly didn't see.
"Starting with MultiInv 3.2.1 we now require the library TuxTwoLib to maintain compatibility across various minecraft versions"
Having an issue after I installed, in my spawn world, players are meant to receive a LobbyCompass, and then they did not have it in other worlds. After installing, they don't receive it in the spawn world, but instead receive it in other worlds, which before they did not. May someone please help?
@Tux2, error with new build: http://pastebin.com/3sytezGq
This build is only for Minecraft 1.11 and up. Also, it seems you have TuxTwoLib for 1.10 and not 1.11.
@Tux2
Thank you for TuxTwoLib 1.11! I know that you're very busy with other stuff, but could you please take a look into my ticket? We are not the only one that are struggeling with annoying NBT data losses. :( (see post #1752 from doublezout) https://dev.bukkit.org/bukkit-plugins/multiinv/tickets/299-disappearing-nbt-data/
@Tux2
Any news for 1.11?
@Tux2 Thank youuuuuu !!!!!! :D