SimpleBackpacks
Description
SimpleBackpacks aims to be the simplest yet most expansive backpack plugin for Bukkit.
Just pop in the jar, give your users a permission node (or two for bigger backpacks) and be done with it.
Enjoy! ^_^
Features
- Simple command to open your backpack
- Ability to open other player's backpack (with proper perm node)
- Admin can set if death clears player backpacks or not
- Admin can set if death drops your backpack contents to the ground or not
- Admin can grant a perm node to exempt from emptying backpack on death (great for donators!)
- Backback size based on a simple permission node (Have 1 - 6 rows of backpack space).
Commands
- /backpack (player)
- Open your backpack (size based on your permission limit) or someone else's.
Permissions
- backpack.use
- Gives access to open a backpack with default limit of 1 row. (Aliases: /bp, /purse, /bag, /napsack, /satchel)
- backpack.use.other
- Give access to open other player's backpack. Other player MUST be online.
- backpack.exempt.empty-on-death
- Players with this perm will not have their backpacks emptied when they die.
- backpack.limit.X
- The row limit for that user. Only accepts 1 through 6 in place of X.
Default config.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Enable debug info in console debug-mode: false # Enable colors in console output color-logs: true # Should the user's backpack empty to the ground when they die? # A false value will leave the player's backpack contents alone. empty-backpack-on-death: false # If empty-backpack-on-death is true should we drop the items to the ground? # A false value will just make the backpack items disappear. drop-backpack-items-on-death: false |
Todo
Have a suggestion? Leave a comment!
F.A.Q.
- Why are my color codes turning into double question marks?
- Because your server is not properly setup. The Java environment must use UTF8 encoding. This is a shortcoming of Bukkit itself, and they have no plans to fix it as they don't feel its broken. If your server is on a remote host you may need to contact your host requesting this change. See this comment for more information
Metrics
This plugin uses metrics to collect stats! It only collect basic things such as version type, and players online. If you want to see everything, click on the graph. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.
@BillyGalbreath
Are you adding color support? I created a ticket for it but you don't seem to have answered.
Uploaded v1.4 (Jenkins Build #12)
Fixed:
Added:
@Klosjaarrr I can add this, no problem.
@Baffu Open a ticket and attach your save file. Also a copy of it with the data is should be. I'll work on it tonight when I get off work.
When a user keeps an item that has a special name such as &dThe Special Pickaxe or lore like &e4 Dammage then the & symbols are replaced with question marks in the backpack save file.
Are we able to fix this shortcoming of the plugin as all my donors are running their custom items.
Could you make a locale file (mainly to change 'backpack opened'), or add it in the config file? Thanks.
Uploaded v1.3 (Jenkins Build #8)
Fixed:
Added:
@lst96
Bug verified. Next time create a ticket at the top of this page. I'll have this fixed in the next few hours.
when I do /backpack <player> and try to remove an item it or place an item it just undoes it to how the person had it.
@BillyGalbreath
Great plugin dude! :) It's nice to see a backpack plugin where you can give players a specific sized backpack just through permissions.
I was wondering if it would be possible to add a permission node that would allow players to keep their backpack on death even if it is enabled to empty in the config? No worries if it's not possible. I know nothing about coding in Java... :P
Helllo, Great Plugin, Can you add Mysql-Support for BungeeCord-Networks?
Great plugin! Works well!
can you let Custom items be used in the backpacks such as i use a plugin Diablo drops or Mystic Drops thay dont work in this plugin.
How about a command where it is possible to have more than a backpack? "/ backpack 1" "/ backpack 2" and would be the size of the permission. Well would not know if it was so good an idea even crossed my mind
@JoaoEstrella What exactly are you talking about in regards to alpha chests? The save and clear commands? If this plugin saves changes to the backpack as soon as the player closes the backpack, there is no need for a "save" command. As for the clear command, seems ok but not sure when it would be a good idea to use.
@BillyGalbreath Ah, I did not realize there was more than 1 file for storage. Point taken.
Yes "/backpack reload" ! It would be good also try to get good things
<<code http://dev.bukkit.org/bukkit-plugins/alphachest/>>
alphachest <</code>> as some commands.@LHammonds
Thanks for the feedback ^_^
As for the suggestions, MySQL provides very little performance gains over flat-file YAML. So little it doesn't even matter. It would take thousands and thousands of entries to see any gains at all. Anyone saying anything different is sorely uninformed. This plugin gives every user their own YAML file, and at most there will be 54 entries (6 rows of inventory space * 9 items per row).
The reload thing I can do very easily, and I will include it in the next release. ^_^
Thanks for creating and sharing this plugin. It works great. I've been looking for a replacement to the "backpacks" plugin which is buggy and seems to be no longer in development and this is a perfect fit.
I did a quick test and it handles enchanted books, anvil-named items and customized lore.
Tested on CraftBukkit 1.6.4-R2.0, Java 1.7.0_45 (64-bit), Windows 7 (64-bit) and Ubuntu Server 12.04.3 LTS (64-bit) with PermissionsEx 1.20.3
Suggestions
For better performance, can you include the ability to write to a MySQL database and have an import/export feature to move between YAML files and the database?
Although not much of an issue presently with so few config options, but if you continue to add more options in the config, would you mind adding a "reload" option...example: "/backpack reload"
Thanks,
LHammonds
Uploaded v1.2 Jenkins Build #5
Fixed: none
Added:
Yes, please make a command so admins can look into their backpacks
It would be nice if the adm had on how to shake his players backpack.adm backpack / backpack [player] and thus could edit or remove items. thank you