dnx5 / quicksellwand Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
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.
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
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
.
So basically we can't sell from chest or tapped chest if using
container-types:
And then I changed it to
container-types:
and now it works, but every time the server restarts it changed back to the default
container-types:
thus making QSW not working.
Running Paper 1.13.2 - 631
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.