randombyte-developer / lottery

A Sponge plugin
https://ore.spongepowered.org/RandomByte/Lottery
GNU General Public License v2.0
0 stars 1 forks source link

spongepowered/api/event/cause/NameCause #13

Closed spruill7716 closed 6 years ago

spruill7716 commented 6 years ago

When using "/lottery buy 1", I get a message saying:

Error occured while executing command: org/spongepowered/api/event/cause/NameCause

The server console spits out this: https://www.dropbox.com/s/0yx1gu6v5pq10b7/Lottery.txt?dl=0

randombyte-developer commented 6 years ago

What's the name of the lottery plugin jar file? What's the name of the sponge jar you're running?

spruill7716 commented 6 years ago

The lottery plugin has the default file name: lottery-2.0.2.jar

The sponge jar is: spongeforge-1.12.2-2655-7.1.0-BETA-3056.jar

randombyte-developer commented 6 years ago

The crash says this

java.lang.NoClassDefFoundError: org/spongepowered/api/event/cause/NamedCause 28.04 15:37:57 [Server] INFO at com.erigitic.config.TEAccount.withdraw(TEAccount.java:282)

So something with erigitic (don't know what that is) causes the actual error. It seems to be some sort of economy plugin, which crashes when lottery tries to withdraw money.

randombyte-developer commented 6 years ago

Ah, it's TotalEconomy. Please report the error on their GitHub and post a link to this issue. But first recheck that you're running TotalEconomy for your sponge version. It seems like you're using a wrong version.

spruill7716 commented 6 years ago

That was it! I was using a version that was built against API 6. Downloaded the new version and lottery is working fine. Thank you!