Realistic Backpacks
Realistic Backpacks is a plugin not similar to the other backpack/inventory extending plugins, but a unique experience. Backpacks are represented by a configurable item, not virtual commands. They also will give realistic features of what a backpack would give upon a user in real life, including slowed movement, increased need for hunger, and others. Of course, all of these features are customizable and can be turned off. If you just want backpacks that are opened via items and not commands and nothing else, then this plugin is also for you.
Features:
- Full customization of almost all features
- Lightweight as possible
- Flatfile and MySQL support
- Backpacks are items, not virtual commands
- Supports economies, and can purchase backpacks via commands
- Create multiple backpacks
- Custom recipes for backpacks
- Customize the names, lore, and item for backpacks
- Option to use a whitelist/blacklist for items with backpacks
- Backpacks can slow your movement speed
- Backpacks can increase hunger/decrease the amount of hunger food gives
- Full customization on what to do with backpack on death
- Admin friendly
-
Permissions:
<backpack> = Backpack name, example: rb.exampleBackpack.craft
Command Permissions:
- rb.reload - Access to the '/rb reload' command
- rb.list - Access to the '/rb list' command
- rb.filetomysql - Access to the '/rb filetomysql' command
- rb.<backpack>.buy - Access to the '/rb buy' command
- rb.<backpack>.give - Access to the '/rb give' command
- rb.fullview - Access to the '/rb view' command without restrictions
- rb.restrictedview - Access to the '/rb view' but can not edit the backpack in view
Backpack Permissions:
- rb.<backpack>.use - Can open the backpack
- rb.<backpack>.craft - Can craft the backpack if recipe is enabled
-
Commands:
Player Commands:
- /rb list - List all backpacks with their sizes and prices
- /rb buy <backpack> - Purchase a backpack for the price in the config file
Admin Commands:
- /rb reload - Reloads the config and messages file
- /rb filetomysql - Transfers the flatfile data to the mysql database set in the config
- /rb give <player> <backpack> - Give a player a backpack
- /rb view <player> <backpack> - View a player's backpack
-
Links:
-
Features that involve an economy require an economy plugin and Vault.
Consider donating to support the development of this project.
@Undust4able
Yeh, like I said in a previous comment, I've been working on that. It's difficult because I'm giving the backpack a owner and a id for the owner. Which could lead to letting players only create/buy a certain amount of backpacks and other possible features.
Plus school started up again and I have testing.
I really want to see a backpack registering feature to make every backpack item unique, it should be a &0 (black) coloured number in the lore (so it will be hard to see for players), that will identify this backpack from anothers, I think you know what I mean. Like, player can put some items in his backpack and drop it to the ground, leave it for other players. In your plugin, backpacks are just like a custom Ender Chest with some extra features :(
@slayr288
For instance you see how a Diamond Sword has +7 Attack under it's name? My special tools would have +10 Attack etc. instead however they get reset upon retrieving the items from a backpack, (if that's what you are asking) I'm using EpicBossGoldEdition for the special equipment if that helps any.
I don't know if there is a way for your plugin to handle those types of attributes and save them but if there is a way it be really nice xD
EDIT: Well somehow I tried it again but this time using Blacklisting for those items with lores, it didn't prevent me from putting them in the backpack but it didn't take away the bonuses either so I'm not sure how to replicate the issue from before, probably just a mistake on my end so I apologize if so.
Thats great! Im looking forward to the update.
The backpack-lock-code-thingy I requested can always be a plan B, if what you're planning on doing doesn't work out. I can imagine coding the seperate backpacks is quite a hustle.
In any case, great job on the plugin so far :)
Seworian
@Onewingseraphim
You would know more than me about how your special attributes get removed, how exactly do you give/check if a item has special attributes?
@slayr288
It was already working like enderchests for me though :o If I put something in a small backpack and make another small backpack the items were in both backpacks but they aren't copied so you can't cheat with it.
Also I'm using a plugin that gives certain items special attributes like Attack +10 etc. When I put them in the back pack they get removed, this doesn't happen if I put them in a normal chest or enderchest just in a backpack, anyway to fix that?
@shadvalentine
Hmm, I can try to make it optional, but if not you can always use v1.6.4 and not update, as it won't break with future minecraft updates.
@slayr288
I like the way the backpacks work now (like enderchests) .. will this be an option to use it as enderchest mode or independent?
Making progress on all backpacks being independent from one another,
should be done by tomorrowtaking longer than I thought, no ETA.This will mean that dropping/giving someone your backpack will let the other player see the contents and take them/put items in, backpacks of the same backpack category will be unstackable, and other things.
@Onewingseraphim
I don't have the example backpack in my config anymore and we don't get that error at all from this plugin. I'd give your config another good look over, it may be something else causing your error.
@Onewingseraphim
Nevermind seems that if you don't keep the examplebackpack in the config it spits out that error constantly. So copying the example back into the config fixes it.
I'm getting this error spammed in my console not sure what it means :/
http://pastebin.com/M6wxXk5h
@MikeGold
Should be fixed in the latest versions.
@Seworian
I'm planning on adding individual backpacks within a backpack group. This would fix the issue.
@shadvalentine
I'll see if that is fixable.
@sakura_blades
the "bug" is that when it is stopped from being opened it deletes all its contents .. I am not worried about not being able to open it.
@shadvalentine
Considering the backpack is a container, I wouldn't call this a bug. It's essentially a virtual chest that you can customize.
I have found a bug with this plugin and PreciousStones .. When you try to open your backpack when in a field that does not let you open containers it will not let you open it .. and when you leave that field and are able to open it everything that was in it is now gone.
This can be duplicated over and over again.
Hi, I checked out this plugin and it works great! no flaws, except for 1! You can use the backpack to work as an Enderchest, even when drop contents is turned on. Simply put an item in the inventory (lets say a mined diamond, but you will die on the way out), just through away the backpack and die! As soon as you get your new backpack, the diamond is still in it. A very huge flaw if you ask me.
I also made the backpack undroppable but players can still place the backpack in either a chest or even a furnace.
My request: could you create a code which makes the backpacks locked inside the players inventory? That way if they die, they MUST have the backpack on them in order for it to drop the contents:)
Hope you can make this possible! This is by far the best backpack plugin out there!
Seworian
I'm using this plugin for a good while now. Personally I can't complain about it one bit. Everything works for me as it should, never had a single issue. BUT! I've got a user, that reported to me twice, that some items from her backpack magically disappeared. I'm running a small server with friends and family only, so I cannot suspect the possibility of scam. All she had told me was that she put some diamond pickaxes into the backpack, and next time she checked it, they were gone. I was not able to recreate it, there was no error in the log, and the plugin files looked ok. The server was not abruptly closed. Did you had any reports of that sort in the past? (Both reports are from the version for 1.6.4. Now I've upgraded my server to 1.7.2, and did not had such issues so far).
Is there a way to block the backpack from being dropped from inventory? Or a way to only allow one per person in inventory?
Thanks.
@ghostring98
I found this plugin incredibly difficult to configure properly myself, I think the file is way to sensitive or something. Any way you could provide a pastebin of your configuration, perhaps I can spot what may be up with your file?