ManaBags
What is ManaBags?
ManaBags is a plugin that gives users the ability to expand on their inventory permanently with Magic Bags and Upgrades! With the power of Spout, each bag is crafted with new items and resources! Oh and a portable Crafting Table!
How does it work?
Each player has 4 Bag Slots. Each slot able to be accessed through the keys NUM 1, NUM 2, NUM 3, NUM 4. These keys are configurable!
When a player crafts a Mana Bag and uses it, it is put into the first free slot. Each Mana Bag grants one Single Chest worth of inventory space on key press and is safe from death drops.
When a player Crafts and uses a Diamond Weave Upgrade the first Slot with a Mana Bag is upgraded to a Diamond Weave Bag, granting that slot the space of a Double Chest!
Mana Chambers are double chests in 1 block that are capable of being stacked. They are impervious to explosions and Ender Dragons and look awesome! They even work with LWC!
Diamond Workbenches can be opened with Numpad 0 after they have been equipped!
Any admin wishing to enable separate bags for a specific world only needs to put the world name in the ManaBags/world.yml file. Each listed world will have a separate inventory for the players bag, not separate bag slots.
Waiting on new release? Current Recommended Version: v1.4.9
Don't wait for this to be approved every time its updated, go here!
What are the recipes?

Custom recipes?
YES! Enable them in the config. The examples show you how they should be setup. ID-DATA for each item!
To see what the info on an item is, hold it in hand and use /whatisthis in game!
API?
YES! And the API is SIMPLE. Seriously can't mess this one up guys! The API also grants full NPC support!
Call,
ManaBagsAPI api = ManaBags.getManaBagsAPI();
then just do api.<whatever you need here>. It is non-static so your IDE can auto-complete. (Ease of use).
Features
- 4 Slots per user
- Portable Crafting Table
- Drop on Death Support CAN LAG
- Rich API
- Multiworld
- Auto Pickup
- New type of Chests!
- NPC Support
- Permission Support
- Command-less
- New craftable items!
- Hard Mode Option
- Customizable Textures
- Customizable Sound Effects
- Hooks into xAuth
- Hooks into UltimateArena
- Disable any slot
- Disable any upgrade
- Disable Portable Crafting Table
- Customizable keys
- Persistent, Enchantment/Death/Custom Item friendly!
Requires
- Spoutcraft
- SpoutPlugin
Optional
- Vault for Permissions
- xAuth
- UltimateArena
- LWC
Permissions
Easy
- manabags.user.*
- manabags.admin
Hard
- manabags.user.slot.1
- manabags.user.slot.2
- manabags.user.slot.3
- manabags.user.slot.4
- manabags.user.diamondworkbench
- manabags.user.nodrop.slot.1
- manabags.user.nodrop.slot.2
- manabags.user.nodrop.slot.3
- manabags.user.nodrop.slot.4
- manabags.user.upgrade.1
- manabags.user.upgrade.2
- manabags.user.upgrade.3
- manabags.user.upgrade.4
- manabags.user.manabench
- manabags.special.bag.1 - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.special.bag.2 - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.special.bag.3 - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.special.bag.4 - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.special.upgrade.1 - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.special.upgrade.2 - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.special.upgrade.3 - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.special.upgrade.4 - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.special.diamondworkbench - Auto-gives bag for this slot (ONCE GIVEN, CAN NOT BE TAKEN REGARDLESS OF PERMISSIONS!)
- manabags.admin
Commands
- /whatisthis - Tells you the id and data of the item you are holding
- /givebag playername - Give a bag to a player if they have room\
- /givebench playername - Give a diamond workbench to a player if they have room
- /givebagupgrade playername - Give a bag upgrade to a player if they have room
Special Thanks
Thanks to the GiftPost team for the modifications on the VirtualChest source and thanks to whoever originally made that source to begin with!
Want to help?
If you wish to support this plugin and my future endeavors please use the donate button at the top of the page. Every cent helps!
BEFORE YOU POST A COMMENT
Make sure you give me a copy of your FULL server log in CODE TAGS and your config file IN CODE TAGS. Otherwise you are expecting me to read your mind, and that's not going to happen.

