Closed ShaneBeee closed 6 years ago
i also wanted to add.... IM SURE a part of the issue is because Skript removes the 0's after decimals in variables, but is there a way for you to force them back on?
Okay... I think I'm going to close this for now. I have a feeling this all the fault of Skript and variables, and NOTHING to do with SkVault or Vault.
I figured out a makeshift way around it with a function. Its not the prettiest but it does the job.
OKAY, maybe I am going TOTALLY insane, but here goes.
For testing sake, i had a server with Essentials and vault. if I do (lets say my balance is 100.10
command /test: trigger: send "bal: %balance of player%
it returns "bal: 100.10" then I head over to my SkEco test server, and do the same, it returns "bal: 100.1" Now I have this set up in my skripton vault currency decimals request: return 2
so i feel like it SHOULD be sending me back the correct number. but its not. (also in my baltop command it does that same thing - apparently always has i just never noticed)