GithubHelp home page GithubHelp logo

epicericee / shopchest Goto Github PK

View Code? Open in Web Editor NEW
45.0 7.0 57.0 22.77 MB

ShopChest - Spigot/Bukkit Plugin

License: MIT License

Java 99.71% Python 0.29%
spigot bukkit-plugin bukkit minecraft-plugin minecraft-server minecraft spigot-plugin spigotmc spigot-resource

shopchest's Introduction

ShopChest

ShopChest - Spigot/Bukkit Plugin

API

To use the API, you need to add the following repository and dependency in your maven project:

<repositories>
  <repository>
    <id>shopchest-repo</id>
    <url>https://epicericee.github.io/ShopChest/maven/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>de.epiceric</groupId>
    <artifactId>ShopChest</artifactId>
    <version>1.11.1</version>
    <scope>provided</scope>
  </dependency>
</dependencies>

You can find the javadoc here: https://epicericee.github.io/ShopChest/javadoc/

Build

Clone this repository and use mvn clean package or mvn clean install. After the build succeeded, the ShopChest.jar is found in the /target/ folder.

Issues

If you find any issues, please provide them in the Issues Section with a good description of how to reproduce it. If you get any error messages in the console, please also provide them.

Download

This resource/plugin is found on the official spigot page here. You can also download the latest unstable builds on this page.

shopchest's People

Contributors

404uam avatar 42atomys avatar epicericee avatar jeinine avatar ken-kentan avatar minethecube avatar nlthijs48 avatar pustinek avatar stevmei avatar xpiston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

shopchest's Issues

Hopper protection

Hi!
I'm using your plugin on my skyblock server and there is one issue that some players find important. I know there is hopper protection and if it's turned off hopper can give item to the shop, but hopper can't get item out of the shop. Is there any chance that you will give us option to choose? :)

ShopChest PlayerTeleportEvent Console Error

Hi, with the new version of ShopChest i got this error in the console when starting the server :
http://pastebin.com/di8Xf6L3
I see shopchest and citizen2, should i see in the citizen2 side for this error ? It happen only with the new version of shopchest 1.10.1
Also lag start to appear only when selling items (maybe is just the mysql part that i have misconfigurated)
Spigot version : CraftBukkit version git-Spigot-1e4dd71-5e5cf84 (MC: 1.10.2)

Thank you in advance for your help

Crash in console

[06:22:29 ERROR]: Could not pass event PlayerTeleportEvent to ShopChest v1.10.3
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-90f61bc-83a9dbd]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-90f61bc-83a9dbd]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:685) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:653) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at net.minecraft.server.v1_10_R1.PlayerList.a(PlayerList.java:162) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at protocolsupport.protocol.packet.handler.AbstractLoginListener.b(AbstractLoginListener.java:159) [build_from_jenkins_protocolsupport.jar:?]
at protocolsupport.protocol.packet.handler.AbstractLoginListener.E_(AbstractLoginListener.java:103) [build_from_jenkins_protocolsupport.jar:?]
at net.minecraft.server.v1_10_R1.NetworkManager.a(NetworkManager.java:233) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at net.minecraft.server.v1_10_R1.ServerConnection.c(ServerConnection.java:140) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:827) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot.jar:git-Spigot-90f61bc-83a9dbd]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_111]
Caused by: java.lang.NullPointerException
at de.epiceric.shopchest.listeners.ShopItemListener.updateShopItemVisibility(ShopItemListener.java:89) ~[?:?]
at de.epiceric.shopchest.listeners.ShopItemListener.onPlayerTeleport(ShopItemListener.java:53) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_111]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_111]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-90f61bc-83a9dbd]
... 15 more

Build the plugin by source code

Are you using Maven or another tool for build the plugin into .jar file? if so, can you push the pom.xml (in the case of maven) to the repository?

ShulkerBox interact. ERROR Could not pass event UseBlockEvent

26.11 12:37:40 [Server] ERROR Could not pass event UseBlockEvent to ShopChest v1.11.1
26.11 12:37:40 [Server] INFO org.bukkit.event.EventException
26.11 12:37:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at com.sk89q.worldguard.bukkit.util.Events.fireToCancel(Events.java:74) [worldguard-6.1.3.jar:?]
26.11 12:37:40 [Server] INFO at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onInventoryOpen(EventAbstractionListener.java:779) [worldguard-6.1.3.jar:?]
26.11 12:37:40 [Server] INFO at sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source) ~[?:?]
26.11 12:37:40 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
26.11 12:37:40 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
26.11 12:37:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:752) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.EntityPlayer.openContainer(EntityPlayer.java:689) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.BlockShulkerBox.interact(BlockShulkerBox.java:57) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerInteractManager.a(PlayerInteractManager.java:482) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:897) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
26.11 12:37:40 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]
26.11 12:37:40 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot11.jar:git-Spigot-0f17cfb-b5b0a97]