-
View User Profile
-
Send Message
Posted Apr 24, 2012WOW!
this plugin is just awesome, thank you!
i just think that the bags are a bit too huge but oh well
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Dracogath
I resolved that issue, please update to 1.4.1
@Faceater
In theory it should.
-
View User Profile
-
Send Message
Posted Apr 24, 2012Does this work with Lockette?
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Dracogath
Looking into that now then.
-
View User Profile
-
Send Message
Posted Apr 24, 2012@TheEliteFour
Great mod, i'm just having one small issue... a placed ManaChamber seems unremovable... I might be doing something wrong, but the block is immediately restored upon breaking. I am the person who put it there, so it not that, and I am currently not using any permission plugin on my server. Any insight would be helpful,
Thanks
Dracogath
-
View User Profile
-
Send Message
Posted Apr 24, 2012@josip1
There you go, multiworld added. Look in the world.yml file that it creates in it's folder. Just put the world you want to have separate bag inventories in there and it will! You do not need to restart the server when you add/remove worlds, though I do suggest it to avoid issues.
-
View User Profile
-
Send Message
Posted Apr 24, 2012@DerDarcion
[SEVERE] Could not pass event PlayerInteractEvent to MoreMaterials java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftPlayer cannot be cast to org.getspout.spoutapi.player.SpoutPlayer at net.morematerials.morematerials.listeners.SMListener.PlayerInteract(SMListener.java:223)
No this is morematerials not playing nice with spout. Would honestly of expected more from a Vanilla Team member.
MoreMaterials for one is Unsupported as you can see here http://forums.spout.org/threads/fun-rpg-morematerials-v1-6-2-unleash-the-power-of-custom-blocks-and-items-spn-737-cb-1-1-r4.70/.
Second they use this,
SpoutPlayer player = (SpoutPlayer)event.getPlayer();
That is what the issue is, the proper code is
SpoutPlayer player = SpoutManager.getPlayer(Player);
This issue is because the plugin was not coded right, not because of ManaBags. ManaBags is not even listed in that error at all.
Just to add in, the fact that this happens while my plugin is in is fully circumstantial. and here is why,
at net.citizensnpcs.resources.npclib.PathNPC.handleMove(PathNPC.java:156)
Says that an npc is moving.
at net.minecraft.server.BlockPressurePlate.a(BlockPressurePlate.java:75)
Here says that npc stepped on a pressure plate.
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:175)
Here it says that craftbukkit threw an event for it.
at net.morematerials.morematerials.listeners.SMListener.PlayerInteract(SMListener.java:223)
Here it where it crashes.
This chain is citizens > craftbukkit > spout > morematerials > crash.
Anything outside of that chain is completely unrelated. 100%. Nothing to do with anything.
-
View User Profile
-
Send Message
Posted Apr 24, 2012@DerDarcion
I already throw events for inventories and supply an external API for enabling/disabling features. Chambers should already be protected.
If any plugin is not hooking into proper events and not utilizing the API because they choose to be difficult then they are at fault for the incompatibility.
I would then suggest you tell them to hook into InventoryOpenEvent and use it as needed. I am sorry but I can not patch up every flaw resulting from improper coding.
-
View User Profile
-
Send Message
Posted Apr 24, 2012version 1.3.3
can you hook into Worldguard or the Arena Plugin "War" ?
and i think your plugin dont like morematerials
without your plugin all works fine.
-
View User Profile
-
Send Message
Posted Apr 24, 2012Sick updates man :) Really happy about them hehe
Just one more thing to make this near perfect. Interface it with multiverse inventories
http://dev.bukkit.org/server-mods/multiverse-inventories/
Right now they share between worlds...when I have normal inventory not...so if you could make so they don't it would be awesome! You could use the multiverse inv API or just make a separate thing for different world inventories for just the manabags.
But seriously EPIC!
-
View User Profile
-
Send Message
Posted Apr 23, 2012@Atspulgs
Finished your request.
-
View User Profile
-
Send Message
Posted Apr 23, 2012@lipe124
Nope a mistake, just fixed it. Download 1.3.3. Sorry bout that!
-
View User Profile
-
Send Message
Posted Apr 23, 2012Just loaded 1.3.2 and I'm seeing these in the console: 23:58:05 CONSOLE: [INFO] remaining space: 0
Is this a debug setting?
-
View User Profile
-
Send Message
Posted Apr 22, 2012@Drehverschluss
Added events as requested.
-
View User Profile
-
Send Message
Posted Apr 22, 2012@josip1
Added commands for giving bags/upgrades and made permissions that do the same.
-
View User Profile
-
Send Message
Posted Apr 20, 2012@pimsserver
I use chests. So that is impossible. 2 sizes, small and large.
-
View User Profile
-
Send Message
Posted Apr 20, 2012@erdrickk
I do not handle that and there is no API as of yet for death drops, I will look into fixing that
As for the logs, it means it is not writing a file somewhere, sounds bad. Thats an OS issue though.
-
View User Profile
-
Send Message
Posted Apr 19, 2012it would be nice to be able to make it one line for items (9 slots) for each upgrade. maybe as option in the config
-
View User Profile
-
Send Message
Posted Apr 19, 2012one more question - I get this in my logs - what causes this?
12:24:22 [SEVERE] [ManaBags] Failed to write bag file! 12:24:22 [SEVERE] [ManaBags] Failed to find bag file! 12:24:22 [SEVERE] [ManaBags] Failed to write bag file!
-
View User Profile
-
Send Message
Posted Apr 19, 2012How does this work with DeathTP? DeathTP drops a chest when you die. Will it still only drop your main inventory and not empty out the mana bags?