BackPacks++
BackPacks
Hello there! Do you hate it when you're exploring your minecraft world and you find some shiny diamonds but your inventory is full? Well then this plugin is something for you! This plugin aims to be the best inventory-expander in the bukkit plugin world. While it is very advanced it's still easy to use and easy configurable. You can add as much backpack types as you want. If you have any question or suggestions, don't hesitate to pm me! (Asking things in a comment will not get support!)
How to use BackPacks?
Using the plugin is fairly easy. The default backpack recipe is a chest surounded by leather and the default size is 27. Since version 1.6 you can also open a backpack by right clicking in the air! When crafting a backpack you will notice it's name and the lore, the lore is a purple integer '0', now when first right clicking your backpack you will register it. A message will popup: You registered <backpack> : <id>. You will also notice the name of the backpack changed to: <yourname>'s <backpackname>, and the lore is changed to a purple integer which represents the id, your name and the backpack type (this may look ugly but it makes the plugin way faster and less buggy).
You will also notice the item has an enchantment glow, now we did this to detect wether an item is a backpack or not, since it's a custom enchantment don't place your backpack in an anvil because that will crash your client. You are also not able to put your backpack in your backpack, to prevent backception.
The default crafting recipe:
When registering your backpack, the output will be:
And when hovering over your backpack:
(I know it looks ugly but I'm currently searching a way to hide the lore)
A showcase of the plugin made by gyro89 (Many thanks to him!)
And another showcase by BukkitHelper (Thank you!)
Tutorial in Spanish Thanks to: geniusmarc1999
To do
I'm currently adding some fancy stuff like economy support, so players are able to buy backpacks and maybe language support. And who knows, maybe one day I'll add physics so players get tired when carrying around their heavy backpacks.
Thanks. Good work as always.
Found something again: unnecessary comment line in the config:
@darkness1999
Oh sorry, the name would be ender_chest. Do not replace _ by a space.
@darkness1999 Can you send me the stacktrace?
I'm not sure with this...(maybe I'm to silly to understand how this works but...)
I want to use an enderchest as chest item.
But if I do this I only get a NPE :(
@darkness1999
Oh, damn I forgot something, go inside the plugin.yml and remove the -SNAPSHOT, do this aso in the config.yml.
Bugs in 4.1.1:
I got those two when i started the server for the first time with the new version of backpacks installed. I recommend to reupload 4.1.1 :D
[11/05/2013 16:23:21] Failed to check for updated! [11/05/2013 16:23:21] java.lang.NumberFormatException: For input string: "411-SNAPSHOT" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at me.captainbern.backpack.pluginutils.Updater.getUpdate(Updater.java:38) at me.captainbern.backpack.BackPacks.onEnable(BackPacks.java:165) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:284) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:266) at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:315) at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:292) at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:252) at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:152) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
@McPixel
Hmm I was not able to reproduce this error :/ Anyways, I will soon release a new version and I hope this new version will fix it for you.
@CaptainBern
here my Inventory. SCREENSHOT
but when i open the 1.yml its just null and id.yml ( nextId: 3 )
- null - null - null
@McPixel
Can you do something for me? Go inside the BackPacks folder, then open up the folder of one of your players that has put an enchanted item in their backpack, open up that file (its a yml) and copy paste it/send it to me?
@CaptainBern
im using Spigot 1.6.4 R1.1 and your plugin version is v4.0.1
whats wrong dute ? :D
@McPixel
Hmm, what version are you using?
@CaptainBern
i found a bug :O
Watch this video hehe , cuz i have bad english :P
http://www.youtube.com/watch?v=XokWcOv557E
@delsolsi213
Actually I'm working on a fresh build that contains this feature :) (I will send you a message with download included when it is more stable)
Can you add a whitelist feature? so only items in the config can be placed inside the backpacks
@BillyGalbreath
Hope you will enjoy it :p
@CaptainBern
Sounds great! Downloading now ^_^
@BillyGalbreath
There is an option (playerbound) this means that when someone loses his backpack, someone else can't steal the contents. However that other guy can destroy the backpack (by throwing it in lava or so).
Read through the description and you covered one of my two concerns. You state backception is blocked. Good. But, can players drop their backpacks (death, or Q button, etc) and someone else can steal it and rummage through it, stealing what they want?
@temporizer
Uhm normal players should be able to do that too if they have the right permission. If they do /bp list <backpack-type> and then it should display the backpack id's that are registered. (Both commands are using the same code so if it works for the admins then it should also work for the normal players)
I'm not sure if adding a /bp delete command because, well what if someone types that in accidently?
This: if you do add the /bp delete, it would come up with a list of all currently registered backpacks, and the user can then do /bp delete [id] to delete a specific backpack (this would probably help other servers that have more than 1 backpack being able to be registered.) However is something I will probably add, it's a nice solution. Thank you for your support and don't worry about bothering me.
At the moment I don't really have much time because I'm developing a website. But when that's done I'll start coding backpacks again.
@CaptainBern
it would if it showed the id, but it doesn't :( I have backpacks.use and backpacks.list as perms. Even with backpacks.admin it doesn't show the id. Actually, the backpack.admin perm using /bp list [player] [backpack] shows the [id].yml file, but the 'normal' player can't do that. I think my previous suggestion would be better:
I think if you just add a command like /bp delete to delete all backpacks would settle the matter (for me anyways, because I have it set to only 1 backpack being registered at a time, not sure if other would benefit from that as well, but i'm guessing it would.) better yet: if you do add the /bp delete, it would come up with a list of all currently registered backpacks, and the user can then do /bp delete [id] to delete a specific backpack (this would probably help other servers that have more than 1 backpack being able to be registered.)
Thanks for the help, and sorry for bothering you.