Backpacks
Backpacks
What is it?
Backpacks is a plugin that provides each player with a backpack in which they can store items. You can configure how much space each player's backpack has, as well as other aspects of the backpack, using permissions (see below). I have recently added SQL support that enables the backpacks to work cross-server if you use servers linked by bungeecord, lilypad etc. A recent addition to the plugin is that if a player with a backpack has a full inventory and they pickup an item, it goes into their backpack.
Permissions
backpack.1 Sets the backpack to the size: 9x1
backpack.2 Sets the backpack to the size: 9x2
backpack.3 Sets the backpack to the size: 9x3
backpack.4 Sets the backpack to the size: 9x4
backpack.5 Sets the backpack to the size: 9x5
backpack.6 Sets the backpack to the size: 9x6
backpack.keepOnDeath Allows players to bypass the config value for dropping items on death.
Commands
User Commands
/backpack Opens the backpack you have permission for!
Admin (OP) Commands
/backpack [Player name] Opens a player's backpack.
Configuration
Drop-On-Death
If this is set to true the content of the players backpack will drop on death. If the player had the permission 'backpack.keepOnDeath', this would not affect them.
Title
This is the title on the top of each backpack. On the example backpack it is "Your Backpack". You can set a title for each size of backpack (1 to 6).
DisabledWorlds
Here you can define the worlds in which players cannot open their backpacks incase you have, for example, a creative world.
@FPSUsername
Do you mean the items arent dropping on death?
@rb2750
I used your v4.0 beta, still not fixed. Can't drop items :(
Hey awesome plugin! A few suggestions:
@LordKainzo
Alright, try this one out: http://dev.bukkit.org/bukkit-plugins/backpacks/files/37-backpacks-v4-0/
@rb2750
thankies :)
@LordKainzo
Ah cheers, might be :)
@FPSUsername
Alright.. looking into it.
The next update should contain a load of bug fixes, sorry it's taking a while to come out, I just have to make sure I've properly fixed them.
@rb2750
Also - the issue with disabling on shutdown - it means you're running an async task onDisable when you shouldn't be continuing creating tasks/events onDisable...
I could be wrong but we were seeing this issue on our inv plugin
Bug found.
Running spigot 1.7.9 + backpacks v3.9
I can not drop an item, only in stacks.
@LordKainzo
Alright, thanks.
@britaniacraft
Gonna look into it.
https://www.irccloud.com/pastebin/oKxOAdZD
Also saw this in tests.
<<reply 2173781>>
Thanks!
May also want to include this stacktrace in the bugs - https://www.irccloud.com/pastebin/oKxOAdZD
<<reply 2173961>>
Britania - please include all stack traces you see.
It was a fresh install.
Some players got "Opening backpack..." and that's all. Also if I give to a player an upgrade (more slots wirh perms) he cant open his backpack anymore (Invalid backpack). I got errors in console related to getPlayerBackpack on line "if (backpackSection.contains(key)" (NPE)
@LordKainzo
Alright I'll look into all these now.
@FPSUsername
That's what the 'disabledworlds' feature is for. You can just add the name of your creative world to that to disable it in a world.
@antoinedjazz
Okay, sure.
@britaniacraft
It may not work with a really old backpacks file, try deleting it.
So much errors... Sometimes backpacks are wiped, or players cannot open them (latest version of Backpacks)
Does this work with multiverse inventories? So players won't be able to cheat stuff from crea to survival world?
@rb2750
Looks like backpack is still referring to itself as 3.8 when 3.9 is in and im seeing this InventoryCloseEvent issue http://pastie.org/private/ozvuoplzcijguxms8mbfdg
Also seeing some weird things when a player picked up items that had lore and other things attached to them..
http://pastie.org/private/goceg2wldmwji3j7qzta Looks like it stripped the lore off the bow and only left the enchantments. If we use the backpack plugin we will need support for all meta and lore (including NBT tags because vanilla stuff will be used that works with NBT)
if this happens, it wipes all items in my backpack.
hi rb2750, in a next update could be made a file to change the language (a .yml in the same folder as the config.yml)? (To change these messages: "Loading backpack..." and "Backpack closed")
Thank you, your plugin is really interesting, but I cannot put it on my server if I cannot translate it.
@rb2750
I never issue reloads and I never upload files when a server is online (unless a file doesnt exist)
This happens every time I stop and restart the server.
http://pastie.org/private/9ouswbwrfub6acndorw
Ill throw in the latest upload here and make sure it works - ive been on the road and not on my normal machine. Thanks RB!
@LordKainzo
If you upload the plugin while the server is online and then reload it can do that...
@jackc45
May not work with old versions of the config.
@roshi1000
Yeah, I've already started work on something a little like that :p
When I type /backpack it responds with: Loading Backpack... Backpack invalid!
Console says this: http://pastebin.com/nch96Jh7