AppleDash / SaneEconomy

Finally, a sane economy plugin for Bukkit.

Home Page:https://www.spigotmc.org/resources/saneeconomy-simple-but-featureful-economy.26223/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strange money duplication from pay command

jdkeke142 opened this issue · comments

Some of my players ended up with their money duplicated just from the /pay command and unintentionally.

Maybe it's the multiserver option that doesn't work? Since I enabled it because I have multiple servers with the goal of having shared economy, and I have noticed from a /pay that it doesn't seems to works.

I use the latest version of the plugin from github, built myself.

Can you give me a more detailed situation in which this bug occurs? eg: Player info, balances, what servers they were on, what commands were run, configuration, etc.

The pay to a player on another server of the bungeecord will produce this error on the receiver server:
https://gist.github.com/jdkeke142/ce500179f193f2b8882c8473eeaebee4

My config file looks like this:
https://gist.github.com/jdkeke142/f78505ef970edc938c6547818aa10895

About the setup, all servers share same configuration and are on the same database for SaneEconomy.

I was unable to reproduce the problem, but as I said, I'm pretty sure it's related to the pay command. We've seen players for whom the balance has literally doubled after a /pay command.

And as I said the second problem is that the update of the balance after a /pay or any transaction commands across servers does not take place, the player must change server, so basically disconnecting bukkit-wise.

I'm pretty sure the second problem is directly related to the fact that the bungee message is not handled properly on the receiver server,

Thanks for future help.

Update: It also seems to work the other way around sometimes, I have players who paid another player, they lost their money, but the receiver only got part of the first transaction and didn't get the second transaction at all.

No errors on the source server