Coder Social home page Coder Social logo

quicksellwand's People

Contributors

dnx5 avatar

Watchers

 avatar

Forkers

mattw-source

quicksellwand's Issues

Current version of the plugin cannot retrieve information from ShopGUIPlus

When attempting to sell items in a chest, the error below is generated:

[15:24:20] [Server thread/INFO]: [QuickSellWand] Using 'ShopGUIPlus' as Shop Plugin
[15:24:22] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to QuickSellWand v1.0.4-SNAPSHOT
org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:228) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInteractManager.java:463) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:759) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
        at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]

Caused by: java.lang.NoSuchMethodError: net.brcdev.shopgui.ShopGuiPlugin.getPlayerManager()Lnet/brcdev/shopgui/player/PlayerManager;
        at co.aeria.quicksellwand.service.shop.ShopGUIPlusService.sell(ShopGUIPlusService.java:28) ~[?:?]
        at co.aeria.quicksellwand.listener.PlayerListener.onInteract(PlayerListener.java:103) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
        ... 17 more

The error is being generated at line 28 in ShopGUIPlusService.java.

Nothing happens when right clicking a chest with the sell wand

Server version: Paper version git-Paper-317 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)
QSW version: QuickSellWand v1.0.3-SNAPSHOT

Can give the wand now (much thanks), but when I right click (tried left also) on a chest, trapped chest, or ender chest to sell items, nothing happens. There are no messages in the chat window or server console.

The permission quicksellwand.use is given directly to the player.

(permission issues)

So I'm using UltraPermission as a permission plugin. I'm not sure what's wrong with it and given the permission
quicksellwand.use
quicksellwand.*

I am unable to sell items. But if OP'ed it worked fine.

Also, does this plugin respect claimed regions? So players don't sell someone else's chest. I'm using PresciousStones as a protection plugin rather than GriefPrevention.

Issue with /qsw command in paperspigot 1.13.1

Server version: Paper version git-Paper-317 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)
QSW version: QuickSellWand v1.0.2-SNAPSHOT

[23:25:43] [Server thread/INFO]: Magarathin issued server command: /qsw give Magarathin 150 [23:25:43] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'qsw' in plugin QuickSellWand v1.0.2-SNAPSHOT at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[patched_1.13.1.jar:git-Paper-317] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.13.1.jar:git-Paper-317] at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:729) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1769) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1573) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.1.jar:git-Paper-317] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_65] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_65] at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:434) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.1.jar:git-Paper-317] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.1.jar:git-Paper-317] at java.lang.Thread.run(Unknown Source) [?:1.8.0_65] Caused by: java.lang.IllegalArgumentException: ordinal on modern Material at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) ~[patched_1.13.1.jar:git-Paper-317] at org.bukkit.craftbukkit.v1_13_R2.util.CraftLegacy.ordinal(CraftLegacy.java:233) ~[patched_1.13.1.jar:git-Paper-317] at co.aeria.quicksellwand.utils.CompatUtils.materialIsItem(CompatUtils.java:65) ~[?:?] at co.aeria.quicksellwand.service.WandService.getNewWand(WandService.java:53) ~[?:?] at co.aeria.quicksellwand.cmd.QuickSellWandCommand.onCommand(QuickSellWandCommand.java:44) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[patched_1.13.1.jar:git-Paper-317] ... 15 more

Griefprevention

Using the plugin griefprevention, and possibly other claiming plugins, there is no setting to allow or not allow a player to bypass the claim restriction, for example, I could sell someones melon farm chests using my sell wand inside their claim without being trusted. This could also be the case for places like ASkyBlock and factions, as well as other such servers like prisons. If this could be fixed asap it would help tremendously.

Otherwise perfect plugin!

QuickSellWand changed config when restarting the server

So basically we can't sell from chest or tapped chest if using
container-types:

  • 'LEGACY_TRAPPED_CHEST'
  • 'LEGACY_CHEST'

And then I changed it to
container-types:

  • 'TRAPPED_CHEST'
  • 'CHEST'
  • 'LEGACY_TRAPPED_CHEST'
  • 'LEGACY_CHEST'

and now it works, but every time the server restarts it changed back to the default
container-types:

  • 'LEGACY_TRAPPED_CHEST'
  • 'LEGACY_CHEST'

thus making QSW not working.
Running Paper 1.13.2 - 631

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.