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.
@temporizer
There is a /bp list command for normal users; if admins do this command they will see a list of backpacks of the whole server but when "normal" users do this (and they have the right permission) then they will see a list of their backpacks + id :). Could this fit as a temporary solution?
@CaptainBern
Thanks for the quick reply.
If you add a command to change the id of a backpack, the problem still exists if a player doesn't know what the id of their last backpack is... or just doesn't pay attention to it. 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 your help.
@temporizer
Thanks for the feedback; Would adding a command that allows you to change the id of a backpack also be fine? It's not that difficult to detect when a player loses an item but the only problem is that it will eat lot's of server resources, it won't be reliable etc... But I will do my best and see what will work the best for your situation. Thanks again for the nice feedback :)
Hey CaptainBern, Very nice plugin.
I do notice something that could be problematic (at least for my server YMMV):
If you have the backpack in your inventory, and you die in lava, you lose the backpack and have to create a new one. (thats not the problem, per se)
I have my configuration set so only 1 backpack can be registered at a time, and the players are UNABLE to share their backpacks. Is there a way to make the plugin so it recognizes the last registered backpack and just reassigns it to the new one they craft? (maybe a configurable option?) I want them to be able to keep their stuff, kind of like a mobile enderchest, when they die in lava. That way, they don't have to go through the hassle of /bp delete BackPack [id], especially if they forget the id number of the one they lost, but they DO have to go through the hassle of getting the items to craft a new one ;)
or
make it so they can just /bp delete, and it deletes the last registered backpack (since my configuration is to only have 1, I think this might be better, and easier to code) (if this is doable, i can just scratch my first idea about letting them keep their stuff when they die in lava, haha)
Thanks again for a kick ass backpack plugin!
-temporizer
@TheLTDude
Thank you very much sir! :p
BEST BACK{ACK PLUGIN EVAAAH!!!!!!!!!!!!!! CaptianBern Thank You For Making My Server Better :)
@ailmanki
Thanks!
@CaptainBern
I don't want that either, version dependencies or any other crap, I just hoped it would be as simple as giving it a path to an image. Its very nice as it is already!
@ailmanki
Well, it uses pure bukkit code so adding this would me require to work with thaumcraft and other mods. I will take a look at it but to be honest, I don't think it will work. Bukkit provides a nice way of creating the inventory, and that's what the plugin uses. If I add the support you ask for I will need to code on "NMS" level, this is the part of bukkit that is coded by mojang. This also means that the plugin is no longer version independant, and that's something I don't want :/
This works perfectly, I exchanged the chest item with a 'focus pouche' from thaumcraft. And it works perfectly. Only missing thing is the inventory skin which it still uses from the chest (actually thats no surprise), as that focus pouch comes with its own inventory skin. So it would be nice if we could choose the skin it uses, if thats even possible. Some servers require anyway some mods, so they might already have some skins which could be used?
@darkness1999
Oops. Changed, thanks.
You can actually use Backpacks with a size of 54. You should change this in the config because you said "under 54" but with 54 the GUI doesnt look weird.
Hey remember me I am from that server you were on to try and fix my problem where a lot of backpacks became inaccessible have you dealt with it yet?
@ArtisticPixel
Yes I'm thinking about adding this also for the bypass permission. But since many things have changed with minecraft 1.6.4 / upcoming 1.7 the updating will take a while. (I used to load recipes trough the ID, but now that will no longer be possible so I need to change it to use names:subid :/ )
Could you add permissions for custom backpacks?
Example: backpacks.use.<backpack name>
This would be REALLY useful for separate backpacks. Please make this!
@BountyhunterXTC
Yes, this is very simple; Open the plugin jar with a archive tool like 7zip or winrar, then open the plugin.yml file; go to the permissions section, and then look for the backpacks.use permission and change default to true.
Is there any way you can make use permission default to on. That way I don't have to use a permissions plugin just to use yours.
@thibbo
Not possible; The plugin uses a custom enchantment wether to determine an item is a backpack or not, but minecraft crashes because it doesn't recognice the enchantment. And also the enchantment is there because else players can just take an item and set the name and then have a free backpack. :/
Hi. Very nice plugin. Changed my life. However, a crash occurs when using the backpack on the anvil. I wanted to change its name. Could be an improvement?
@WhatDoIPutHere
I'll look into that since more users reported this problem...