Giter VIP home page Giter VIP logo

chestshop-3's Introduction

Hi there ๐Ÿ‘‹

I'm a Software Engineer at Microsoft. I currently work on ProtocolLib in my spare time. Back in the day, I wrote a lot of Bukkit plugins.

chestshop-3's People

Contributors

acrobot avatar aiquen avatar brianetta avatar cyprias avatar dmulloy2 avatar eredrim avatar farisr99 avatar jastice avatar jkobus avatar jrtc27 avatar l4borg avatar libter avatar meiamsome avatar mibby avatar sgdc3 avatar shadowdog007 avatar simsonic avatar yive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

chestshop-3's Issues

Version .jar

Would it be possible to make a .java version available? I do not understand Plugin Compilation, it would help me a lot

Thank you.

Sorry for my English.

EventException - PreShopCreationEvent | PlayerInteractEvent | BlockBreakEvent

Doesn't seem to be fixed. These errors occurred yesterday.

ChestShops self compiled source as of this commit. 5749c84
Paper dev 842 (Spigot 1.10)

[12:27:52] [Server thread/ERROR]: Could not pass event PreShopCreationEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:36) ~[patched_1.10.2.jar:git-Paper-842]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-842]
    at com.Acrobot.ChestShop.ChestShop.callEvent(ChestShop.java:404) [ChestShop.jar:?]
    at com.Acrobot.ChestShop.Listeners.Block.SignCreate.onSignChange(SignCreate.java:35) [ChestShop.jar:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) [patched_1.10.2.jar:git-Paper-842]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:2142) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PacketPlayInUpdateSign.a(SourceFile:44) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PacketPlayInUpdateSign.a(SourceFile:10) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.10.2.jar:git-Paper-842]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
    at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:791) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-842]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.IllegalArgumentException: Name cannot be blank
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.getOfflinePlayer(CraftServer.java:1339) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:765) ~[patched_1.10.2.jar:git-Paper-842]
    at com.Acrobot.ChestShop.UUIDs.NameManager.getUUID(NameManager.java:91) ~[?:?]
    at com.Acrobot.ChestShop.UUIDs.NameManager.canUseName(NameManager.java:237) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.PreShopCreation.NameChecker.onPreShopCreation(NameChecker.java:24) ~[?:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) ~[patched_1.10.2.jar:git-Paper-842]
    ... 23 more
[12:28:00] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:36) ~[patched_1.10.2.jar:git-Paper-842]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:198) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:111) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:835) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:40) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:10) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.10.2.jar:git-Paper-842]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
    at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:791) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-842]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.IllegalArgumentException: Name cannot be blank
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.getOfflinePlayer(CraftServer.java:1339) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:765) ~[patched_1.10.2.jar:git-Paper-842]
    at com.Acrobot.ChestShop.UUIDs.NameManager.getUUID(NameManager.java:91) ~[?:?]
    at com.Acrobot.ChestShop.UUIDs.NameManager.canUseName(NameManager.java:237) ~[?:?]
    at com.Acrobot.ChestShop.Signs.ChestShopSign.canAccess(ChestShopSign.java:87) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Player.PlayerInteract.onInteract(PlayerInteract.java:81) ~[?:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) ~[patched_1.10.2.jar:git-Paper-842]
    ... 19 more
[12:28:01] [Server thread/ERROR]: Could not pass event BlockBreakEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:36) ~[patched_1.10.2.jar:git-Paper-842]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:293) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:219) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:849) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:40) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:10) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.10.2.jar:git-Paper-842]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
    at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:791) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-842]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.IllegalArgumentException: Name cannot be blank
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.getOfflinePlayer(CraftServer.java:1339) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:765) ~[patched_1.10.2.jar:git-Paper-842]
    at com.Acrobot.ChestShop.UUIDs.NameManager.getUUID(NameManager.java:91) ~[?:?]
    at com.Acrobot.ChestShop.UUIDs.NameManager.canUseName(NameManager.java:237) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.canDestroyShop(SignBreak.java:148) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.canBlockBeBroken(SignBreak.java:129) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.onSignBreak(SignBreak.java:64) ~[?:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) ~[patched_1.10.2.jar:git-Paper-842]
    ... 18 more

Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getStorageContents()[Lorg/bukkit/inventory/ItemStack;

[14:23:42] [Server thread/ERROR]: Could not pass event TransactionEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [patched.jar:git-TacoSpigot-"65fd35f"]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [patched.jar:git-TacoSpigot-"65fd35f"]
    at com.Acrobot.ChestShop.Listeners.Player.PlayerInteract.onInteract(PlayerInteract.java:111) [ChestShop.jar:?]
    at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_102]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_102]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [patched.jar:git-TacoSpigot-"65fd35f"]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) [patched.jar:git-TacoSpigot-"65fd35f"]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [patched.jar:git-TacoSpigot-"65fd35f"]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [patched.jar:git-TacoSpigot-"65fd35f"]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [patched.jar:git-TacoSpigot-"65fd35f"]
    at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:228) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInteractManager.java:463) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:763) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched.jar:git-TacoSpigot-"65fd35f"]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-TacoSpigot-"65fd35f"]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getStorageContents()[Lorg/bukkit/inventory/ItemStack;
    at com.Acrobot.Breeze.Utils.InventoryUtil.effectiveSize(InventoryUtil.java:158) ~[?:?]
    at com.Acrobot.Breeze.Utils.InventoryUtil.add(InventoryUtil.java:128) ~[?:?]
    at com.Acrobot.Breeze.Utils.InventoryUtil.add(InventoryUtil.java:169) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.PostTransaction.ItemManager.addItems(ItemManager.java:55) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.PostTransaction.ItemManager.shopItemRemover(ItemManager.java:25) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor486.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_102]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_102]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    ... 27 more

