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!
You might be hating me by now...
I found another little bug ... nothing major, more of a compatibility with a certain plugin.
Theres a plugin MoneyDrop.
This plugin makes monsters drop gold nuggets that when picked up disappear and adds funds to the Vault supported economy plugin. However now with the feature your plugin provides, when inventory is full mana bags pick up the items. So they do and all gold nuggest are picked up, and im sure that it also adds funds to the account. Well i wouldn't want this to happen. And i still would love to use both of those plugins with all features.
Could you look into it?
@TheEliteFour
Thanks :)
Hey nice Plugin, can you please reup the recipes pictures.
Thanks
Oh sorry the Proxy Block Dropbox -_-
@Atspulgs
I believe the functionality was removed due to issues with saving and duping in the past. Ill try to restore it but dont expect to much.
As for data values, Spout assigns them randomly so there is no true way of me knowing. Thats why I created /whatisthis.
Just hold the item in your hand and type /whatisthis
@TheEliteFour
Cool, Love this plugin and the new features are kicking some serious ass :D
Where can i get your item data values? Ive seen on your config we can change the recipes?
Oh and i used to be able to switch between bags without exiting the last.
For example i was in bag1 , while its still open i press num2 to open bag 2 and it would switch to bag two then but it wont work like that anymore. Is that something you did? Maybe it was the spout that has something changed? Its not very important but it would be nice to get that functionality back.
@Atspulgs
No it was an issue with my saving. Do not know how that slipped by me . . . . It is resolved now.
@gabriel11798
Plugins that have NPC's that need to store items can use ManaBags to do so. It removes the pain of serialization and reversing it back and persistence.
It is an API feature, not a user feature.
By "NPC support" what does it mean?
@TheEliteFour
i shall test it again then.
Edit: Tried ... no more exceptions however it still eats all items.
Would you like to have my plugins list?
Main ones using spout are mcMMO, JukeBukkit, dynmaps recognizes it, MoreRecipes, BookWorm, CustomSlabs, SpoutTrade(tried removing it, still no change), SimpleClans
These might use it since i dont really remember anymore: MobHealth, MoneyDrop
Edit 2: Just came to me... perhaps its essentials Disposal option?
@Atspulgs
It worked if plugins didnt try to do that :) Didnt test it against other spout plugins.
But yes it is resolved.
@TheEliteFour
Well yes and no... it worked to a point where it ate all the items lol.
But im glad youve addressed the issue.
@Atspulgs
No, it worked, however plugins trying o cast to SpoutBlock didnt like my FakeChest. But I did resolve it by implementing SpoutBlock as well. The issue should be resolved in 1.4.3. Enjoy.
@bluehasia
Impossible. Bags are not automatically given unless they have manabags.special.bag.*. The only way that can be inherited is if they have manabags.*.
If you were going by staff members on your server that is incorrect because ops DO have that permission so they would be given the bags automatically by default where players would not because they do not have the permission.
what? i did manabags.user.*
At the first glance it seems like the manachests dont work. this is what i get.
versions i run
error i get on placing the manachest
@bluehasia
Fixed stacking in 1.4.2
@josip1
it is working, I just tested it myself. Make sure you downloaded 1.4.1 and added the world name into the world.yml in the ManaBags folder. Also multiverse is a multiworld plugin. Multiworld refers to the ability to handle functionality over multiple worlds.
@bluehasia
As for your first problem, dont be lazy with permissions. manabags.* is not an acceptable permission. If you used that you just gave all your players admin over the plugin. And I did put in warnings to make the new permissions stand out.
As for the items each taking up a single inventory slot, I see that and will try to resolve that now.
it seems every one now has mana bags by defualt. and things stack in them with max stack as one on pick up
@TheEliteFour
You added multiworld support? I needed multiverse if it works for both it's not working....so i'm not sure what's up.
@pimsserver
Its a mandatory thing. The problem is that the inventories are actually virtual chests. This causes me to have to use 1 of two sizes. however, you can disable 1 or both and choose which slots each player can have, to kinda of offset the size.