-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server Economy Account doesn't pay money back to player, when selling something at an AdminShop. #385
Comments
Do you have one of the tax bypass permissions by any chance? ( |
@Phoenix616 I can't remember defining one of those two permissions. Also, I deoped myself to test the functionality. |
For some strange reason, giving our members the permission Edit: Hopefully this info helps |
That permission is only used for a check where the player needs to not have that permission, not where the player has it. It also sounds unrelated to the original issue, please open a new one and provide all the requested information. |
I had the same issue today. The |
Plugin Version
ChestShop v3.11.1-SNAPSHOT (compiled at 2020-11-11T18:55:25Z)
Plugin Config
Config
Server Version
This server is running Paper version git-Paper-262 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
Server Log
Log
What other plugins are you running?
What is happening?
Well it's not an error, but still weird.
In my economy-plugin (NovEcon2) I created a "fake-account" which represents the Central Bank (Federal Reserve in the U.S., Swiss National Bank in Switzerland). This account has a specific amount of money.
I cleared the hurdle by paying the entire amount from the admin shop to the central bank account.
I managed this with the tax function of ChestShop.
The second hurdle is that when a player sells something at the AdminShop, that the player also gets the money and it is deducted from the Central Bank account. This does not seem to work with the tax function enabled.
I don't know if this is a bug or if I implemented something wrong in my code. However, I would be happy to receive feedback on what the problem could be.
What did you expect to happen?
I expected the money to be transferred back to the player's account and the amount to be deducted from the central bank's account.
Additional context
Withdraw money by Player, OfflinePlayer and UUID.
Deposit money by Player, OfflinePlayer and UUID.
Equivalent methods inside `DatabaseModel.java`
Please ignore the check of RealbanksAPI. It's just here to withdraw money from the bankaccount, if the player hasn't enough money inside his pocket.
The text was updated successfully, but these errors were encountered: