Skript icon indicating copy to clipboard operation
Skript copied to clipboard

[BUG] " add {_cash} to the player's account " doesn't work with Essentials Eco

Open T3sT3ro opened this issue 11 years ago • 7 comments

I tried this: add {_cash} to the player's account ↑This method doesn't work, i tried to use {cash} instead of {_cash}

and this: (this is example from documentation)

add 200 to the player's account ↑This line shows that ERROR msg ↓ http://scr.hu/0g2f/4y9mn

I'm using the last version of Skript and Skript+, and EssentialsEconomy (with other plugin ie. iConomy doesn't work too)

T3sT3ro avatar Feb 24 '14 10:02 T3sT3ro

Hi T3sT3ro, did you install Vault ?

Zerkhan avatar Feb 25 '14 14:02 Zerkhan

No, I'm using Essentials Eco. Should I install it ? @EDIT Ok I've downloaded and installed Vault, error no longer occurs, but when i'm checking my balance by /bal command, my money doesn't change...

T3sT3ro avatar Feb 25 '14 18:02 T3sT3ro

Pls help ;___; tell me wat i have to do

T3sT3ro avatar Mar 02 '14 08:03 T3sT3ro

Now that you are using the latest version of Vault, the error might be different. Make sure you have the latest version of Vault first. For us to help properly assess what the issue might be, could you please post the full Skript that you are trying to use? The error might be somewhere other than this line, and it causes this one to error. Once you post it, I'll let you know once I find the solution. If it is a large Skript, you could put it in a repo if you pleased. Otherwise, you can use http://pastebin.com/ .

GrassyMoss avatar Mar 02 '14 17:03 GrassyMoss

Genius @GrassyMoss! ;)

joshwenke avatar Mar 06 '14 19:03 joshwenke

@joshwenke Was that a sarcastic or serious comment?

GrassyMoss avatar Mar 07 '14 00:03 GrassyMoss

You should check whether Essentials Eco is supported by Vault, and that {_cash} either contains a number or money.

Njol avatar Mar 07 '14 12:03 Njol