WalletDrop - Virtual money from killing...anything that moves

There’s a link to it in that page I sent

Thanks! I’ve tested your latest release, but it didnt work. I am using the latest version of spongeAPI for 1.11.2.

What didn’t work? gotta give me more to go on than that.

EDIT: I think I found the problem. delete all configs, redownload the latest and test it again.

Yes, it works. However, when I use a weapon from vic’s Modern Warfare mod to kill a zombie, your plugin cannot judge it is me that kill the zombie. In other words, you plugin may not support mod items. Could you please improve it?

If it’s not working, than the mod isn’t reporting the player was the cause of the death event. Not a lot I can do about that.

This plugin appears to be broken on 5.2. Money does not get added to ones bank account, and no message shows up after picking up the gold nuggets. I tried without the nuggets (direct to bank) and it still won’t work.

Edit: All apologies on assuming the author was not active, they are definitely very much so active! The new version (0.2.3) is still not working any better, unfortunately. I am using the latest ProjectCore (5.2.0.1.0), if that makes any difference.

Edit 2: It seems to work now! My problem was solved when I regenerated the default file (in my initial tests I kept deleting all others, but tinkering with the original.)

Does this work with api 6.1?

Where do I find PJC? Its needs it to run.

you can find it on ore (https://ore.spongepowered.org/TrenTech/ProjectCore) or on github: https://github.com/trentech/ProjectCore/releases
worked for me on api 6

1 Like

Thank you Yeah I got it working once I installed the core plugin. haha

Any updates?

[04:13:16] [Server thread/ERROR] [walletdrop]: Server$ does not match any supported currencies
[04:13:16] [Server thread/ERROR] [Sponge]: Could not pass DestructEntityEvent$Death$Impl to Plugin{id=walletdrop, name=WalletDrop, version=0.3.0, description=Money Money Money!!!, url=http://github.com/TrenTech/WalletDrop, authors=[TrenTech], source=./mods/walletdrop-7.1.0-0.3.0.jar}
java.lang.NullPointerException: null
at com.erigitic.config.TEAccount.hasBalance(TEAccount.java:106) ~[TEAccount.class:?]
at com.erigitic.config.TEAccount.getBalance(TEAccount.java:131) ~[TEAccount.class:?]
at com.erigitic.config.TEAccount.deposit(TEAccount.java:262) ~[TEAccount.class:?]
at org.spongepowered.api.service.economy.account.Account.deposit(Account.java:304) ~[Account.class:1.12.2-2705-7.1.0-BETA-3361]
at com.gmail.trentech.walletdrop.WalletDrop.depositOrWithdraw(WalletDrop.java:86) ~[WalletDrop.class:?]
at com.gmail.trentech.walletdrop.EventListener.onDestructEntityEventDeath(EventListener.java:295) ~[EventListener.class:?]
at org.spongepowered.common.event.listener.DeathListener_EventListener_onDestructEntityEventDeath244.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.12.2-2705-7.1.0-BETA-3361]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:383) [SpongeModEventManager.class:1.12.2-2705-7.1.0-BETA-3361]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:347) [SpongeModEventManager.class:1.12.2-2705-7.1.0-BETA-3361]
at org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:435) [SpongeModEventManager.class:1.12.2-2705-7.1.0-BETA-3361]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:404) [SpongeModEventManager.class:1.12.2-2705-7.1.0-BETA-3361]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:231) [SpongeImpl.class:1.12.2-2705-7.1.0-BETA-3361]
at org.spongepowered.common.event.SpongeCommonEventFactory.callDestructEntityEventDeath(SpongeCommonEventFactory.java:947) [SpongeCommonEventFactory.class:1.12.2-2705-7.1.0-BETA-3361]
at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:3295) [vp.class:?]
at net.minecraft.entity.passive.AbstractHorse.func_70645_a(AbstractHorse.java:612) [aao.class:?]
at net.minecraft.entity.passive.AbstractChestHorse.func_70645_a(SourceFile:80) [aan.class:?]
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:3588) [vp.class:?]
at net.minecraft.entity.passive.EntityAnimal.func_70097_a(SourceFile:66) [zv.class:?]
at net.minecraft.entity.passive.AbstractHorse.func_70097_a(AbstractHorse.java:236) [aao.class:?]
at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:43203) [aed.class:?]
at net.minecraft.entity.player.EntityPlayerMP.func_71059_n(EntityPlayerMP.java:1420) [oq.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:2684) [pa.class:?]
at net.minecraft.network.play.client.CPacketUseEntity.func_148833_a(SourceFile:69) [li.class:?]
at net.minecraft.network.play.client.CPacketUseEntity.func_148833_a(SourceFile:13) [li.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:92) [PacketUtil.class:1.12.2-2705-7.1.0-BETA-3361]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zle000(SourceFile:539) [hv$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:293) [SpongeImplHooks.class:1.12.2-2705-7.1.0-BETA-3361]
at net.minecraft.server.MinecraftServer.redirect$onRun$zjj000(MinecraftServer.java:3963) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]