ChestBank
Pages: < Configuration > | < Commands > | < Permissions >
PLEASE report all bugs and suggestions as tickets using the Bukkit ticket tracker above
IMPORTANT for users updating from before v2.1.0
Version 2.1.0 introduced a complete change to the how chest data is stored. Data is now stored in an SQLite database and no longer uses YAML (.yml) files. If you have a version of the plugin prior to 2.1.0 that was not using SQL for storage, please change your storage method to SQL BEFORE updating to 2.1.0
The Officialish ChestBank
A ChestBank is a chest that you can place items in, but no-one else can access. Everyone who opens the chest sees their own inventory. The inventory is shared across all ChestBanks, so you can access your account from multiple locations.
ChestBanks can be accessed via a physical ChestBank location AND/OR using the /chest command (depending on permissions)
Features
- 100% secure item banking system
- Create multiple networks of ChestBanks that share inventories
- Limit access to specific ChestBank networks by name (see permissions)
- Limit the maximum number of item stacks a user can store in a ChestBank
- Admin commands to snoop into other peoples accounts (use with caution)
- A ChestBank in a single chest contains a double chest's inventory
- Whitelist/Blacklist option to limit items allowed in the Chestbank
- Optional creation and access fees (requires Vault)
- Option to turn all ChestBanks into Ender Chests on creation
- Access your ChestBank using /chest (permissions permitting)
- Support for YML or SQLite, with a YML to SQLite converter for pre 1.11.0 updates
- (SQLite Only) Delete any accounts where the player has not logged in for X days
- NO SPOUT PLUGIN REQUIRED
Review
Thanks go to luigi_vampa for his updated YouTube Review of ChestBank.
Installation
Put the JAR file in your /plugins folder, assign permissions and reload/restart.
Configuration
See the < Configuration > page for details
Donations
To show your support and help me justify to my wife why I spend so much time on Minecraft, please donate using the Donate button in the top right corner of this page!
Other Projects
Take a look at my other plugins, including SimpleSpawn, MyChunk & ATMsigns.
Suggest a Project
Got an idea for a project? PM me and I'll give it a look!
@Zombiemold
Hmm... I will have to take a look into this. Thanks for the details.
Getting this with the recent version, seems to be enchantment related. The plugin refuses to activate: http://pastebin.com/Z39qQYaS
my chests.yml: http://pastebin.com/rkneyHh1
I can also attest to the fact that "unsafe" enchantments break ChestBank atm. There are 2-3 plugins that allow for unsafe enchantments that provide new cool features to those items.
Found an NPE.
10.03 09:39:30 [Server] INFO Caused by: java.lang.NullPointerException me.ellbristow.ChestBank.ChestBankListener.onPlayerInteract(ChestBankListener.java:82)
I can't post the whole thing because Multicraft logs backwards.
EDIT:
I think it was caused by this:
Try dirty enchantments instead of normal enchantments, it seems like Tim The Enchanter crashes your plugin.
@Zombiemold
By all means if you want to make a converter I am more than happy to feature it here on the project page. Make sure you give me a short link so you can get some pennies from the clicks! :)
Regarding GitHub, there have always been repositories open for all my projects on my GitHub page ( http://github.com/jigsawspain ). The link has always been on the Repository tab, but I will add it to the Overview page now too. :)
OK. v1.4.4 is uploaded awaiting approval.
As of this release, any data prior to 1.2 (without world names in the chests.yml file) is no longer supported.
Also, and chests which may get orphaned (registered in chests.yml but no chest in the world) will no longer be removed from the chests.yml as the function was a pain in the back-side to keep fixing! If this causes anyone any problems, please submit a ticket, including your chests.yml and I will take a look at a manual fix.
@Zombiemold
I think I will take the bankTidy() method out of the plugin altogether... it causes more problems than it fixes! I think with the new protections etc there is little chance of getting orphaned chests (which was the purpose of bankTidy()) so it is possible surplus to requirement now.
I will remove it for the next release and hopefully these issues will go away!
Thanks for the detailed bug report. It was very helpful.
EDIT: Just to clarify, the issue was actually caused by the fact that you don't use any networks other than the default unnamed network. The bankTidy() method was trying to scan the networks node but failing because it's not there.
Newest versions broke with an existing chests.yml. Getting an error trying to load the plugin:
http://pastebin.com/Qf0pWScc
It will boot up fine if I let it make a new one, by deleting the old one.
This is the second time this has happened due to updates. I would greatly appreciate not having to restore all my player's items by hand again :(
My chests.yml http://pastebin.com/ZHY15MUu
@ellbristow
I could make a GUI migration tool for you.
EDIT: Since you're GPL, why not open a github repo?
And no I've uploaded 1.4.1 because I forgot to implement the whitelist/blacklist ignoring permissions... so chosen users/groups can ignore the whitelist/blacklist. (I'd created the permissions before but forgot to implement them)
I just uploaded v1.4 and what a cracker it is (if I do say so myself).
NEW FEATURES
UPDATES
@dfdgsdfg
I'm afraid this would be a lot of work, and it's not currently in high demand.
Perhaps if enough people suggest it, or if people would be willing to offer a donation to cover the time involved in making the migration tool... I would consider doing it.
I want to change from Item Bank to Chest Bank.
Can you make migration tool for this?
Here is Item Bank site.
http://dev.bukkit.org/server-mods/itembank/
@DarthLabrador
Bothe of these features have been requested by other users, and likely will be implemented.
:)
@Aspz
All players need to use a ChestBank is the chestbank.use permission. They do not need to use any command to open it. The commands are for admins, such as /cb create, which turns a chest into a chestbank.
Hello, I had a quick feature request:
Can you add the ability to have each *network* of chest bank limited by a permission node? so network SocialSecurity requires a different permission than network main
public static void main :D
Also, any way that you could add a transaction fee?
<3 this plugin,
Ares
I don't know if there is something i missed but, what exactly needs to be done to give players permission to have a default chest bank... I have a friend who can't bring up /cb or /chestbank because they lack the permission, but i thought they get the default permissions.. well by default?..
v1.3.4 uploading to fix the soft dependency on My Worlds (rather than MyWorlds)
@predawnia
Whoops! I'll correct that now. I got it right on my other plugins, must have hit space by mistake.
EDIT: Just realised what you mean... I need to ADD a space! That means all my plugins have it wrong! :(
@Technius
I would like to add specific permissions for each network, but have not yet had a chance to implement it. I know how it can be done but will have to play around with it to make sure it works with the existing setup. Thanks for the suggestion.
@SeoToX
Every player has their own account, and by default you cannot access it. However, if you have the admin permission chestbank.see / chestbank.see.networks you can see another players account by looking at the chest an typing /cb see {player name}. Be careful when using this method as you will have access to change the account. This permission should not be given away to users who are not trusted.
If my friend put some items to a chestbank, can i access for this?
If not, it is possible to yes?