/pay shows insufficient balance
junebug12851 opened this issue ยท 8 comments
Information
Full output of /ess version
:
[15:37:49 INFO]: Server version: 1.15.2-R0.1-SNAPSHOT git-Paper-390 (MC: 1.15.2)
[15:37:49 INFO]: EssentialsX version: 2.18.1.0
[15:37:49 INFO]: LuckPerms version: 5.1.93
[15:37:49 INFO]: PlaceholderAPI version: 2.10.9
[15:37:49 INFO]: Vault version: 1.7.3-b131
[15:37:49 INFO]: EssentialsXChat version: 2.18.1.0
[15:37:49 INFO]: EssentialsXSpawn version: 2.18.1.0
Server startup log:
https://gist.github.com/junebug12851/ca31dc6e867d93a034cb1259ac22603c
EssentialsX config:
https://gist.github.com/junebug12851/3390c6cdb59b7369160a84a949392b31
Details
Description:
/pay
doesnt work, it always shows "This transaction would exceed the balance limit for this account"
despite the balance being plenty
It works just fine for admins/ops
Here are my permissions
- essentials.pay
- essentials.pay.multiple
- essentials.payconfirmtoggle
- essentials.paytoggle
Am I missing anything or what is wrong?
You have max-money
set as 50
in your config. Either set that to the actually max money you want players to have or remove the entry in the config to set it to default (10 trillion)
This isn't a max-money
issue. If a player has a balance of 23
they can't pay even just 1
without encountering that error message. Are you saying that if anyone sets max-money
that it breaks the pay functionality for all players of any balance.
I'm not referring to getting paid, I'm referring to paying. 25-20 > 0. But like I said in the post it works for admins/op just fine, it doesn't work for regular players. If a regular player tries to pay any amount, even just 1, it errors out that they don't have enough money to pay somebody with despite that they do.
Edit: Thank you for looking into this
25 + 20 < 50 so I don't see anything wrong with that. The max money value is fairly low but it could be that there is actually a bug here somewhere. Going to re-open this until someone is actually able to properly test in-game and confirm.
@junebug12851 If you can. please try to start with a default config and adjust config values one a time to see if you can figure out what combination causes this to happen... that might save us some time with figuring out what could be wrong here.
Sounds like a possible permission issue. Can you check what permissions are being checked when your players try to run the commands vs when you do? You can do this using the verbose feature of LuckPerms.
These are the permission checks and results when running /pay
and with deny by default disabled
[02:10:17 INFO]: [LP] VB > --- - essentials.mail - true
[02:10:17 INFO]: [LP] VB > --- - essentials.pay - true
[02:10:17 INFO]: [LP] VB > --- - essentials.pay.multiple - true
[02:10:17 INFO]: [LP] VB > --- - essentials.vanish.interact - undefined
[02:10:17 INFO]: [LP] VB > --- - essentials.vanish.interact - undefined
[02:10:17 INFO]: [LP] VB > --- - essentials.eco.loan - undefined
It does a number of checks and they all pass except for 3 which should be unrelated as I'm not vanished nor having a negative balance.
I just added essentials.eco.loan
anyways to see if it works and it doesn't
These are the results when running the command as myself
[02:41:41 INFO]: [LP] VB > ---- essentials.mail - true
[02:41:41 INFO]: [LP] VB > ---- essentials.pay - true
[02:41:41 INFO]: [LP] VB > ---- essentials.pay.multiple - true
[02:41:41 INFO]: [LP] VB > ---- essentials.vanish.interact - true
[02:41:41 INFO]: [LP] VB > ---- essentials.vanish.interact - true
[02:41:41 INFO]: [LP] VB > ---- essentials.eco.loan - true