On version 0.7 it is not saving player's items in vaults if they have more than their "CosmicVaults.pv.#" number of items stored. If a player has cosmicvaults.pv.1 it will only save 1 item in their vault, no matter the size of the vault. If they have cosmicvaults.pv.27, they will be able to hold 27 items in the vault. The number of vaults and vault size need to be separate permissions. This is still an issue as of today, does anyone have a workaround or can the dev please fix this as it makes the plugin unable to be used for me and its the only 1.12 vault system out there T_T
I am using that now actually lol took much much digging to find it though, sadly its commands are long and annoying but with bossshop I can just make a quick command button lol.
I have a copy of the fixed version of this plugins jar, I am not sure the policy on posting it but if the dev would like to have it to post id be happy to share it ^_^ @RandomHashTags
I fixed it by request, wasn't too hard really. openVault is using getPlayerPermissionVaultSize which checks for CosmicVaults.pv.x and also uses that as the amount of items it should load for each vault. JD-GUI (http://jd.benow.ca/) it and throw in a couple of Integer.toString and Byte.toString in there to fix up the errors and bam, edit to your hearts content.
Hello, Author This is a really great plugin! But I think there a bug, players are saying that their items are disappearing from the vault.
RandomHashTags updated Cosmic Vaults with a new update entry: Fixed permission vault size only saving that amount of items in a vault Read the rest of this update entry...
Bro thank you so much for fixing that lost items bug! This will be going straight back onto my server.
Code (Text): 22.10 13:21:03 [Server] ERROR null 22.10 13:21:03 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'pv' in plugin CosmicVaults v1 22.10 13:21:03 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:676) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1466) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1271) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131] 22.10 13:21:03 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843) [paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426) [paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] 22.10 13:21:03 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 4 22.10 13:21:03 [Server] INFO at java.util.Arrays$ArrayList.set(Arrays.java:3846) ~[?:1.8.0_131] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.NonNullList.set(SourceFile:51) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at net.minecraft.server.v1_12_R1.InventoryCrafting.setItem(InventoryCrafting.java:129) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.inventory.CraftInventoryCrafting.setItem(CraftInventoryCrafting.java:83) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO at me.randomHashTags.CosmicVaults.CosmicVaults.openVault(CosmicVaults.java:391) ~[?:?] 22.10 13:21:03 [Server] INFO at me.randomHashTags.CosmicVaults.CosmicVaults.onCommand(CosmicVaults.java:58) ~[?:?] 22.10 13:21:03 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[paperspigot-latest.jar:git-Paper-1244] 22.10 13:21:03 [Server] INFO ... 15 more