Could not pass event PlayerInteractEvent to ShopChest v1.10.4

[Server] ERROR Could not pass event PlayerInteractEvent to ShopChest v1.10.4
06.09 22:01:28 [Server] INFO org.bukkit.event.EventException
06.09 22:01:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:890) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_80]
06.09 22:01:28 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_80]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:737) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:673) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:572) [spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_80]
06.09 22:01:28 [Server] INFO Caused by: java.lang.NullPointerException
06.09 22:01:28 [Server] INFO at de.epiceric.shopchest.sql.Database.getHighestID(Database.java:130) ~[?:?]
06.09 22:01:28 [Server] INFO at de.epiceric.shopchest.sql.Database.getNextFreeID(Database.java:109) ~[?:?]
06.09 22:01:28 [Server] INFO at de.epiceric.shopchest.listeners.ShopInteractListener.create(ShopInteractListener.java:276) ~[?:?]
06.09 22:01:28 [Server] INFO at de.epiceric.shopchest.listeners.ShopInteractListener.onPlayerInteractCreate(ShopInteractListener.java:90) ~[?:?]
06.09 22:01:28 [Server] INFO at sun.reflect.GeneratedMethodAccessor679.invoke(Unknown Source) ~[?:?]
06.09 22:01:28 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_80]
06.09 22:01:28 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_80]
06.09 22:01:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot55.jar:git-Spigot-a9631d2-67b2424]
06.09 22:01:28 [Server] INFO ... 17 more

Love the plugin, really hoping this is fixed.

TPS issues

Hello!

After updating from 1.10.4 to 1.11.1, our server has performance problems. It was the only pluging that was updated, so it may cause this. The HologramUpdateListener() is using 28 % of the whole TPS performance. Actually, we have 3000+ shops on our server.

Is there something that has changed to an even higher calculation time?
Is there something that can be done (on my side) to run this stable again?

That's my config actually:

http://pastebin.com/8XdMFXxE

Duplicating Entites on top of chest

Every time i visit a shop someone has created, the floating item icon on top will duplicate. Occasionally
screen shot 2016-07-12 at 12 56 23 pm
screen shot 2016-07-12 at 12 56 29 pm

you can pick up the duplicated items as well

Written books

Hey EpicEricEE!

I've got another issue ๐Ÿ˜ข
Some players are trying to sell written books. A shop can be created, everything is fine. And you can buy it.

But: When the shop is reloaded (Chunk reload or /shop reload), it is no more possible to buy this book, stock is 0.

Maybe something within the encode / decode functions at Utils.java or withing a calling function is wrong and catching a wrong ItemStack ๐Ÿ˜ข

Note:
Because I'm a german developer too and I love your plugin, I'm inviting you to visit us at our teamspeak and maybe have a look together at it ๐Ÿ˜„ In this case, just write me an e-mail.

Compilation issue with Java 8

Not sure if it's a real issue or if I'm doing it wrong. When I try to compile with mvn clean package, I get compilation error due to javadoc (missing params for some methods).

But editing pom.xml according to this answer solved it. I had to add this in maven-javadoc-plugin to make it compile.

<configuration>
    <additionalparam>-Xdoclint:none</additionalparam>
</configuration>

Remove as many chests you want

Every time we want remove a shop, we have to send the "/shop remove" command and click in a shop. Would be better if after we type "/shop remove" could enter in a "remove mode" and this way we could remove any shop with one click until the mode was disabled.

Plugin generated an exception while executing task 57

Hey i think that the Plugin need apache but when i do please add it to the Plugin Page.
The Error:

[pool-3-thread-8/WARN]: org.apache.commons.lang.UnhandledException: Plugin ShopChest v1.10.3 generated an exception while executing task 57
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: net/md_5/bungee/api/ChatColor
    at de.epiceric.shopchest.language.LanguageUtils.getMessage(LanguageUtils.java:1097)
    at de.epiceric.shopchest.ShopChest$7.run(ShopChest.java:254)
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    ... 3 more
Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.ChatColor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 7 more

