I have a point system on my server and i try to save the player's point to a yml file.
But when i tried this, its broke my variable, can't add or remove points from it. even if I removed this code...
Edit: I checked in the skript variable.csv file it's saving it as string instead of double, but idk why..
But when i tried this, its broke my variable, can't add or remove points from it. even if I removed this code...
code_language.skript:
on join:
set {point.%player%} to single value "%player's UUID% - %name of player%" get of "plugins/Point/players.yml"
on quit:
set "%player's UUID% - %name of player%" to "%{point.%player%}%" in yaml file "plugins/Point/players.yml"
on every 5 minutes:
loop all players:
set "%loop-player's UUID% - %name of loop-player%" to "%{point.%loop-player%}%" in yaml file "plugins/Point/players.yml"
Edit: I checked in the skript variable.csv file it's saving it as string instead of double, but idk why..
Last edited: