Command costs don't use other economy plugins
NDTurtle opened this issue ยท 0 comments
Type of bug
Compatibility issue, Other unexpected behaviour
/ess version
output
[16:23:29 INFO]: Server version: 1.17-R0.1-SNAPSHOT git-Paper-66 (MC: 1.17)
[16:23:29 INFO]: Brand version: Paper
[16:23:29 INFO]: EssentialsX version: 2.19.0-dev+188-d78729f
[16:23:29 INFO]: LuckPerms version: 5.3.48
[16:23:29 INFO]: PlaceholderAPI version: 2.10.9
[16:23:29 INFO]: Vault version: 1.7.3-b131
[16:23:29 INFO]: EssentialsXSpawn version: 2.19.0-dev+177-9d3bf33
[16:23:29 INFO]: ChestShop version: 3.12 (build 307)
[16:23:29 INFO]: Version mismatch! Please update all Essentials jars to the same version.
[16:23:29 INFO]: Fetching version information...
[16:23:29 INFO]: You're running the latest EssentialsX dev build!
Server startup log
https://paste.gg/p/anonymous/0bb631fb907140219e1e4372cc301711
EssentialsX config files
https://paste.gg/p/anonymous/084b090ae67a44aa9b67221e806815e7
Error log (if applicable)
No response
Bug description
When using a separate economy plugin, essentials will not hook into it and use it for command costs, and will instead use essentials economy. For example, if I have $100 in essentials balance and $100 in another economy plugin balance, it will take the money from essentials instead of the other plugin.
Steps to reproduce
- Install an economy plugin (for this example, gringotts)
- Give yourself some balance in gringotts.
- Set a price for a command
- Execute the command that has a cost. It will say "Insufficient funds" if you have not added money to your essentials eco balance, and if you do have sufficient funds in essentials eco, it will take from there instead of gringotts.
Expected behaviour
Essentials takes the money from gringotts.
Actual behaviour
Essentials takes the money from essentials eco.