If you have any questions to me you can come to our TeamSpeak3 Server reden.teamspeak3.de (German) and look after me or ask someone
I hope you can fix or answer it!?

Plugin doesn't reconnect to MySQL database after connection lost

First of all, please let me say that I like your plugin and I think it is very good.
I was using the local sqlite version until you released that version with mysql support. That was amazing, I can integrate it with my website and make some temporary discounts or promotions and so on... Well, but I found a bug in that version that just loads what is in the database to the game and after that it doesn't work anymore, it lost the connection on the application side (on Java plugin). I've googled for a little and found a Bukkit forum post that might be the same issue:

https://bukkit.org/threads/mysql-help.225703/page-3

I've also uploaded the stack trace it generates right before the first interaction with the ShopChest plugin (I've made a "create shop", but it doesn't get commited to database).
Here follows the stacktrace (I'm sorry by the formatting, I've pasted from my console log)
console_log.txt

Thanks a lot for your attention!
Best regards and let me know if I can help you with something, bye!

Dropped Items

Hello, we are using now Chestshop and on our new server, we think about a new shop plugin. Your plugin is great and works good, but if I create a shop, where ist no space about the chest, the item dropps. It couldn't take, but it wouldn't despawn, too.

And in a test a build a piston behind the chest and can drop the item, too.

Is there a solution, to get this fixed?

Another thing is, that we are using Towny. Are you thinking about a towny-integration?

ShopChest with lockette Fail

Server 1.10.2 Spigot / Bungee
Lockette - UUID supported!! 1.8.36
ShopChest 1.9.1
A locket Chest with Lockette Private lock. on a plot which is not locked where anyone can build. And another player make a shop with / shop create [normal]. If you hit the locked Chest. So, one can empty a chest. And no one can go in the Chest as it is locked by two different players

MySQL error when stopping server

Hi, when i shutdown the server i get a mysql error with ShopChest :
http://pastebin.com/kVfS6JLg
It is my configuration or i dont know because a startup chestshop connect properly to the MySQL database:

[22:21:24] [INFO] [ShopChest] Enabling ShopChest v1.9.1
[22:21:24] [INFO] [ShopChest] Using locale "en_US"
[22:21:24] [INFO] [ShopChest] Using MySQL
[22:21:25] [INFO] [ShopChest] Initialized 12 Shops

EpicEric

Hello EpicEric,

Could you add a text file where all buy and sell action are saved ? and an option like:
saveinlogfile = true/false

Exemple, in log.txt:
[2016-08-18 03:51] John bought 64 Stone at 56$ - Shop: Eric, world, X Y Z
[2016-08-18 03:51] Eric sold 42 Chest at 187$ - Shop: Roxxor, world_nether, X Y Z

It could be very usefull for admin to follow the economy / movements.

Regards,
Crea

buy and sell

Best Program I's seen in a log time. Good work.
But - when the display shows the Buy on the left and the Sell on the right, is there a way to reverse the mouse buttons to corresponding to the display - getting complainants .
my players used chestshop and are spoiled on clicking left to Buy and Right to Sell.
Thanks Chuck - woodenaxe.net

Admin Chest "Vendor not have enough money"

When my players try to buy from a chest set as an admin chest, it says that the vendor does not have enough money. I checked the config files but didn't see anything. Any help would be appreciated, thanks :)

Shulker Chest implementation

Hello,

i get this message:

[21:28:59 ERROR]: Could not pass event UseBlockEvent to ShopChest v1.11.1
org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at com.sk89q.worldguard.bukkit.util.Events.fireToCancel(Events.java:74) [worldguard-6.1.2.jar:?]
        at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onInventoryOpen(EventAbstractionListener.java:776) [worldguard-6.1.2.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:752) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.EntityPlayer.openContainer(EntityPlayer.java:689) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.BlockShulkerBox.interact(BlockShulkerBox.java:57) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.PlayerInteractManager.a(PlayerInteractManager.java:483) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:897) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73]
        at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_11_R1.block.CraftShulkerBox cannot be cast to org.bukkit.block.Chest
        at de.epiceric.shopchest.listeners.WorldGuardListener.onUseBlock(WorldGuardListener.java:107) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
        ... 29 more

I'm not sure if any one try to use the box to create a shop. If not this problem Looks creepy. Do you know about this or Need more Informations? Contact me.

How to protect admin shops from being removed by others?

