Spigot SellChest [1.8-1.14] Automatically sell items in chests! (VoidChests) 1.1.2

A simple block that conveniently sells anything placed inside of it.

  1. hi, I just noticed players are able to place sell chests in world guard regions, but then can't break them because they don't have permission to build in regions, is there a way to stop players from being able to place them in a world guard region? i'm using the latest version of the plugin on 1.13.2
     
  2. Just wondering, when will a 1.14 fix be coming out? The only thing that seems wrong is an error when the chest is placed.
    Code (Text):
    [11:06:34 WARN]: java.lang.NoSuchMethodException: net.minecraft.server.v1_14_R1.TileEntityLootable.setCustomName(net.minecraft.server.v1_14_R1.IChatBaseComponent)
    [11:06:34 WARN]:        at java.lang.Class.getDeclaredMethod(Class.java:2130)
    [11:06:34 WARN]:        at codes.biscuit.sellchest.utils.ReflectionUtils.getMethod(ReflectionUtils.java:139)
    [11:06:34 WARN]:        at codes.biscuit.sellchest.listeners.PlayerListener.onVoidChestPlace(PlayerListener.java:110)
    [11:06:34 WARN]:        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor442.execute(Unknown Source)
    [11:06:34 WARN]:        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
    [11:06:34 WARN]:        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
    [11:06:34 WARN]:        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    [11:06:34 WARN]:        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:534)
    [11:06:34 WARN]:        at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:441)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PlayerInteractManager.a(PlayerInteractManager.java:441)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1387)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:27)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:18)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:127)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:105)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:998)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:991)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:115)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:975)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:908)
    [11:06:34 WARN]:        at java.lang.Thread.run(Thread.java:748)
    [11:06:34 WARN]: java.lang.NullPointerException
    [11:06:34 WARN]:        at codes.biscuit.sellchest.listeners.PlayerListener.onVoidChestPlace(PlayerListener.java:113)
    [11:06:34 WARN]:        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor442.execute(Unknown Source)
    [11:06:34 WARN]:        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
    [11:06:34 WARN]:        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
    [11:06:34 WARN]:        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    [11:06:34 WARN]:        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:534)
    [11:06:34 WARN]:        at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:441)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PlayerInteractManager.a(PlayerInteractManager.java:441)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1387)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:27)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:18)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:127)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:105)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:998)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:991)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:115)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:975)
    [11:06:34 WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:908)
    [11:06:34 WARN]:        at java.lang.Thread.run(Thread.java:748)
     
     
    #22 ajgeiss0702, May 22, 2019
    Last edited: May 25, 2019
  3. oh i havent really thought about 1.14, i will check it out when i get some time
     
  4. Awesome, thanks!
    For now I will just use consolespamfix to hide the error :D
     
  5. no problemo <3
     
  6. Hmm I cannot use this plugin... The command you have set is being used already, so when I type /sc give >my username< >amount<. it just types in staff chat "give >name< >amount<....
     
  7. a plugin is overriding the command- use /sellchest instead of /sc
     
  8. Yeah just found that out, my bad.
     
  9. Could you possibly add a feature for when people log back into the server?
    e.g. While you offline your sellchest earned $x

    Edit: Awesome plugin btw, players love it so far. 10/10
     
  10. alright ill try to add it when i get time
     
  11. unfortunately the process of going through all the chests and grabbing all the item prices requires a bit of processing power, i will check it over when i get time but no promises... for now i would recommend putting the sell-interval to something higher than 1 second, like 3 or 4 seconds, it will help.
     
  12. First, sorry for having asked for help in the reviews section, and second I need help the plugin sometimes gives me errors and I have to restart the server or the sellchests that were already not working.
     
  13. https://pastebin.com/c2qjEfZK
     
  14. Could you paste me the data.yml file saved? And could you send me the full error, there is a bit missing under.
     
  15. How can i use it so it works with ShopGUI+?