This fork is 1.9+ only?

UUID - Username CS database is broken

Ref:

The issue starts here https://github.com/dmulloy2/ChestShop-3/blob/master/src/main/java/com/Acrobot/ChestShop/Listeners/Player/PlayerConnect.java after that username should be stored or updated based on UUID and not the other way around otherwise we're bugging Economies and causing bunch other issues. I'm not sure how's CS handling that tho...

But as I've already pointed out, there's another issue - signs contain usernames and not UUIDs, because of the way how CS works sign locations are not stored (meaning signs can not be updated with new usernames without loading whole world(s)). So the downside would be player losing his chest shops (which is not as bad as kicking players or bugging economy plugins, etc...).

Could not pass event CurrencyAddEvent to ChestShop v3.8.13 (java.lang.StackOverflowError)

Exception: http://pastebin.com/NLm0yfRY

>ver
[09:43:15 INFO]: This server is running CraftBukkit version git-TacoSpigot-"65fd35f" (MC: 1.8.8) (Implementing API version 1.8.8-R0.2-SNAPSHOT)
[09:43:15 INFO]: You are running the latest version
>ver ChestShop
[09:43:40 INFO]: ChestShop version 3.8.13
[09:43:40 INFO]: A chest shop for economy plugins.

[09:43:40 INFO]: Author: Acrobot

(b#10 (22.9.2016 11:58:37) from ci.dmulloy2.net)

EssentialsX/Essentials#855

I think it might be related to #8

EventException - Could not pass event PlayerQuitEvent to ChestShop

[16:09:41] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:36) ~[patched_1.10.2.jar:git-Paper-842]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-842]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerList.disconnect(PlayerList.java:408) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1069) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.NetworkManager.handleDisconnection(NetworkManager.java:318) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.ServerConnection.c(ServerConnection.java:186) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:886) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-842]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-842]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.NullPointerException
    at com.google.common.collect.HashBiMap.delete(HashBiMap.java:128) ~[patched_1.10.2.jar:git-Paper-842]
    at com.google.common.collect.HashBiMap.access$200(HashBiMap.java:52) ~[patched_1.10.2.jar:git-Paper-842]
    at com.google.common.collect.HashBiMap$Inverse.remove(HashBiMap.java:528) ~[patched_1.10.2.jar:git-Paper-842]
    at com.Acrobot.ChestShop.UUIDs.NameManager.dropUsername(NameManager.java:220) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Player.PlayerLeave.onPlayerLeave(PlayerLeave.java:20) ~[?:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) ~[patched_1.10.2.jar:git-Paper-842]
    ... 13 more

IllegalArgumentException: value already present

[23:51:01 INFO]: RobiBvB[/x.x.x.x:48954] logged in with entity id 53979496 at ([ASkyBlock_nether]-5615.5, 117.0, -8254.5)
[23:51:01 WARN]: Exception in thread "Craft Scheduler Thread - 262"
[23:51:01 WARN]: org.apache.commons.lang.UnhandledException: Plugin ChestShop v3.8.13 generated an exception while executing task 739443
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: value already present: RobiBvB
        at com.google.common.collect.HashBiMap.putInverse(HashBiMap.java:267)
        at com.google.common.collect.HashBiMap.access$1000(HashBiMap.java:52)
        at com.google.common.collect.HashBiMap$Inverse.put(HashBiMap.java:514)
        at com.Acrobot.ChestShop.UUIDs.NameManager.storeUsername(NameManager.java:208)
        at com.Acrobot.ChestShop.Listeners.Player.PlayerConnect$1.run(PlayerConnect.java:28)
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
        ... 3 more

Could not pass event PlayerInteractEvent & BlockBreakEvent to ChestShop

@dmulloy2 Found more errors for you. :)

Custom compiled version as of this commit.
a13b2c9
Paper (Spigot 1.10) dev 841
Entire thing.
http://paste.ubuntu.com/23073915/

[06:56:52] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:36) ~[patched_1.10.2.jar:git-Paper-832]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:891) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.10.2.jar:git-Paper-832]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
    at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:791) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-832]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.IllegalArgumentException: Name cannot be blank
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.getOfflinePlayer(CraftServer.java:1339) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:765) ~[patched_1.10.2.jar:git-Paper-832]
    at com.Acrobot.ChestShop.UUIDs.NameManager.getUUID(NameManager.java:90) ~[?:?]
    at com.Acrobot.ChestShop.UUIDs.NameManager.canUseName(NameManager.java:236) ~[?:?]
    at com.Acrobot.ChestShop.Signs.ChestShopSign.canAccess(ChestShopSign.java:84) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Player.PlayerInteract.onInteract(PlayerInteract.java:81) ~[?:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) ~[patched_1.10.2.jar:git-Paper-832]
    ... 18 more
[06:57:47] [Server thread/ERROR]: Could not pass event BlockBreakEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:36) ~[patched_1.10.2.jar:git-Paper-832]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:293) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:219) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:849) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:40) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:10) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.10.2.jar:git-Paper-832]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
    at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:791) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-832]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.IllegalArgumentException: Name cannot be blank
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.getOfflinePlayer(CraftServer.java:1339) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:765) ~[patched_1.10.2.jar:git-Paper-832]
    at com.Acrobot.ChestShop.UUIDs.NameManager.getUUID(NameManager.java:90) ~[?:?]
    at com.Acrobot.ChestShop.UUIDs.NameManager.canUseName(NameManager.java:236) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.canDestroyShop(SignBreak.java:148) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.canBlockBeBroken(SignBreak.java:129) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.onSignBreak(SignBreak.java:64) ~[?:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) ~[patched_1.10.2.jar:git-Paper-832]
    ... 18 more

Jar download link

Hi!
I have seen you have updated chestshop ๐Ÿ‘ Nice work! Is this project public? I mean, could you send me the jar. I need it for a 1.9 server.

Thanks

Residence Support

Hello guys,

Can you repair the residence plugin support please ?

This is the "reloaded" plugin (you can talk to the dev in spigot discussion page)
https://www.spigotmc.org/threads/residence-1-7-10-up-to-1-10-paid.88667/

And this is the error:

[17:40:33] [Server thread/ERROR]: Could not pass event ProtectionCheckEvent to ChestShop v3.8.14
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at com.Acrobot.ChestShop.ChestShop.callEvent(ChestShop.java:404) [ChestShop.jar:?]
at com.Acrobot.ChestShop.Security.canAccess(Security.java:36) [ChestShop.jar:?]
at com.Acrobot.ChestShop.Security.canAccess(Security.java:31) [ChestShop.jar:?]
at com.Acrobot.ChestShop.Listeners.Block.BlockPlace.onChestPlace(BlockPlace.java:38) [ChestShop.jar:?]
at sun.reflect.GeneratedMethodAccessor491.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:146) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.ItemStack.placeItem(ItemStack.java:162) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:534) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:890) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.NoClassDefFoundError: net/t00thpick1/residence/api/ResidenceAPI
at com.Acrobot.ChestShop.Plugins.ResidenceChestProtection.onProtectionCheck(ResidenceChestProtection.java:28) ~[?:?]
at sun.reflect.GeneratedMethodAccessor573.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.10.2.jar:git-Spigot-1e4dd71-4db0855]
... 29 more

I use https://github.com/L4BORG/ChestShop-3/releases/tag/3.8.14 fork for information

Thanks

Continuation of the Bukkit dev page

The ChestShop BukkitDev page is still the most prominent entry point to the ChestShop plugin and currently the only real project page with documentation that I'm aware of so it would make sense if one of the more active forks (like this one) would continue it.

In the past it was possible to just claim abandoned projects on BukkitDev (which I personally would consider as rude without asking the original owner) not sure if that is still an option but I would bet that @Acrobot is willing to give access to someone who wants to continue it.

I would even volunteer myself to help managing and updating it as I have some personal interest in the continuation of this plugin (my server heavily relies on it) and think that it helps stopping people from moving away from it if the project page stays active.

[suggestion] A way to fix issues with UUID and add support for name changes...

Use the same approach as:

https://www.spigotmc.org/resources/lockettepro-uuid-support.20427/
https://github.com/connection-lost/LockettePro

so that UUID is actually stored on the sign but it's not sent to the client. That would require ProtocolLib as dependency but compared to current names.db and all the issues caused by it, that's a small price to pay.

Opinions?

It would also allow usernames to be auto updated on the signs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.