Hello!
I really love the plugin ShopChest you developed.
However I have found that the shops created by op(Abc) with the type of the admin , can be removed by the user(Abc)(no longer being op) just use the command "/shop remove" .
I guess that the rule is the admin shops uses the user who created it as the vendor ,so if the user is no longer being op . he can still remove the admin shops created by him, isn't it ?
I want the admin shops can only be removed by the specific group having the permission . But how to do it ? I use the PermissionEX to controll permissions.
I am not a native English speaker, sorry for my bad English.
Wish you have nice day!

ASkyblock Intergration

This is a skyblock server who uses ASkyblock as the main source of plugin, with it's own region protection which they don't use world guard. How can players be able to create/buy/sell without having the risk of other players visiting an island that's not own by them from removing or creating new shops without the owner's permission?

Shop create in a blocked chest

When we create a shop in a blocked chest, the item hologram is inserted some where else around the chest. This also happens when you block the chest after it's created.

1
2

LICENSE?

I noticed you have no LICENSE file in your repository. I am running a server with some friends and we want to use this plugin, but I would like to make some minor changes first. Am I allowed to alter the code and make my own version? What license is this under, if any?

MySQL connection seems to be closed before logging to db

Hi again, I'm using the latest version of the plugin. Shops loading and selling items to them works well
Debug log:

[20/08/2016 03:04:50] Lbleu wants to sell
[20/08/2016 03:04:50] Lbleu is selling (#30)
[20/08/2016 03:04:50] Vendor has enough money for 0 item(s) (#30)
[20/08/2016 03:04:50] Chest has enough inventory space for 1728 items (#30)
[20/08/2016 03:04:50] Removing items from inventory...
[20/08/2016 03:04:50] Lbleu successfully sold (#30)
[20/08/2016 03:04:50] Failed to log economy transaction to database
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 41,473 milliseconds ago.  The last packet sent successfully to the server was 1 milliseconds ago.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:983)
    at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3457)
    at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3357)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3797)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550)
    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
    at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2073)
    at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2009)
    at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5094)
    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1994)
    at de.epiceric.shopchest.sql.Database$1.run(Database.java:344)
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    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.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
    at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2949)
    at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3367)
    ... 16 more
