Signshop Error...
Thatotherjanitor opened this issue ยท 6 comments
I just got signshop and am currently using 2.4.0, and I am using Vault, version 1.2.20, both on my Minecraft server with Bukkit. Signshop works. I make a chest, put an item in it, make a sign with [BUY], blah details, 5. And I linked the chest then sign with redstone, and the [BUY] on the sign turns blue. This is where things go wrong. Whenever I right click on it, nothing comes up. Not even "You don't have enough money to purchase this item!". And I checked in the server console and I find this error that comes up every time I right click the sign:
00:48:46 [SEVERE] Could not pass event PlayerInteractEvent to SignShop v2.4.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177
at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:376)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:662)
at net.minecraft.server.Packet15Place.handle(SourceFile:58)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113)
at net.minecraft.server.ServerConnection.b(SourceFile:39)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NullPointerException
at net.milkbowl.vault.permission.plugins.Permission_Privileges.getPlayerGroups(Permission_Privileges.java:155
at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:610)
at org.wargamer2010.signshop.player.SignShopPlayer.getPlayerGroups(SignShopPlayer.java:163
at org.wargamer2010.signshop.player.SignShopPlayer.getPlayerPricemod(SignShopPlayer.java:175
at org.wargamer2010.signshop.util.signshopUtil.ApplyPriceMod(signshopUtil.java:422)
at org.wargamer2010.signshop.operations.takePlayerMoney.checkRequirements(takePlayerMoney.java:18
at org.wargamer2010.signshop.listeners.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:252
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 16 more
Also, I am using Mineconomy (just thought that might be important).
Ask me if you need any more details.
Thanks for any help.
~Thatotherjanitor
Fixed here: http://ci.herocraftonline.com/job/Vault/280/
Privileges was trying to load itself as simplyperms still.
It didn't work. It gave me this error:
22:38:51 [SEVERE] Could not pass event PlayerInteractEvent to SignShop v2.4.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:114)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:555)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113)
at net.minecraft.server.ServerConnection.b(SourceFile:39)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: me.mjolnir.mineconomy.exceptions.NoCurrencyException
at me.mjolnir.mineconomy.internal.MCCom.getCurrencyValue(MCCom.java:568)
at me.mjolnir.mineconomy.internal.MCCom.canExternalAfford(MCCom.java:1120)
at net.milkbowl.vault.economy.plugins.Economy_MineConomy.has(Economy_MineConomy.java:125)
at org.wargamer2010.signshop.player.SignShopPlayer.hasMoney(SignShopPlayer.java:123)
at org.wargamer2010.signshop.operations.takePlayerMoney.checkRequirements(takePlayerMoney.java:19)
at org.wargamer2010.signshop.listeners.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:252)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 16 more
So yeah, that snapshot doesn't fix it... Or maybe it does. Maybe I just stink at this type of stuff.
Also, this comes up in the console when the server is loading Vault:
22:54:24 [INFO] [Vault][Permission] hooked.
I'm back. And I updated it to 1.2.22. It still didn't work. If you need it, here's the error the server gave me this time:
16:51:07 [SEVERE] Could not pass event PlayerInteractEvent to SignShop v2.4.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:114)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:555)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113)
at net.minecraft.server.ServerConnection.b(SourceFile:39)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NullPointerException
at net.milkbowl.vault.permission.plugins.Permission_Privileges.getPlayerGroups(Permission_Privileges.java:140)
at net.milkbowl.vault.permission.Permission.getPlayerGroups(Permission.java:610)
at org.wargamer2010.signshop.player.SignShopPlayer.getPlayerGroups(SignShopPlayer.java:163)
at org.wargamer2010.signshop.player.SignShopPlayer.getPlayerPricemod(SignShopPlayer.java:175)
at org.wargamer2010.signshop.util.signshopUtil.ApplyPriceMod(signshopUtil.java:422)
at org.wargamer2010.signshop.operations.takePlayerMoney.checkRequirements(takePlayerMoney.java:18)
at org.wargamer2010.signshop.listeners.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:252)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 16 more
>
Please help me. I really love this plugin on a server I go on :(