Premium Shop - a simple, intuitive shop plugin [Paid]

Discussion in 'Resource Discussion' started by SnowGears, Jul 19, 2015.

  1. ah noob mistake thank you
     
  2. Would love to ability to put caps on how low of a price player can sell certain items to guard the economy
     
  3. Couldn't someone else just buy them out and raise the price? This happens in online games all the time.
     
  4. Hi i got a problem. After Server restart is the owner "null" on all signs. The only way to fix it is an right click as owner of this shop. after this it works fine until reboot. may be it helps:
    Code (Text):
    [18:31:35 ERROR]: Could not pass event PlayerInteractEvent to Shop v1.7.3.1
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:235) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:458) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:951) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
            at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    Caused by: java.lang.NullPointerException
            at com.snowgears.shop.listener.ShopListener.onDisplayChange(ShopListener.java:94) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2.jar:git-Spigot-3d850ec-f46ccd7]
            ... 17 more
     
     
  5. Shop loading on restart causes a lot of lag right after start up. As does /shop reload. It's about 2-3 minutes of severe slingshot lag for all players.
     
  6. Is there a way to limit the amount of shops a player can set up?
     
  7. Yep! You can use the permission shop.buildlimit.# where # is the max amount of shops you want them to be able to make.
     
    • Informative Informative x 1
  8. Hey ! Pleaz add Askyblock compatibility !!
     
  9. Hello from Germany,
    i have to report a bug. You can cheat any item of the shop gui when a server restarts.
    1. Open the gui /shop
    2. Wait until the server should restart (e. g. 6am)
    3. The items disappear a few seconds before the server stops
    4. Now you click on an "invisible" item
    5. The item drops out of the gui and you get kicked from the server
    6. After the server restarted successfully the item lays in front of you on the floor and you can pick it up.

    I hope that the bug can be confirmed and fixed!
     
  10. Thank you for the report! I will fix this by closing all inventories on a plugin reload.
     
  11. Yeah Thx, but you should fix it so that you can not move items on the gui.
    I think that's the main problem.
     
  12. Do you have any plans to upgrade to the bigger 1.13 version of Minecraft when it comes out?
     
  13. You already can not move the items on the GUI. It's only when there is a server restart and an inventory is already open, meaning it's an exploit caused by a restart and data that doesn't persist through the restart.
     
  14. Yep! An update for 1.13 will be coming!
     
    • Winner Winner x 2
  15. Everybody can create Gamble Shops? Oo Why?
     
  16. Only users who are allowed to create admin shops can create gamble shops. (Since gamble shops are inherently admin shops)
     
  17. [​IMG]

    These are the permissions. They could build a GambleShop.
     
  18. shop.create allows them to create any shop.
     
  19. Hi,

    Using your latest release with Spigot 1.12.2. When starting my server I got this error.

    [Server thread/WARN]: [Shop] Task #271 for Shop v1.7.3.1 generated an exception
    java.lang.ArrayIndexOutOfBoundsException: 0
    at net.minecraft.server.v1_12_R1.ShapelessRecipes.toBukkitRecipe(ShapelessRecipes.java:41) ~[spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at net.minecraft.server.v1_12_R1.ShapelessRecipes.toBukkitRecipe(ShapelessRecipes.java:1) ~[spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at org.bukkit.craftbukkit.v1_12_R1.inventory.RecipeIterator.next(RecipeIterator.java:30) ~[spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at org.bukkit.craftbukkit.v1_12_R1.inventory.RecipeIterator.next(RecipeIterator.java:1) ~[spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at com.snowgears.shop.display.DisplayListener$1.run(DisplayListener.java:43) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-549c1fa-2ee49b4]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

    I hope you can help with this.

    Regards
     
  20. I can suppress this warning in the next update, but I just want to make sure shop is still loading after throwing this error. Does this prevent you from loading or using the plugin in any way?