Vaults
Vaults is a simple, lightweight plugin that allows players to have a configured amount of personal chests accessible through the /vault command. All of the personal chests are stored in flat file or MySQL and are cached for best performance. Personal chests act in a very similar way to enderchests and are a fantastic donator perk.
This plugin works very well for server running BungeeCord and are looking for a way to share inventories between servers. In this scenario, it is suggested that MySQL is used and caching is turned off to reduce risk of item duplication.
Source code: https://github.com/LeviRosol/Vaults
Features
- Players can be given up to 1000 personal vaults
- Can be stored in flat-file or MySQL
- Vaults are cached to optimize performance
- Vaults stored in MySQL are compressed to reduce data transfer.
- Admins can view anybody's vaults if they're online or offline
- Vault inventory can have a custom amount of rows
- Custom error messages
- Drag and drop install
Commands
/vault | Opens a player's first vault | ||
/vault <number> | Opens a vault by it's number | ||
/vault <player> <number> | Opens a player's vault by it's number |
Permissions
vaults.<num> | Sets how many vaults that player is allowed | ||
vaults.admin | Allows a player to view other player's vaults |
Donate
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="item_name" value="Donation"> <input type="image" src="http://www.paypal.com/en_GB/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make a donation with PayPal"> </form>
This is a really good plugin, but a lot of my players kept asking if they could somehow name each of their vaults. Any way to add that in?
1.0.3 has been submitted and awaiting approval. The text above has been updated to reflect changes as well.
Thanks!
We had a significant issue with vault duplication with this plugin specific to MySQL that I have fixed and released in a new repository. The jar should be up soon here: http://dev.bukkit.org/bukkit-plugins/vaults-2-0/
Or you can pull the source here: https://github.com/LeviRosol/Vaults
Can you add a configurable delay on this?
Over the last couple of days we've ran into an issue where /vault stops working for no apparent reason. Here's the error I see:
11:16:29 AM CONSOLE: WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after statement closed.
It is resolved by restarting mysql, however, doing a little research I found that the correct fix would be to use connection pooling, and I assume within your plugin is the place to do that.
Also, outside of this issue, /vault has been working great for our servers. Players like it. I like it. It's a win win :)
@68x
Thanks
@shmkane
Waiting for a fix for this
Exactly the plugin I've been looking for. Thank you so much.
Players can go into negative values, such as /vault -1 or /vault -2 even if they only have perm for vault.1. but players without any vault perms can't do it, so it's only working if they have access to vaults.
@RyanSayer
I understand what you mean. If you really want to limit space you can set the max row size in the config.yml to 1 (which is 9 slots) so therefore you can give Iron 9, Gold 18 and Diamond 27 slots in total. It would involve too much reworking to add per-row permissions.
It would be good if you could add the ability to give players slots not chests
e.g Iron Donors get 10 slots, Gold 20 slots as opposed to Iron gets 1 Chest and Gold gets 2 chests
@jefle
The server wouldn't crash without some kind of error. Check your server.log file or in the crash-reports folder.
@Daffy22
No errors at all, Just the last executed command is : /vault 9000 and then it crashes
@jefle
I don't get that issue. Could you please file a ticket and paste any errors you get.
Please add the possiblility to localize the Title of the chest when you open it..i want change Vault to my language.
Server crashes if you do /vault 9000
Even with a good server
@dotapurex1
That is a possibility but you could achieve the effect you want by using a cooldown/warmup plugin: http://dev.bukkit.org/bukkit-plugins/booscooldowns/
If you're wanting to limit it to lessen the amount of MySQL/file queries don't worry because it caches it. That means the database is only ever read once and only written to every so often (specified in the config). Also any saving queries are handled in an async task meaning it won't freeze/lag the server.
Can you please add so that it takes like 5 seconds to open the vault when the command is typed? Just like how /warp works? And also can you add a cooldown timer for when you can type /vault again?
Please make both the timer adjustable in the config.
[email protected]!
@hdnerds
I should be making a first release in the next week or so. It depends how much time I have to spend on it. What exactly would the /furnace command do?
When will the download be out, and could you possibly add a /furnace of some sort? (not /cook though, as it would mingle with other plugins.)