[20/08/2016 03:04:53] Lbleu wants to sell
[20/08/2016 03:04:53] Lbleu is selling (#30)
[20/08/2016 03:04:53] Vendor has enough money for 0 item(s) (#30)
[20/08/2016 03:04:53] Chest has enough inventory space for 1728 items (#30)
[20/08/2016 03:04:53] Removing items from inventory...
[20/08/2016 03:04:53] Lbleu successfully sold (#30)
[20/08/2016 03:04:53] Failed to log economy transaction to database
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    at com.mysql.jdbc.Util.getInstance(Util.java:387)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:862)
    at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1237)
    at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1232)
    at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4131)
    at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4100)
    at de.epiceric.shopchest.sql.Database$1.run(Database.java:331)
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    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: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link 
```failure

Players Can Create Shops on Protected Chests

Hello!

Thank you for the great plugin! I have one issue.

When a player has a chest within his/her land claim (GriefPrevention), other players can create a shop on it, open it, and remove the contents.

I made sure the shopchest.create.protected was removed = still didn't work
I made the permission negative = still didn't work

How can I fix this?

Thank you for your time.

two-line-hologram-lift doesn't work

Running version 1.11.1

Changing the setting two-line-hologram-lift does not change the hologram lift ingame.
I've tried setting it ingame by /shop config and manually in the config file and restarting the server.

Bug in 1.9

in Minecraft server 1.9,if you put the item in the off hand then click a sell shop ,you can unlimited sell it , plugin won't take your item.

I'm using Plugin version 1.7.3

sorry for my bad english. =-=

Use permissions to get shop limit

Hi,

I think there is a better way to get shop limit of a player by using permissions. It's simpler as it doesn't require any configuration for it, and better as server admin can configure a limit per world, per group or per player. Also it doesn't even require Vault to work.

Currently, you use this code, but take a look at ASkyBlock one.

What it does it pretty simple, it gets all current active permissions of a player (that he has or he inherits from a group), and check for those which starts by askyblock.team.maxsize. and get the number that follows.

Too lazy to do a PR, but this should work:

public int getShopLimit(Player p) {
    int limit = plugin.getShopChestConfig().default_limit;
    // Dynamic shopchest limit with permissions
    for (PermissionAttachmentInfo perms : player.getEffectivePermissions()) {
        if (perms.getPermission().startsWith("shopchest.limit.")) {
            if (perms.getPermission().contains("shopchest.limit.*")) {
                limit = -1; // <-- Change this value
                break;
            } else {
                // Get the max value should there be more than one
                String[] spl = perms.getPermission().split("shopchest.limit.");
                if (spl.length > 1) {
                    limit = Math.max(limit, Integer.valueOf(spl[1]));
                    // Do some sanity checking
                    if (limit < 1) {
                        limit = 1;
                    }
                }
            }
        }
    }
    return limit;
}

AllowDecimal:

Hello,

it's me again !
Thanks for saveinlog !

Another request:
- AllowDecimal: true/false

On my server, I use essentiels with # ##0 format (no decimal), and I don't want my user use decimal in there shop.
Do you think you could add an error when a player try /shop create 20 15.58 20.1 like:

# Define a message when a player try to user decimal:
message.shopinfo-decimal=&cYou must use integer nomber to sell items.

Thanks again,
Crea

Doesn't load shops from mysql after server start

I'm using spigot 1.10 and the latest version of the plugin, when I start the server it connects sucessfully and loads the shops correctly, but if I try to reload the plugin or enable the auto reload option it doesn't load the shops anymore (doesn't throw any errors on console) just
[ShopChest] Using locale "en_US"
[ShopChest] Successfully reloaded 0 shops.

GriefPrevention support

This is crucial to my server, as well as many others I'm sure with how unbelievably popular GriefPrevention is; so that players are unable to walk into someone else's claimed territory and set a shop on each of their chests. I will be unable to use this plugin until implemented.
Here's their official updated github https://github.com/TechFortress/GriefPrevention

The reason ChestShop was so universal, was because it didn't create the shop if the BlockPlaceEvent was canceled on placement of the creation sign; meaning any plugin which prevented users from placing signs in that location also prevented the shop from creating.

Unfortunately, that plugin is much out of date, and yours is the next best option, but due to the nature of shop creation, must support each regioning plugin manually; and yet you only support two.

Please take this into consideration.

Firework

It is not possible to sell crafted firework.

I tought you managed to save all metadata correctly? Because written books are sellable.

ShulkerBOX duplicate

If in chest sell different some shulker box, one but them shulker box will be copied buy.

I am not good at English.

Transaction notifications after player becomes online

Hello!

I might be missing something, but I haven't found a way of configuring notifications for players that were offline when someone bought/sold something from/to them. It seems that there is no way for them to be informed other than being online (I haven't tested that yet - they do get notified, right?)

So, am I missing something or could this be considered as a feature request?

Thanks in advance.

Shop limits not working

Hello!

Neither a permission "shopchest.limit.50" nor the setting "shop-limits.default" has any effect. Players can create infinite shops.

That's not very good...

Could not pass event UseBlockEvent to ShopChest

[Server thread/ERROR]: Could not pass event UseBlockEvent to ShopChest v1.11.1
org.bukkit.event.EventException
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-f950f8e-aa25753]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-f950f8e-aa25753]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at com.sk89q.worldguard.bukkit.util.Events.fireToCancel(Events.java:74) [worldguard-legacy-6.2.1-SNAPSHOT-dist.jar:?]
	at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onInventoryOpen(EventAbstractionListener.java:783) [worldguard-legacy-6.2.1-SNAPSHOT-dist.jar:?]
	at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:753) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.EntityPlayer.openContainer(EntityPlayer.java:689) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.BlockShulkerBox.interact(BlockShulkerBox.java:57) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.PlayerInteractManager.a(PlayerInteractManager.java:483) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:897) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
	at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot.jar:git-Spigot-f950f8e-aa25753]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]

[Feature] Maximum price

Since there is a minimum price feature, it would make sense to include a maximum price feature as well, in my opinion.

This has very valid usage scenarios on say, a prison server or really anything else with a delicate economy.

Console error message

Now I'm not sure, but I think this has to do with shulkerboxes.

  • Volander

[00:47:09] [Server thread/ERROR]: Could not pass event UseBlockEvent to ShopChest v1.11.1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at com.sk89q.worldguard.bukkit.util.Events.fireToCancel(Events.java:74) [worldguard-6.2.jar:?]
at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onInventoryOpen(EventAbstractionListener.java:783) [worldguard-6.2.jar:?]
at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:752) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.EntityPlayer.openContainer(EntityPlayer.java:689) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.BlockShulkerBox.interact(BlockShulkerBox.java:57) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.PlayerInteractManager.a(PlayerInteractManager.java:483) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:897) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot-1.11.jar:git-Spigot-f950f8e-b64d852]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: java.lang.ClassCastException

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.