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.
@LordKainzo
Alright, really appreciate you testing this :) Try this one: http://dev.bukkit.org/bukkit-plugins/backpacks/files/33-backpacks-v3-8/ I've fixed the death dropping and a few other glitches, please retest now :p
Testing latest upload.
1
Some odd issues, despite having the appropriate permission - I only have a 9 slot backpack (op and * permissions). My backpack somehow shrunk when I viewed a test user that only had the permission backpack.1.
2
The contents of the user's backpack now became my backpack.
3
Another user got on with the perm for backpack.5 - I viewed there backpack and then opened mine - I now have the 5x9 backpack. It seems to inherit from the user and doesnt react to the permissions that the admin viewer has.
4
The shut down error is now gone.
@rb2750
Sounds fancy :)
Next question - are NBT tags on items stored and recalled? I'm working on a custom items framework and it will use NBT for speed.
Thanks :D
1
Also - there seems to be some conflicts with ChestCommands plugin.... as soon as I restarted the server this is what was in my Backpacks.yml file.
http://paste2.org/f9890LZ9
2
Note the above paste is our actual "Starter" ChestCommands menu and it does use the Chests window to present a nice GUI.
http://dev.bukkit.org/bukkit-plugins/chest-commands/
3
After a little more testing... I can /backpack and i dont see the items that are actually in backpacks.yml ... so that's very strange. Just wanting to report it to you anyways.
4
Further testing... I deleted the folder again and tried to reproduce this on the latest and I couldnt. I'm guessing this was a conflict somewhere. Seems to be working fine, going to connect SQL now and see what happens.
5
More testing. When a player joined for the first time, I saw this when I tried to /backpack NAME
http://pastie.org/private/8kl317u6rbi794r19elaw
6
It appears that items in the backpack do not drop on death, the only permission I have granted is "backpack.1" to the test user on my test server. The config is set to drop-on-death: true
7
Noticed this whenever I shut down the server, this may have been caused by #5
http://pastie.org/private/uqfmpa1mxsrayjvqhprctw
@LordKainzo
I don't believe there would be a single issue, I understand the only real reason of SQL being used is for lilypad/bungeecord linked servers. I have thought ahead and therefore made it save SQL whenever a player closes their backpack (Run Async to be sure it won't cause lag). So no, I think it would be fine. :)
P.s. you may not be able to test it out for a few days, as the admins usually take around 1-3 days to review, and approve each file.
@rb2750
So rb2750 ... I'm in a multi-server setup with bungee. If I hook into the same database for the backpacks, I foresee some issues - have you thought about this? I haven tested it yet but the way bungee works... it connects the user to the new server first and then disconnects... so if there's lingering database connections or saves to do, it will have conflicts.
Just thinking ahead! I'll test out that 1.7.9 version soon but I dont foresee any issues :D
drop-on-death: true doesnt work :/
Spigot 1.7.2-R0.4
@rb2750
Can we get the 1.7.9 link posted on here? I know it hasnt been approved but it may be another week or two and I want to test stuff now ;)
@LOLniqqa
Well I mean, if you can prove this, Then I'll fix it. But currently I think your just taking the piss, So go away unless you have a real matter to prove.
This looks interesting...
That's right, kids. Keep adding this to your servers, can't wait to hop on and start exploiting :D :D :D
Thank Plugins For Crer this works perfectly!
==Thank Plugins For Crer this works perfectly!
@Siggi89
Seems like a good idea, I'll try and get my own website up :)
@LOLniqqa
Just to let you know, I have absolutely no idea who you are. I have never threatened to, or ever, DDOSed anyone.
i like to craft the backpacks.
@LOLniqqa
sounds like you recited that.
@LOLniqqa
Hey there LOLniqqa. Nice name, I don't think anyone's going to believe a word you say.
@rb2750
You could host the latest version of the plugin on your own website and add a link to your website with the latest version download as well. Just make sure next to the link it says "These builds are not approved by the Bukkit Dev team, use them at your own risk" so that your plugin won't get taken down by Bukkit Dev.
@LordKainzo
Oh infact yeah it would be a good idea for me to update to uuids, gonna do it now. As for the Sql, Possibly, I'll think about it. And lastly, yes, when they accept the file.
@rb2750
1) Is this UUID compliant?
2) Is there planned SQL support?
3) Does this work with 1.7.9?
I'm currently using the Spoutcraft created backpack plugin - which is a bit heavy handed and may not be updated for UUId's
Appreciate it!