SDFEconomy

8k Downloads

Towny problem - deposit into town

ThornRage opened this issue ยท 6 comments

commented

[INFO] [SDFEconomy] Failed to createPlayerAccount for player: town-Testtown @ null

This is the error I get when I try to deposit cash into a town bank using towny.

The money is taken from the player but not deposited into the town.

commented

Can you try this build and let me know if it works as expected?

commented

I have made a fork that fixes this (https://github.com/thesbros/SDFEconomy) and I would build it for you but there is dependency errors that I can not fix. If you can figure out how to build it then, well, use it. (and please send it to me because I need it for my server :/)
Just make sure that it is enabled in the config and that the name for it is set to the name of your Towny world (or just 'world' if the default world is your towny world)

commented

@omwah Yes that works perfectly. Only problem is that the town starts with 10 dollars. (Default starting money amount). I submitted a pull that should fix that (can't test it because of dependency problem (above))

commented

Here is a new build. As far as the depency problems, those should be fixed by a commit in my repo. The Vault repo had removed an earlier version that was referenced in my pom.xml.

commented

@omwah Alright, I will try building with the new commit. Otherwise, the new pull works.

commented

Thanks for your contributions.