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.
Suggestion====:
Consider making the backpack an item instead of an command aswel? (eg right click an inc sac and it will open the backpack - no /backpack or make the command a seperate perm.)
@rb2750
http://pastie.org/private/dthvsujcnbtnztaots3qiq
Still seeing that on disable
@LordKainzo
Yeah, I'll look into it...
@DrakonisVaughan
It's OP only :P
Is there a permission that says who can open another player's backpack? Because I don't want people going through other people's backpacks.
@rb2750
It seems we're having some issues with link failure. Other SQL plugins dont do this so its odd.
http://pastie.org/private/mk9z9awr9jqqm5gjyocgvq Thoughts?
@bluxd
Tested and works.... I havent tested drop-on-death yet tho.
@rb2750
Thanks for the link, everything working ok now. The DisabledWorlds option was just what I need. Great plugin!
Alright, well I failed on using reflection as it doesn't work on seperate classes... but here's a version which works on most of the latest craftbukkit's http://dev.bukkit.org/bukkit-plugins/backpacks/files/36-backpacks-v3-9/
@LordKainzo
Alright, yeah, It's with the very latest bukkit that it breaks... gonna use reflection so it works on every version.
@LordKainzo
Alright, let me try this on single player... one sec :p
@rb2750
100% sure its the only thing in the folder and there are no duplicate backpacks jars.
Here's a screenie.
@rb2750
Just tried in a fresh server with the latest craftbukkit-dev jar and Backpacks with no other plugins... same error.
@LordKainzo
Do you possibly have any duplicate backpacks jars, Try just backpacks on it's own.
@rb2750
Alrighty. I did redownload the file and re-uploaded, removing the old one first and it's still giving that error. Unsure...
@LordKainzo
Don't know. The UUID.yml file is always updated anyway as it wouldn't cause any major issues and either way, you could use it to find a players UUID :p
@rb2750
Just tried it again and its still seeing the same issue.
Very odd. Even tried removing the Backpacks folder and letting it recreate. Nothing.
Also is the UUID.yml file updated even with SQL enabled? would hope not! :3
Also to note, I am using 1.7.9 on the dev builds but I dont think I changed them between the beta tests we were doing.
@LordKainzo
Try just reloading the server again, or if not, redownload the plugin again. It seems that either the jar file is corrupt, or that the server didn't load the jar correctly. (Which is why you didn't spot it in previous tests)
@rb2750
http://pastie.org/private/dlbwt96d2l54rncvruxc8q
Was something not updated for 1_7_R3 ? The above cites something might be wrong on the latest here. Odd because I didnt see this on previous tests.
@ModifiedKevin
You need to upgrade your bukkit to the latest. (http://dl.bukkit.org/downloads/craftbukkit/get/02612_1.7.9-R0.1/craftbukkit-dev.jar)
@rb2750
No, I tried using 3.8, but I always get errors. (Using CB 1.7.2-R0.3) so I downgraded to 3.6
http://pastebin.com/qBTfYB7j (Error that I get)