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>
1.11/1.10
PLEASE!!!!!!!!
@Epickevin7718
yeh it happnes to me aswell
Can you add buy vault storage and upgrade vault size for each vault bought, etc?
When my users go into their vault, they place it, and then re open it and everything inside dissapears and doesnt save their vaults
@Thecoolsurdy
Same here
Whenever myself or any of my players tries to put something or take out something from his/her vault, after he/she closes it and re-opens it, the vaults do not update and stay the same. It's almost as if they are frozen, becuase if you put in a stack of diamonds, for example, and close it, when you re-open the vault the stack of diamonds is gone, or if you TAKE OUT an existing stack of diamonds, then you open the vault, those diamonds are still in there. Vaults won't update anymore. Please help.
When you do anything with /vault 1001 or higher, the server crashes. Any numbers from 1-1000 are OK. If I do 0 to -anything, I can access infinite negatively numbered vaults against my permissions only allowing me to access one positive vault; /vault 1. I could override this so that any /vault command would register as /vault 1 and only allow access to one vault. Which would suffice for the first rank; however, not even this is possible because I run a 1.7.9 server and for some reason items I'm putting in the one real vault (or any) are not being stored at all.
Hello Daffy22, I was wondering if you have looked into the 1.8/UUID changes and if you would release a update or converter to support 1.8. I am trying to contact all plugin developers my server uses and ensure that our server will be prepared for 1.8 Thanks
Set this up this evening using Vault 1.0.3 on a MCPC+ server. Everything worked great when set to files but as I am looking to use this for transporting materials on a Bungeecord network from server to server I set it up to use MySQL. Sadly even though the cache is set to false every time you open the vault doing /vault 1 the contents are doubled. It doesn't appear to matter how long you wait or even if you do it on the same server without moving. I can't find anything in the config that would result in this problem. Suggestions?
May i use this code for a plugin i am developing and releasing in the future? i will give you full credit for this part of course.
@thedjtec
without an error log, i have nothing to go by to fix it.
On my server, play.stormcraft.net, users get a message saying they do not have that many vaults, and ops who use a number like 1000 open the vault just fine.
I have a feeling your issue is something with your config. If you don't see something in console for me to use to debug with, try setting permissions to prevent people from executing anything over whatever max you want to set.
As others are saying, I reported this a while ago but you havent fixed it. When a user types an integer vault under 99 everything is PERFECT! But when ANY user types an outrageous number like /vault 1000 it crashes the server with the error: io.netty.handler.timeout.ReadTimeoutException I asked 3 friends who own servers to try it, it happens on mysql and file backend. Please fix!
plugin does not work
WARN Probable Plugin cause: 'Vaults' WARN What follows is the stack trace of the main thread WARN at java.lang.String.toLowerCase(String.java:2435) WARN at java.lang.String.toLowerCase(String.java:2524) WARN at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:69) WARN at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:111) WARN at org.vanillaworld.Vaults.Functions.openVault(Functions.java:25) WARN at org.vanillaworld.Vaults.Main.onCommand(Main.java:54) WARN at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) WARN at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) WARN at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) WARN at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) WARN at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) WARN at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) WARN at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) WARN at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) WARN at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) WARN at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) WARN at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) WARN at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
@iveldesigns
Thanks for the tip I'm going to try to wipe all the info and start over :)
@LegitCake100
Your issue appears to be a permission issue. Recheck your perms and try again.
@thedjtec
We use a very similar setup, and I have not run into any issues like that. In our case, everyone gets 1 vault, and ranks get up to 15. If any user tries to access something larger than what they have access to, it gives the error msg defined in the config.
Have you changed that error msg? If so, are you sure it's defined correctly? I'm not super familiar with perms since one of our other admins handles those, but that might also be a place to look.
@wyndkin
I don't anticipate adding this functionality.
help D: WARN The main thread failed to respond after 10 seconds WARN Probable Plugin cause: 'Vaults' WARN What follows is the stack trace of the main thread WARN at java.lang.String.toLowerCase(String.java:2435) WARN at java.lang.String.toLowerCase(String.java:2524) WARN at org.bukkit.plugin.SimplePluginManager.getPermission(SimplePluginManager.java:576) WARN at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:74) WARN at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:111) WARN at org.vanillaworld.Vaults.Functions.openVault(Functions.java:25) WARN at org.vanillaworld.Vaults.Main.onCommand(Main.java:54) WARN at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) WARN at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) WARN at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) WARN at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) WARN at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) WARN at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) WARN at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) WARN at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) WARN at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) WARN at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) WARN at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) WARN at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) WARN at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) WARN The main thread is still stuck, current loop line is: WARN at org.bukkit.craftbukkit.v1_7_R1.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:111) WARN This appears to be plugin 'Vaults'! WARN The main thread is still stuck, current loop line is: WARN at org.vanillaworld.Vaults.Functions.openVault(Functions.java:25) WARN This appears to be plugin 'Vaults'!
Running into an issue on 1.7.2-R0.3. Using an SQL DB, everything syncs fine, but when a player with a permission to only create; for example, 3 vaults types a large number, server crashes instantly. A rank with a perm for 3, typed /vault 100000 and the server crashed. Had to remove the plugin. No logs or anything, just instantly crashes with various reasons per user every time. Is there anything i can provide to help?