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.
@chakyl
What do you mean by that? I can make multiple backpacks where the white list is working on both of them and other where its disabled.
So I don't have any bugs right now.
@slayr288
Ah, thanks.
Edit: Seems like the whitelist for the other packs in the same config are not working. Tried tinkering around for a solution, but I can't figure it out.
I made a fork and I tought I pushed it to Github but clearly it didn't There was a bug in your whitelist/blacklist. It prevented named items to be placed in the backpacks if you only allowed certain items.
For Example I whitelist a diamond SWORD, but if I rename my sword it can't be placed inside the chest anymore.
So it only needs to check on item type to avoid blocking renamed items.
I send a pull request :)
is there a way not to have backpacks linked if i have more then one of the same.
@chakyl
You didn't put the exact name of the backpack in the blacklist. It's cap sensitive.
Getting this error when when putting black/whitelisted things in the backpack: http://pastebin.com/s8RJUphc
Config: http://pastebin.com/J5w3t283
@Wonkee
Fixed in v1.5.1
@slayr288
Moving them in/out of chest, enderchest seems to clear the glow for me randomly.
@RFSMassacre
Is there not a specific event that causes it to stop glowing?
Works very well but has a bug where the glow effect stops working randomly.
There is a huge incompatibility with the dtlTraders plugin people should know about.
If you right-click a trader npc with a backpack, close the inventory that opens, then right click the trader one more time with the backpack- the backpack will then dupe the trader's entire inventory. This replaces every slot of the backpack with the trader's inventory.
More than 1 backpack of name/size, is that possible?
Hey, meine Selbst erstellen Backpacks kann ich nicht öffnen why ? ___________ Why i cant open my Backpacks ?
works now thanks for responding so fast!
@Nickbbeezy
Added your suggestion in the next upload
@Abstracter
Nickbbeezy's suggestion should solve that.
Any change of getting a new item added that represents the backpack? Reusing an existing item is confusing to users.
Otherwise we love the plugin.
@delsolsi213
Make sure you have the use whitelist option set to true and that your config is parsed correctly. Pastebin a link to your config and I'm sure someone will check it for you
@Nickbbeezy
Hey im having issues with the whitelist i added items from a mod and didn't work so then i added stone as - '1' like the example on the blacklist and it doesnt allow me to put stone either, how do i add items to the whitelist? or is it bugged
Would it be possible to make the backpack glow with an enchanted effect?
Hey this plugin is pretty cool, do you think you can add a feature to the item whitelist for not just items ids, but such as item with certain lores and names?