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!
@TheEliteFour
Like that? Sorry I haven't done this before
@supyojwhite8
I just tested this wihout my vault or permissions, without vault it does indeed give the error but stops after I set Use-Permissions: false and everything works fine for me.
As a note please use Code tags for configs and logs. Could you just restart one last time with that as false and post both the log and config in code tags for me please?
@TheEliteFour
Use-Permissions: false Enable-Slot-1: true Enable-Slot-2: false Enable-Slot-3: false Enable-Slot-4: false Enable-Upgrade-Slot-1: true Enable-Upgrade-Slot-2: false Enable-Upgrade-Slot-3: false Enable-Upgrade-Slot-4: false Enable-Mana-Workbench: false Protect-Creative: true Use-xAuth: false Use-UltimateArena: false Use-Sound-Effects: true Sound-Effects-File: http://aesircraft.net/items/poof.ogg Mana-Dust-Texture: http://aesircraft.net/items/manadust.png Mana-Thread-Texture: http://aesircraft.net/items/manathread.png Mana-Cloth-Texture: http://aesircraft.net/items/manacloth.png Mana-Bag-Texture: http://aesircraft.net/items/manabag.png Mana-Workbench-Texture: http://aesircraft.net/items/magicbench.png Diamond-Thread-Texture: http://aesircraft.net/items/diamondthread.png Diamond-Weave-Texture: http://aesircraft.net/items/diamondweave.png Diamond-Weave-Upgrade-Texture: http://aesircraft.net/items/diamondupgrade.png
@supyojwhite8
It requires vault if your using permissions, can i see your config?
@TheEliteFour
I am using bpermissions, I turned it off in the config though and even got rid of my permissions plugin and I still get the same error.
@supyojwhite8
java.lang.NoClassDefFoundError: net/milkbowl/vault
If you not using permissions shut it off in the config.
Just swing it or use it like food.
Well all seems good so far, except how do you use the bags? I right clicked and it does nothing. Also, what is the mana orb gonna do?
Edit: just noticed this error that happens when i try to use it.
19:14:02 [SEVERE] Could not pass event PlayerInteractEvent to ManaBags org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:441) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven t(CraftEventFactory.java:168) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven t(CraftEventFactory.java:138) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:691) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java :169) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permiss ion at net.aesircraft.ManaBags.Bags.BagManager.getFirstFreeSlot(BagManager.j ava:33) at net.aesircraft.ManaBags.Bags.BagManager.addBag(BagManager.java:139) at net.aesircraft.ManaBags.Bags.BagListener.onAdd(BagListener.java:54) at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:301) ... 13 more
@QweSteR2221
Readownload from the GitHub link, I just compiled under 1.7 on accident, its now compiled right and should work just fine for you!
I have BioRage, and recompiling now, sorry uploaded a 1.7 version!
Sir, you must post this on the Spout offical website and forum
http://www.spout.org/
CraftBukkit 1.2.3-R0.2 Beta #2060 & 1.2.3-R0.3 #2083
SpoutPlugin build #988
SpoutCraft #1214
ManaBags-v1.0
Java 6.31 x64
2012-03-19 04:09:57 [SEVERE] Could not load 'plugins\ManaBags.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/aesircraft/ManaBags/ManaBags : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:287)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:211)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:56)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.UnsupportedClassVersionError: net/aesircraft/ManaBags/ManaBags : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139)
... 8 more