💰 EconomyLite v2.13.0 | API 7.0

Tried to use the $ symbol in the symbol field and got:

The file:

Also after running /migrate it said complete right away but balances did not update, but the file size of the database is increasing.

Encase the $ is quotation marks, "$". The balance should have updated, are you sure you are getting the balances of the correct players?

I did /baltop and the highest were 10, but looking at the data file from the old file there was numbers way higher than that, I also checked random players and they all either have 10 or 0.

Could you please join the Gitter room so we could talk easier? Flibio/EconomyLite - Gitter

EconomyLite v2.0.2 is now available!

  • Optimzations and other fixes

:inbox_tray: Download EconomyLite

:bangbang: Issue Tracker

:pencil2: Feature Suggestions

:wrench: Source Code

:books: Docs

:heavy_dollar_sign: Support Me

1 Like

/migrate doesn’t work.
No data will move over.
I suggest that nobody update until there is a working version.

Moved back to 1.2.2 for it is working 100%.

Are there two EconomyLite folders generated in the config folder? One with some capital letters and the other with all lowercase.

Yes, correct.
I have had the secondary folder generate, restarted the server to make sure and then /migrate, /migrate yes to confirm and even restarted again to double check after seeing it hadnt worked right after using said command.

Sponge 1233
EconomyLite 2.0.2

As a fix until I release a new build, you move the data.conf to the new folder and then migrate should work.

1 Like

Thank you! :3
I’ll keep you posted

EconomyLite v2.0.3 is now available!

  • Large numbers now include commas
  • Bug fix regarding the migrate command
  • Bug fix regarding loading of the default currency
  • Added /money as an alias for /balance

:inbox_tray: Download EconomyLite

:bangbang: Issue Tracker

:pencil2: Feature Suggestions

:wrench: Source Code

:books: Docs

:heavy_dollar_sign: Support Me

So… do we have to keep the secondary “old” folder?
I migrated and the balances moved over… I had to redue the config and all but that was fine.

I turned off the server, deleted the old folder and now everyones balances are gone.

No, you don’t have to keep the old data once you migrate. Did you change currencies after the migration? Or possibly you deleted the wrong folder?

That must have been what it was, the currencies, my mistake! Thank you so much

1 Like

EDIT : solved, sorry !

Had to remove the pay permission from everyone due to this plugin allowing negative balances.
@Flibio

People were simply paying one another unlimited amounts of money.

Can you give an example of how this occurs? It should not allow any negative balances.

Alright so we tested a few things.

Test 1:

User 1 = $1 balance
User 2 = $0 balance
User 1 = /pay user2 -1
Transaction failed due to user2 having no money.

Test 2:
User 1 = $1 balance
User 2 = $1 balance
User 1 = /pay user2 -1
User 1 = received $1, user2 lost nothing.

Test 3:
User 1 = $36,000 balance
User 2 = $16,000 balance
User 1 = /pay user2 -10000
User 1 = $46,000 new balance
User 2 = $16,000 balance remains

holy that my dear @Flibio is a serious issue indeed

1 Like

Agreed.
I’d remove the .pay permission immediately.